29 #ifndef __vtkUnsignedCharArray_h
30 #define __vtkUnsignedCharArray_h
33 #if !defined(__vtkUnsignedCharArray_cxx)
34 # define VTK_DATA_ARRAY_TEMPLATE_TYPE unsigned char
41 #define vtkDataArray vtkDataArrayTemplate<unsigned char>
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.
unsigned char * GetValueRange(int comp)
void InsertTupleValue(vtkIdType i, const unsigned char *tuple)
void GetValueRange(unsigned char range[2])
void SetArray(unsigned char *array, vtkIdType size, int save, int deleteMethod)
void SetArray(unsigned char *array, vtkIdType size, int save)
static unsigned char GetDataTypeValueMin()
vtkIdType InsertNextValue(unsigned char f)
unsigned char * GetPointer(vtkIdType id)
void SetTupleValue(vtkIdType i, const unsigned char *tuple)
void GetTupleValue(vtkIdType i, unsigned char *tuple)
#define VTK_UNSIGNED_CHAR_MAX
unsigned char * WritePointer(vtkIdType id, vtkIdType number)
a simple class to control print indentation
unsigned char GetValue(vtkIdType id)
void GetValueRange(unsigned char range[2], int comp)
vtkIdType InsertNextTupleValue(const unsigned char *tuple)
abstract superclass for arrays of numeric data
dynamic, self-adjusting array of unsigned char
#define VTK_UNSIGNED_CHAR
void InsertValue(vtkIdType id, unsigned char f)
void save(Archiver &ar, const vtkVariant &variant, const unsigned int vtkNotUsed(version))
unsigned char * GetValueRange()
void PrintSelf(ostream &os, vtkIndent indent)
#define VTK_UNSIGNED_CHAR_MIN
void SetNumberOfValues(vtkIdType number)
static unsigned char GetDataTypeValueMax()
void SetValue(vtkIdType id, unsigned char value)