![]() |
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 32 of file topologyDescriptor.h.
| Index const* cornerVertexIndices |
Definition at line 45 of file topologyDescriptor.h.
| float const* cornerWeights |
Definition at line 46 of file topologyDescriptor.h.
| Index const* creaseVertexIndexPairs |
Definition at line 41 of file topologyDescriptor.h.
| float const* creaseWeights |
Definition at line 42 of file topologyDescriptor.h.
| FVarChannel const* fvarChannels |
Definition at line 65 of file topologyDescriptor.h.
| Index const* holeIndices |
Definition at line 49 of file topologyDescriptor.h.
| bool isLeftHanded |
Definition at line 51 of file topologyDescriptor.h.
| int numCorners |
Definition at line 44 of file topologyDescriptor.h.
| int numCreases |
Definition at line 40 of file topologyDescriptor.h.
| int numFaces |
Definition at line 35 of file topologyDescriptor.h.
| int numFVarChannels |
Definition at line 64 of file topologyDescriptor.h.
| int numHoles |
Definition at line 48 of file topologyDescriptor.h.
| int numVertices |
Definition at line 34 of file topologyDescriptor.h.
| int const* numVertsPerFace |
Definition at line 37 of file topologyDescriptor.h.
| Index const* vertIndicesPerFace |
Definition at line 38 of file topologyDescriptor.h.