29 #ifndef __vtkFloatArray_h
30 #define __vtkFloatArray_h
33 #if !defined(__vtkFloatArray_cxx)
34 # define VTK_DATA_ARRAY_TEMPLATE_TYPE float
37 #include "vtkCommonCoreModule.h"
42 #define vtkDataArray vtkDataArrayTemplate<float>
60 { this->RealSuperclass::GetTupleValue(i, tuple); }
66 { this->RealSuperclass::SetTupleValue(i, tuple); }
73 { this->RealSuperclass::InsertTupleValue(i, tuple); }
80 {
return this->RealSuperclass::InsertNextTupleValue(tuple); }
86 {
return this->RealSuperclass::GetValue(
id); }
93 { this->RealSuperclass::SetValue(
id, value); }
101 { this->RealSuperclass::SetNumberOfValues(number); }
107 { this->RealSuperclass::InsertValue(
id, f); }
114 {
return this->RealSuperclass::InsertNextValue(f); }
121 {
return this->RealSuperclass::GetValueRange(comp); }
124 { this->RealSuperclass::GetValueRange(range, comp); }
132 {
return this->RealSuperclass::GetValueRange(0); }
135 { this->RealSuperclass::GetValueRange(range, 0); }
150 {
return this->RealSuperclass::WritePointer(
id, number); }
157 {
return this->RealSuperclass::GetPointer(
id); }
168 { this->RealSuperclass::SetArray(array, size, save); }
170 { this->RealSuperclass::SetArray(array, size, save, deleteMethod); }
Implementation template for vtkDataArray.
void GetTupleValue(vtkIdType i, float *tuple)
dynamic, self-adjusting array of float
float * GetValueRange(int comp)
void GetValueRange(float range[2], int comp)
void SetValue(vtkIdType id, float value)
static float GetDataTypeValueMax()
vtkIdType InsertNextValue(float f)
static float GetDataTypeValueMin()
a simple class to control print indentation
void InsertTupleValue(vtkIdType i, const float *tuple)
abstract superclass for arrays of numeric data
void SetNumberOfValues(vtkIdType number)
void save(Archiver &ar, const vtkUnicodeString &str, const unsigned int vtkNotUsed(version))
void InsertValue(vtkIdType id, float f)
float GetValue(vtkIdType id)
void PrintSelf(ostream &os, vtkIndent indent)
float * WritePointer(vtkIdType id, vtkIdType number)
void GetValueRange(float range[2])
void SetArray(float *array, vtkIdType size, int save, int deleteMethod)
float * GetPointer(vtkIdType id)
void SetTupleValue(vtkIdType i, const float *tuple)
vtkIdType InsertNextTupleValue(const float *tuple)
void SetArray(float *array, vtkIdType size, int save)