25 #ifndef OPENSUBDIV3_FAR_PATCH_TABLE_FACTORY_H 26 #define OPENSUBDIV3_FAR_PATCH_TABLE_FACTORY_H 28 #include "../version.h" 30 #include "../far/patchTable.h" 33 namespace OPENSUBDIV_VERSION {
38 class TopologyRefiner;
160 using namespace OPENSUBDIV_VERSION;
unsigned int triangulateQuads
Triangulate 'QUADS' primitives (Uniform mode only)
use legacy (2.x) Gregory patches (4 cp + valence table) as end-caps
void assignBoundaryPropertiesFromVertexMask(int boundaryVertexMask)
unsigned int shareEndCapPatchPoints
unsigned int _boundaryIndex
static PatchTable * Create(TopologyRefiner const &refiner, Options options=Options())
Instantiates a PatchTable from a client-provided TopologyRefiner.
unsigned int generateFVarLegacyLinearPatches
Generate all linear face-varying patches (legacy)
unsigned int generateAllLevels
Include levels from 'firstLevel' to 'maxLevel' (Uniform mode only)
unsigned int _transitionMask
std::vector< PatchFaceTag > PatchTagVector
Public options for the PatchTable factory.
int const * fvarChannelIndices
List containing the indices of the channels selected for the factory.
Container for arrays of parametric patches.
void SetEndCapType(EndCapType e)
Set endcap patch type.
void assignTransitionPropertiesFromEdgeMask(int boundaryVertexMask)
unsigned int useInfSharpPatch
Use infinitely-sharp patch.
void assignBoundaryPropertiesFromEdgeMask(int boundaryEdgeMask)
unsigned int endCapType
EndCapType.
use BSpline basis patches (16 cp) as end-caps
int numFVarChannels
Number of channel indices and interpolation modes passed.
unsigned int _hasBoundaryEdge
unsigned int useSingleCreasePatch
Use single crease patch.
Factory for constructing a PatchTable from a TopologyRefiner.
unsigned int maxIsolationLevel
Cap adaptive feature isolation to the given level (max. 10)
Stores topology data for a specified set of refinement options.
unsigned int _boundaryCount
use bilinear quads (4 cp) as end-caps
Options(unsigned int maxIsolation=10)
unsigned int generateLegacySharpCornerPatches
Generate sharp regular patches at smooth corners (legacy)
use Gregory basis patches (20 cp) as end-caps
unsigned int _boundaryMask
unsigned int _isSingleCrease
unsigned int generateFVarTables
Generate face-varying patch tables.
EndCapType GetEndCapType() const
Get endcap patch type.