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