26 #ifndef __vtkShortArray_h
27 #define __vtkShortArray_h
30 #if !defined(__vtkShortArray_cxx)
31 # define VTK_DATA_ARRAY_TEMPLATE_TYPE short
38 #define vtkDataArray vtkDataArrayTemplate<short>
56 { this->RealSuperclass::GetTupleValue(i, tuple); }
62 { this->RealSuperclass::SetTupleValue(i, tuple); }
69 { this->RealSuperclass::InsertTupleValue(i, tuple); }
76 {
return this->RealSuperclass::InsertNextTupleValue(tuple); }
82 {
return this->RealSuperclass::GetValue(
id); }
89 { this->RealSuperclass::SetValue(
id, value); }
97 { this->RealSuperclass::SetNumberOfValues(number); }
103 { this->RealSuperclass::InsertValue(
id, f); }
110 {
return this->RealSuperclass::InsertNextValue(f); }
117 {
return this->RealSuperclass::GetValueRange(comp); }
120 { this->RealSuperclass::GetValueRange(range, comp); }
128 {
return this->RealSuperclass::GetValueRange(0); }
131 { this->RealSuperclass::GetValueRange(range, 0); }
146 {
return this->RealSuperclass::WritePointer(
id, number); }
153 {
return this->RealSuperclass::GetPointer(
id); }
164 { this->RealSuperclass::SetArray(array, size, save); }
166 { this->RealSuperclass::SetArray(array, size, save, deleteMethod); }
Implementation template for vtkDataArray.
vtkIdType InsertNextTupleValue(const short *tuple)
short * WritePointer(vtkIdType id, vtkIdType number)
dynamic, self-adjusting array of short
void GetValueRange(short range[2], int comp)
vtkIdType InsertNextValue(short f)
void GetTupleValue(vtkIdType i, short *tuple)
short * GetValueRange(int comp)
void SetTupleValue(vtkIdType i, const short *tuple)
void InsertValue(vtkIdType id, short f)
void SetArray(short *array, vtkIdType size, int save, int deleteMethod)
short GetValue(vtkIdType id)
a simple class to control print indentation
abstract superclass for arrays of numeric data
void SetValue(vtkIdType id, short value)
short * GetPointer(vtkIdType id)
void InsertTupleValue(vtkIdType i, const short *tuple)
void GetValueRange(short range[2])
void SetArray(short *array, vtkIdType size, int save)
void save(Archiver &ar, const vtkVariant &variant, const unsigned int vtkNotUsed(version))
void PrintSelf(ostream &os, vtkIndent indent)
void SetNumberOfValues(vtkIdType number)
static short GetDataTypeValueMax()
static short GetDataTypeValueMin()