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);
164 generate2ndDerivatives(false) { }
166 unsigned int generate1stDerivatives : 1,
167 generate2ndDerivatives : 1;
189 LocationArrayVec
const & locationArrays,
200 using namespace OPENSUBDIV_VERSION;
204 #endif // OPENSUBDIV3_FAR_STENCILTABLE_FACTORY_H A specialized factory for StencilTable.
Container for arrays of parametric patches.
Table of subdivision stencils.
float const * t
array of v coordinates
unsigned int generateControlVerts
generate stencils for control-vertices
A specialized factory for LimitStencilTable.
Table of limit subdivision stencils.
Vertex stencil descriptor.
static StencilTable const * Create(TopologyRefiner const &refiner, Options options=Options())
Instantiates StencilTable from TopologyRefiner that have been refined uniformly or adaptively...
Stores topology data for a specified set of refinement options.
std::vector< LocationArray > LocationArrayVec
int ptexIdx
ptex face index
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 generateOffsets
populate optional "_offsets" field
unsigned int interpolationMode
interpolation mode
unsigned int maxLevel
generate stencils up to 'maxLevel'
Descriptor for limit surface locations.
unsigned int generateIntermediateLevels
vertices at all levels or highest only
unsigned int factorizeIntermediateLevels