39 #ifndef VTKLOOKUPTABLE16_H
40 #define VTKLOOKUPTABLE16_H
42 #include "vtkLookupTable.h"
43 #include "vtkUnsignedShortArray.h"
57 unsigned char *WritePointer(
const vtkIdType
id,
const int number);
60 return this->Table16->GetPointer(4*
id); };
69 unsigned char *output,
85 return (
unsigned char*)this->
Table16->WritePointer(4*
id,4*number);
vtkLookupTable16(int sze=256, int ext=256)
unsigned char * WritePointer(const vtkIdType id, const int number)
void MapScalarsThroughTable2(void *input, unsigned char *output, int inputDataType, int numberOfValues, int inputIncrement, int outputFormat)
void PrintSelf(ostream &os, vtkIndent indent)
vtkUnsignedShortArray * Table16
void SetNumberOfTableValues(vtkIdType number)
static vtkLookupTable16 * New()
unsigned short * GetPointer(const vtkIdType id)