An object that encapsulates a vertex on a subdivision mesh.
More...
#include <RixSubdEval.h>
|
virtual int | GetID ()=0 |
|
virtual int | GetDataIndex ()=0 |
|
virtual bool | GetValue (const RtToken name, int width, float *data)=0 |
|
virtual bool | GetValue (const RtToken name, int width, const RtToken space, float *data)=0 |
|
An object that encapsulates a vertex on a subdivision mesh.
virtual int RixSubdivisionVertex::GetDataIndex |
( |
) | |
|
|
pure virtual |
virtual int RixSubdivisionVertex::GetID |
( |
) | |
|
|
pure virtual |
Returns the unique ID of this vertex. The ID is guaranteed to be unique amongst all other vertices present on the mesh.
virtual bool RixSubdivisionVertex::GetValue |
( |
const RtToken |
name, |
|
|
int |
width, |
|
|
float * |
data |
|
) |
| |
|
pure virtual |
Requests the current value of a primitive variable attached to this vertex. The variable cannot be a string, uniform, or facevarying detail; it can only be constant, varying, or vertex. (For uniform and facevarying variables, you must use RixSubdivisionFace methods.) Returns true if the data exists with the given name and width (in floats) and is of allowable type, false otherwise. Point-like data types will be returned in camera space.
virtual bool RixSubdivisionVertex::GetValue |
( |
const RtToken |
name, |
|
|
int |
width, |
|
|
const RtToken |
space, |
|
|
float * |
data |
|
) |
| |
|
pure virtual |
Requests the current value of a primitive variable attached to this vertex. The variable cannot be a string, uniform, or facevarying detail; it can only be constant, varying, or vertex. (For uniform and facevarying variables, you must use RixSubdivisionFace methods.) Returns true if the data exists with the given name and width (in floats) and is of allowable type, false otherwise. Point-like data types will be transformed to the requested space.
The documentation for this class was generated from the following file: