26 #ifndef __vtkUnsignedShortArray_h
27 #define __vtkUnsignedShortArray_h
30 #if !defined(__vtkUnsignedShortArray_cxx)
31 # define VTK_DATA_ARRAY_TEMPLATE_TYPE unsigned short
38 #define vtkDataArray vtkDataArrayTemplate<unsigned 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); }
void InsertValue(vtkIdType id, unsigned short f)
static unsigned short GetDataTypeValueMin()
Implementation template for vtkDataArray.
#define VTK_UNSIGNED_SHORT
unsigned short * GetValueRange(int comp)
unsigned short * GetValueRange()
#define VTK_UNSIGNED_SHORT_MAX
void SetValue(vtkIdType id, unsigned short value)
void GetValueRange(unsigned short range[2], int comp)
void SetArray(unsigned short *array, vtkIdType size, int save, int deleteMethod)
vtkIdType InsertNextTupleValue(const unsigned short *tuple)
void SetTupleValue(vtkIdType i, const unsigned short *tuple)
a simple class to control print indentation
unsigned short * WritePointer(vtkIdType id, vtkIdType number)
unsigned short * GetPointer(vtkIdType id)
abstract superclass for arrays of numeric data
unsigned short GetValue(vtkIdType id)
void SetArray(unsigned short *array, vtkIdType size, int save)
void InsertTupleValue(vtkIdType i, const unsigned short *tuple)
static unsigned short GetDataTypeValueMax()
#define VTK_UNSIGNED_SHORT_MIN
void SetNumberOfValues(vtkIdType number)
vtkIdType InsertNextValue(unsigned short f)
void save(Archiver &ar, const vtkVariant &variant, const unsigned int vtkNotUsed(version))
void GetValueRange(unsigned short range[2])
void PrintSelf(ostream &os, vtkIndent indent)
void GetTupleValue(vtkIdType i, unsigned short *tuple)
dynamic, self-adjusting array of unsigned short