#include <cpuEvalLimitContext.h>
Public Member Functions | |
virtual | ~CpuEvalLimitContext () |
const Far::PatchTables::PatchArrayVector & | GetPatchArrayVector () const |
Returns the vector of patch arrays. More... | |
const std::vector < Far::PatchParam::BitField > & | GetPatchBitFields () const |
Returns the vector of per-patch parametric data. More... | |
const std::vector< unsigned int > & | GetControlVertices () const |
The ordered array of control vertex indices for all the patches. More... | |
Far::PatchTables::VertexValenceTable const & | GetVertexValenceTable () const |
Returns the vertex-valence buffer used for Gregory patch computations. More... | |
Far::PatchTables::QuadOffsetTable const & | GetQuadOffsetTable () const |
Returns the Quad-Offsets buffer used for Gregory patch computations. More... | |
std::vector< float > const & | GetFVarData () const |
Returns the face-varying data patch table. More... | |
int | GetFVarWidth () const |
Returns the number of floats in a datum of the face-varying data table. More... | |
Far::PatchMap const & | GetPatchMap () const |
Returns a map that can connect a faceId to a list of children patches. More... | |
int | GetMaxValence () const |
Returns the highest valence of the vertices in the buffers. More... | |
Public Member Functions inherited from EvalLimitContext | |
virtual | ~EvalLimitContext () |
Destructor. More... | |
Static Public Member Functions | |
static CpuEvalLimitContext * | Create (Far::PatchTables const &patchTables, bool requireFVarData=false) |
Factory Returns an EvalLimitContext from the given far patch tables. Note : the patchtables is expected to be feature-adaptive and have ptex coordinates tables. More... | |
Protected Member Functions | |
CpuEvalLimitContext (Far::PatchTables const &patchTables, bool requireFVarData) | |
Protected Member Functions inherited from EvalLimitContext | |
EvalLimitContext (Far::PatchTables const &patchTables) | |
Definition at line 43 of file cpuEvalLimitContext.h.
|
virtual |
|
explicitprotected |
|
static |
Factory Returns an EvalLimitContext from the given far patch tables. Note : the patchtables is expected to be feature-adaptive and have ptex coordinates tables.
patchTables | a pointer to an initialized Far::PatchTables |
requireFVarData | flag for generating face-varying data |
|
inline |
The ordered array of control vertex indices for all the patches.
Definition at line 72 of file cpuEvalLimitContext.h.
|
inline |
Returns the face-varying data patch table.
Definition at line 87 of file cpuEvalLimitContext.h.
|
inline |
Returns the number of floats in a datum of the face-varying data table.
Definition at line 92 of file cpuEvalLimitContext.h.
|
inline |
Returns the highest valence of the vertices in the buffers.
Definition at line 102 of file cpuEvalLimitContext.h.
|
inline |
Returns the vector of patch arrays.
Definition at line 62 of file cpuEvalLimitContext.h.
|
inline |
Returns the vector of per-patch parametric data.
Definition at line 67 of file cpuEvalLimitContext.h.
|
inline |
Returns a map that can connect a faceId to a list of children patches.
Definition at line 97 of file cpuEvalLimitContext.h.
|
inline |
Returns the Quad-Offsets buffer used for Gregory patch computations.
Definition at line 82 of file cpuEvalLimitContext.h.
|
inline |
Returns the vertex-valence buffer used for Gregory patch computations.
Definition at line 77 of file cpuEvalLimitContext.h.