An object that encapsulates a subdivision mesh.
More...
#include <RixSubdEval.h>
An object that encapsulates a subdivision mesh.
Returns the face with the given ID on the mesh. Returns NULL if no face with that ID exists on the mesh.
virtual int RixSubdivisionMesh::GetNumFaces |
( |
) | |
|
|
pure virtual |
Returns the total number of faces on the mesh, including faces created through subdivision.
virtual void RixSubdivisionMesh::GetPackedVertexDataIndices |
( |
int |
depth, |
|
|
std::vector< int > & |
vertexcounts, |
|
|
std::vector< int > & |
vertices |
|
) |
| |
|
pure virtual |
Requests the number of vertices in each face in the mesh at the given depth, as well as the data indices of those vertices. The data indices are returned in packed form.
virtual bool RixSubdivisionMesh::GetPackedVertexValues |
( |
const RtToken |
name, |
|
|
int |
width, |
|
|
const RtToken |
space, |
|
|
std::vector< float > & |
data |
|
) |
| |
|
pure virtual |
Requests the current values of a primitive variable at all available vertices on the mesh. The variable cannot be a string type, and must be of detail varying, vertex, or facevarying. Returns true if the data exists with the given name and width (in floats), false otherwise. Point like data types will be transformed to the requested space.
Returns the vertex with the given ID on the mesh. Returns NULL if no face with that ID exists on the mesh.
The documentation for this class was generated from the following file: