29 #ifndef __vtkUnsignedCharArray_h
30 #define __vtkUnsignedCharArray_h
33 #if !defined(__vtkUnsignedCharArray_cxx)
34 # define VTK_DATA_ARRAY_TEMPLATE_TYPE unsigned char
37 #include "vtkCommonCoreModule.h"
42 #define vtkDataArray vtkDataArrayTemplate<unsigned char>
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.
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)
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)