Documentation for vtkFloatTensors

vtkFloatTensors - floating point representation of tensor data

Super Class: vtkTensors

Description:

vtkFloatTensors is an (obsolete) concrete implementation of vtkTensors. Tensor values are represented using float values.

 

Methods:

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

float *WritePointer (const int ,const int )