24 #ifndef OPENSUBDIV3_FAR_TOPOLOGY_DESCRIPTOR_H 25 #define OPENSUBDIV3_FAR_TOPOLOGY_DESCRIPTOR_H 27 #include "../version.h" 29 #include "../far/topologyRefiner.h" 30 #include "../far/topologyRefinerFactory.h" 31 #include "../far/error.h" 36 namespace OPENSUBDIV_VERSION {
124 using namespace OPENSUBDIV_VERSION;
A simple reference to raw topology data for use with TopologyRefinerFactory.
Index const * valueIndices
float const * creaseWeights
Index const * creaseVertexIndexPairs
static bool assignComponentTopology(TopologyRefiner &newRefiner, MESH const &mesh)
Specify the relationships between vertices, faces, etc. ie the face-vertices, vertex-faces,...
Index const * cornerVertexIndices
static bool assignComponentTags(TopologyRefiner &newRefiner, MESH const &mesh)
(Optional) Specify edge or vertex sharpness or face holes
static bool assignFaceVaryingTopology(TopologyRefiner &newRefiner, MESH const &mesh)
(Optional) Specify face-varying data per face
static bool resizeComponentTopology(TopologyRefiner &newRefiner, MESH const &mesh)
Specify the number of vertices, faces, face-vertices, etc.
Index const * vertIndicesPerFace
Index const * holeIndices
static void reportInvalidTopology(TopologyError errCode, char const *msg, MESH const &mesh)
(Optional) Control run-time topology validation and error reporting
float const * cornerWeights
Stores topology data for a specified set of refinement options.
FVarChannel const * fvarChannels
int const * numVertsPerFace