29 #ifndef __vtkFloatArray_h
30 #define __vtkFloatArray_h
33 #if !defined(__vtkFloatArray_cxx)
34 # define VTK_DATA_ARRAY_TEMPLATE_TYPE float
41 #define vtkDataArray vtkDataArrayTemplate<float>
59 { this->RealSuperclass::GetTupleValue(i, tuple); }
65 { this->RealSuperclass::SetTupleValue(i, tuple); }
72 { this->RealSuperclass::InsertTupleValue(i, tuple); }
79 {
return this->RealSuperclass::InsertNextTupleValue(tuple); }
85 {
return this->RealSuperclass::GetValue(
id); }
92 { this->RealSuperclass::SetValue(
id, value); }
100 { this->RealSuperclass::SetNumberOfValues(number); }
106 { this->RealSuperclass::InsertValue(
id, f); }
113 {
return this->RealSuperclass::InsertNextValue(f); }
120 {
return this->RealSuperclass::GetValueRange(comp); }
123 { this->RealSuperclass::GetValueRange(range, comp); }
131 {
return this->RealSuperclass::GetValueRange(0); }
134 { this->RealSuperclass::GetValueRange(range, 0); }
149 {
return this->RealSuperclass::WritePointer(
id, number); }
156 {
return this->RealSuperclass::GetPointer(
id); }
167 { this->RealSuperclass::SetArray(array, size, save); }
169 { 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 InsertValue(vtkIdType id, float f)
float GetValue(vtkIdType id)
void save(Archiver &ar, const vtkVariant &variant, const unsigned int vtkNotUsed(version))
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)