Documentation for vtkFloatNormals

vtkFloatNormals - (obsolete)floating point representation of 3D normals

Super Class: vtkNormals

Description:

vtkFloatNormals is a concrete implementation of vtkNormals. Normals are represented using float values.

 

Methods:

static vtkFloatNormals *New ()
void vtkFloatNormals ()
void SetDataType (int )
void SetData (vtkDataArray *)
float *GetPointer (const int )
float *WritePointer (const int ,const int )

 

Detailed Method Descriptions:

Set the data type for this object.

void SetDataType (int )

Set the data for this object. Only accepts VTK_FLOAT type.

void SetData (vtkDataArray *)

Get pointer to array of data starting at data position "id".

float *GetPointer (const int )

Get pointer to data array. Useful for direct writes of data. MaxId is bumped by number (and memory allocated if necessary). Id is the location you wish to write into; number is the number of normals to write.

float *WritePointer (const int ,const int )