Documentation for vtkFloatScalars

vtkFloatScalars - (obsolete)floating point representation of scalars

Super Class: vtkScalars

Description:

vtkFloatScalars is an (obsolete) concrete implementation of vtkScalars. Scalars coordinates are represented using float values.

 

Methods:

static vtkFloatScalars *New ()
void vtkFloatScalars ()
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 scalars to write.

float *WritePointer (const int ,const int )