Rasterfarm-SDK
Loading...
Searching...
No Matches
BezierQuadratic Class Reference

#include <bezierquadratic.h>

Inheritance diagram for BezierQuadratic:
Projection

Public Types

enum  PatchDomain {
  TRIANGLES = 0 ,
  QUADS ,
  ISOLINES ,
  POINTS
}
 
enum  SpacingMode {
  EQUAL = 0 ,
  FRACTIONAL_EVEN ,
  FRACTIONAL_ODD
}
 

Public Member Functions

 BezierQuadratic (PatchDomain patchDomain, SpacingMode spacingMode, uint innerTessellationLevel, uint outerTessellationLevel, const Attribute &attribute)
 
virtual ~BezierQuadratic ()
 
virtual void create (Material *pMaterial)
 
virtual void update (Material *pMaterial)
 
virtual void addShaderResources (Material *pMaterial)
 
virtual void addShaderCode (Material *pMaterial)
 
void setInnerTessellationLevel (uint level)
 
void setOuterTessellationLevel (uint level)
 

Static Public Attributes

static constexpr const char * patchString []
 
static constexpr const char * spacingString []
 

Protected Attributes

PatchDomain patchDomain
 
SpacingMode spacingMode
 
uint innerTessellationLevel
 
uint outerTessellationLevel
 

Detailed Description

Uses tessellation to smooth lines and surfaces

Member Enumeration Documentation

◆ PatchDomain

Determines the output-primitives of the tessellation process.

Enumerator
TRIANGLES 
QUADS 
ISOLINES 
POINTS 

◆ SpacingMode

Determines the subdivision of the patch-domain.

Enumerator
EQUAL 
FRACTIONAL_EVEN 
FRACTIONAL_ODD 

Constructor & Destructor Documentation

◆ BezierQuadratic()

BezierQuadratic::BezierQuadratic ( PatchDomain patchDomain,
SpacingMode spacingMode,
uint innerTessellationLevel,
uint outerTessellationLevel,
const Attribute & attribute )
Parameters
Theoutput-primitives of the tessellation process.
Thesubdivision of the patch-domain.

◆ ~BezierQuadratic()

virtual BezierQuadratic::~BezierQuadratic ( )
virtual

Member Function Documentation

◆ addShaderCode()

virtual void BezierQuadratic::addShaderCode ( Material * pMaterial)
virtual

◆ addShaderResources()

virtual void BezierQuadratic::addShaderResources ( Material * pMaterial)
virtual

◆ create()

virtual void BezierQuadratic::create ( Material * pMaterial)
virtual

◆ setInnerTessellationLevel()

void BezierQuadratic::setInnerTessellationLevel ( uint level)

◆ setOuterTessellationLevel()

void BezierQuadratic::setOuterTessellationLevel ( uint level)

◆ update()

virtual void BezierQuadratic::update ( Material * pMaterial)
virtual

Member Data Documentation

◆ innerTessellationLevel

uint BezierQuadratic::innerTessellationLevel
protected

◆ outerTessellationLevel

uint BezierQuadratic::outerTessellationLevel
protected

◆ patchDomain

PatchDomain BezierQuadratic::patchDomain
protected

◆ patchString

const char* BezierQuadratic::patchString[]
staticconstexpr
Initial value:
= { "triangles",
"quads",
"isolines",
"point_mode" }

◆ spacingMode

SpacingMode BezierQuadratic::spacingMode
protected

◆ spacingString

const char* BezierQuadratic::spacingString[]
staticconstexpr
Initial value:
= { "equal_spacing",
"fractional_even_spacing",
"fractional_odd_spacing" }

The documentation for this class was generated from the following file: