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