RixSubdivisionVertex Class Reference

An object that encapsulates a vertex on a subdivision mesh. More...

#include <RixSubdEval.h>

List of all members.

Public Member Functions

virtual int GetID ()=0
 Returns the unique ID of this vertex.
virtual int GetDataIndex ()=0
 Returns the data index of this vertex.
virtual bool GetValue (const RtToken name, int width, float *data)=0
 Requests the current value of a primitive variable attached to this vertex.
virtual bool GetValue (const RtToken name, int width, const RtToken space, float *data)=0
 Requests the current value of a primitive variable attached to this vertex.


Detailed Description

An object that encapsulates a vertex on a subdivision mesh.


Member Function Documentation

virtual int RixSubdivisionVertex::GetDataIndex  )  [pure virtual]
 

Returns the data index of this vertex.

Unlike the ID, the data index is not guaranteed to be unique. The data index may be used to index into values returned by RixSubdivisionMesh::GetPackedVertexValues.

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,
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.

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.


The documentation for this class was generated from the following file:
Generated on Mon Nov 15 10:14:34 2010 for PRManHeaders by  doxygen 1.4.6