OpenSubdiv
|
A simple reference to raw topology data for use with TopologyRefinerFactory. More...
#include <topologyDescriptor.h>
Classes | |
struct | FVarChannel |
Public Member Functions | |
TopologyDescriptor () | |
Public Attributes | |
int | numVertices |
int | numFaces |
int const * | numVertsPerFace |
Index const * | vertIndicesPerFace |
int | numCreases |
Index const * | creaseVertexIndexPairs |
float const * | creaseWeights |
int | numCorners |
Index const * | cornerVertexIndices |
float const * | cornerWeights |
int | numHoles |
Index const * | holeIndices |
bool | isLeftHanded |
int | numFVarChannels |
FVarChannel const * | fvarChannels |
A simple reference to raw topology data for use with TopologyRefinerFactory.
TopologyDescriptor is a simple struct containing references to raw topology data used to construct a TopologyRefiner. It is not a requirement but a convenience for use with TopologyRefinerFactory when mesh topology is not available in an existing mesh data structure. It should be functionally complete and simple to use, but for more demanding situations, writing a custom Factory is usually warranted.
Definition at line 49 of file topologyDescriptor.h.
Index const* cornerVertexIndices |
Definition at line 62 of file topologyDescriptor.h.
float const* cornerWeights |
Definition at line 63 of file topologyDescriptor.h.
Index const* creaseVertexIndexPairs |
Definition at line 58 of file topologyDescriptor.h.
float const* creaseWeights |
Definition at line 59 of file topologyDescriptor.h.
FVarChannel const* fvarChannels |
Definition at line 82 of file topologyDescriptor.h.
Index const* holeIndices |
Definition at line 66 of file topologyDescriptor.h.
bool isLeftHanded |
Definition at line 68 of file topologyDescriptor.h.
int numCorners |
Definition at line 61 of file topologyDescriptor.h.
int numCreases |
Definition at line 57 of file topologyDescriptor.h.
int numFaces |
Definition at line 52 of file topologyDescriptor.h.
int numFVarChannels |
Definition at line 81 of file topologyDescriptor.h.
int numHoles |
Definition at line 65 of file topologyDescriptor.h.
int numVertices |
Definition at line 51 of file topologyDescriptor.h.
int const* numVertsPerFace |
Definition at line 54 of file topologyDescriptor.h.
Index const* vertIndicesPerFace |
Definition at line 55 of file topologyDescriptor.h.