25 #ifndef OPENSUBDIV3_FAR_STENCILTABLE_FACTORY_H 26 #define OPENSUBDIV3_FAR_STENCILTABLE_FACTORY_H 28 #include "../version.h" 30 #include "../far/patchTable.h" 35 namespace OPENSUBDIV_VERSION {
39 class TopologyRefiner;
44 class LimitStencilTable;
124 bool factorize =
true);
129 static void generateControlVertStencils(
int numControlVerts,
Stencil & dst);
178 LocationArrayVec
const & locationArrays,
187 using namespace OPENSUBDIV_VERSION;
191 #endif // OPENSUBDIV3_FAR_STENCILTABLE_FACTORY_H unsigned int generateControlVerts
generate stencils for control-vertices
std::vector< LocationArray > LocationArrayVec
Table of subdivision stencils.
unsigned int generateIntermediateLevels
vertices at all levels or highest only
static StencilTable const * Create(TopologyRefiner const &refiner, Options options=Options())
Instantiates StencilTable from TopologyRefiner that have been refined uniformly or adaptively...
float const * t
array of v coordinates
unsigned int interpolationMode
interpolation mode
Descriptor for limit surface locations.
int ptexIdx
ptex face index
Stores topology data for a specified set of refinement options.
static StencilTable const * AppendLocalPointStencilTable(TopologyRefiner const &refiner, StencilTable const *baseStencilTable, StencilTable const *localPointStencilTable, bool factorize=true)
Utility function for stencil splicing for local point stencils.
unsigned int factorizeIntermediateLevels
A specialized factory for StencilTable.
unsigned int maxLevel
generate stencils up to 'maxLevel'
Container for arrays of parametric patches.
unsigned int generateOffsets
populate optional "_offsets" field
Vertex stencil descriptor.
A specialized factory for LimitStencilTable.
Table of limit subdivision stencils.