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"
35 namespace OpenSubdiv {
36 namespace OPENSUBDIV_VERSION {
124 using namespace OPENSUBDIV_VERSION;
Index const * valueIndices
static bool assignComponentTopology(TopologyRefiner &newRefiner, MESH const &mesh)
Specify the relationships between vertices, faces, etc. ie the face-vertices, vertex-faces, edge-vertices, etc.
float const * cornerWeights
static bool assignComponentTags(TopologyRefiner &newRefiner, MESH const &mesh)
(Optional) Specify edge or vertex sharpness or face holes
Stores topology data for a specified set of refinement options.
static bool resizeComponentTopology(TopologyRefiner &newRefiner, MESH const &mesh)
Specify the number of vertices, faces, face-vertices, etc.
Index const * holeIndices
int const * numVertsPerFace
float const * creaseWeights
FVarChannel const * fvarChannels
Index const * cornerVertexIndices
static bool assignFaceVaryingTopology(TopologyRefiner &newRefiner, MESH const &mesh)
(Optional) Specify face-varying data per face
Index const * creaseVertexIndexPairs
Index const * vertIndicesPerFace
A simple reference to raw topology data for use with TopologyRefinerFactory.
static void reportInvalidTopology(TopologyError errCode, char const *msg, MESH const &mesh)
(Optional) Control run-time topology validation and error reporting