All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CpuEvalLimitContext Class Reference

#include <cpuEvalLimitContext.h>

Inheritance diagram for CpuEvalLimitContext:
EvalLimitContext NonCopyable< EvalLimitContext >

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 CpuEvalLimitContextCreate (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)
 

Detailed Description

Definition at line 43 of file cpuEvalLimitContext.h.

Constructor & Destructor Documentation

virtual ~CpuEvalLimitContext ( )
virtual
CpuEvalLimitContext ( Far::PatchTables const &  patchTables,
bool  requireFVarData 
)
explicitprotected

Member Function Documentation

static CpuEvalLimitContext* Create ( Far::PatchTables const &  patchTables,
bool  requireFVarData = false 
)
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.

Parameters
patchTablesa pointer to an initialized Far::PatchTables
requireFVarDataflag for generating face-varying data
const std::vector<unsigned int>& GetControlVertices ( ) const
inline

The ordered array of control vertex indices for all the patches.

Definition at line 72 of file cpuEvalLimitContext.h.

std::vector<float> const& GetFVarData ( ) const
inline

Returns the face-varying data patch table.

Definition at line 87 of file cpuEvalLimitContext.h.

int GetFVarWidth ( ) const
inline

Returns the number of floats in a datum of the face-varying data table.

Definition at line 92 of file cpuEvalLimitContext.h.

int GetMaxValence ( ) const
inline

Returns the highest valence of the vertices in the buffers.

Definition at line 102 of file cpuEvalLimitContext.h.

const Far::PatchTables::PatchArrayVector& GetPatchArrayVector ( ) const
inline

Returns the vector of patch arrays.

Definition at line 62 of file cpuEvalLimitContext.h.

const std::vector<Far::PatchParam::BitField>& GetPatchBitFields ( ) const
inline

Returns the vector of per-patch parametric data.

Definition at line 67 of file cpuEvalLimitContext.h.

Far::PatchMap const& GetPatchMap ( ) const
inline

Returns a map that can connect a faceId to a list of children patches.

Definition at line 97 of file cpuEvalLimitContext.h.

Far::PatchTables::QuadOffsetTable const& GetQuadOffsetTable ( ) const
inline

Returns the Quad-Offsets buffer used for Gregory patch computations.

Definition at line 82 of file cpuEvalLimitContext.h.

Far::PatchTables::VertexValenceTable const& GetVertexValenceTable ( ) const
inline

Returns the vertex-valence buffer used for Gregory patch computations.

Definition at line 77 of file cpuEvalLimitContext.h.


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