31 #ifndef vtkTIFFReader_h
32 #define vtkTIFFReader_h
41 virtual
void PrintSelf(ostream& os,
vtkIndent indent);
44 virtual
int CanReadFile(const
char* fname);
49 virtual const
char* GetFileExtensions()
75 void SetOrientationType(
unsigned int orientationType);
76 vtkGetMacro(OrientationType,
unsigned int)
81 vtkGetMacro(OrientationTypeSpecifiedFlag,
bool)
86 vtkSetMacro(OriginSpecifiedFlag,
bool)
87 vtkGetMacro(OriginSpecifiedFlag,
bool)
88 vtkBooleanMacro(OriginSpecifiedFlag,
bool)
93 vtkSetMacro(SpacingSpecifiedFlag,
bool)
94 vtkGetMacro(SpacingSpecifiedFlag,
bool)
95 vtkBooleanMacro(SpacingSpecifiedFlag,
bool)
102 enum { NOFORMAT,
RGB, GRAYSCALE, PALETTE_RGB, PALETTE_GRAYSCALE, OTHER };
114 int EvaluateImageAt(T* out, T* in);
119 void GetColor(
int index,
120 unsigned short *r,
unsigned short *g,
unsigned short *b);
124 void ReadTwoSamplesPerPixelImage(
void *out,
125 unsigned int vtkNotUsed(width),
128 unsigned int GetFormat();
136 void ReadImageInternal(T* buffer);
142 void ReadVolume(T* buffer);
146 void ReadTiles(
void* buffer);
151 void ReadGenericImage(T* out,
unsigned int width,
unsigned int height);
157 template <
typename T>
158 void Process(T *outPtr,
int outExtent[6],
vtkIdType outIncr[3]);
163 template <
typename T>
164 void Process2(T *outPtr,
int *outExt);
167 class vtkTIFFReaderInternal;
169 unsigned short *ColorRed;
170 unsigned short *ColorGreen;
171 unsigned short *ColorBlue;
173 unsigned int ImageFormat;
174 vtkTIFFReaderInternal *InternalImage;
177 unsigned int OrientationType;
178 bool OrientationTypeSpecifiedFlag;
179 bool OriginSpecifiedFlag;
180 bool SpacingSpecifiedFlag;
static vtkImageReader2 * New()
a simple class to control print indentation
virtual void ExecuteInformation()
Superclass of binary file readers.
virtual const char * GetDescriptiveName()
#define VTKIOIMAGE_EXPORT
virtual void ExecuteDataWithInformation(vtkDataObject *data, vtkInformation *outInfo)
general representation of visualization data