OpenSubdiv
Loading...
Searching...
No Matches
TopologyDescriptor Struct Reference

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ TopologyDescriptor()

Member Data Documentation

◆ cornerVertexIndices

Index const* cornerVertexIndices

Definition at line 45 of file topologyDescriptor.h.

◆ cornerWeights

float const* cornerWeights

Definition at line 46 of file topologyDescriptor.h.

◆ creaseVertexIndexPairs

Index const* creaseVertexIndexPairs

Definition at line 41 of file topologyDescriptor.h.

◆ creaseWeights

float const* creaseWeights

Definition at line 42 of file topologyDescriptor.h.

◆ fvarChannels

FVarChannel const* fvarChannels

Definition at line 65 of file topologyDescriptor.h.

◆ holeIndices

Index const* holeIndices

Definition at line 49 of file topologyDescriptor.h.

◆ isLeftHanded

bool isLeftHanded

Definition at line 51 of file topologyDescriptor.h.

◆ numCorners

int numCorners

Definition at line 44 of file topologyDescriptor.h.

◆ numCreases

int numCreases

Definition at line 40 of file topologyDescriptor.h.

◆ numFaces

int numFaces

Definition at line 35 of file topologyDescriptor.h.

◆ numFVarChannels

int numFVarChannels

Definition at line 64 of file topologyDescriptor.h.

◆ numHoles

int numHoles

Definition at line 48 of file topologyDescriptor.h.

◆ numVertices

int numVertices

Definition at line 34 of file topologyDescriptor.h.

◆ numVertsPerFace

int const* numVertsPerFace

Definition at line 37 of file topologyDescriptor.h.

◆ vertIndicesPerFace

Index const* vertIndicesPerFace

Definition at line 38 of file topologyDescriptor.h.


The documentation for this struct was generated from the following file: