29#ifndef vtkTIFFReader_h
30#define vtkTIFFReader_h
72 vtkGetMacro(OrientationType,
unsigned int);
78 vtkGetMacro(OrientationTypeSpecifiedFlag,
bool);
85 vtkSetMacro(OriginSpecifiedFlag,
bool);
86 vtkGetMacro(OriginSpecifiedFlag,
bool);
87 vtkBooleanMacro(OriginSpecifiedFlag,
bool);
94 vtkSetMacro(SpacingSpecifiedFlag,
bool);
95 vtkGetMacro(SpacingSpecifiedFlag,
bool);
96 vtkBooleanMacro(SpacingSpecifiedFlag,
bool);
104 vtkSetMacro(IgnoreColorMap,
bool);
105 vtkGetMacro(IgnoreColorMap,
bool);
106 vtkBooleanMacro(IgnoreColorMap,
bool);
135 template <
typename T>
136 int EvaluateImageAt(T* out, T* in);
141 void GetColor(
int index,
unsigned short* r,
unsigned short* g,
unsigned short* b);
144 void ReadTwoSamplesPerPixelImage(
void* out,
unsigned int vtkNotUsed(width),
unsigned int height);
146 unsigned int GetFormat();
156 template <
typename T>
157 void ReadImageInternal(T* buffer);
162 template <
typename T>
163 void ReadVolume(T* buffer);
168 void ReadTiles(
void* buffer);
173 template <
typename T>
174 void ReadGenericImage(T* out,
unsigned int width,
unsigned int height);
179 template <
typename T>
180 void Process(T* outPtr,
int outExtent[6],
vtkIdType outIncr[3]);
185 template <
typename T>
186 void Process2(T* outPtr,
int* outExt);
188 unsigned short* ColorRed;
189 unsigned short* ColorGreen;
190 unsigned short* ColorBlue;
192 unsigned int ImageFormat;
195 unsigned int OrientationType;
196 bool OrientationTypeSpecifiedFlag;
197 bool OriginSpecifiedFlag;
198 bool SpacingSpecifiedFlag;
general representation of visualization data
vtkImageReader2()
Return a descriptive name for the file format that might be useful in a GUI.
a simple class to control print indentation
vtkTIFFReaderInternal * InternalImage
void ExecuteDataWithInformation(vtkDataObject *out, vtkInformation *outInfo) override
This is a convenience method that is implemented in many subclasses instead of RequestData.
const char * GetDescriptiveName() override
Return a descriptive name for the file format that might be useful in a GUI.
int CanReadFile(VTK_FILEPATH const char *fname) override
Is the given file name a tiff file?
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkTIFFReader() override
void ExecuteInformation() override
void SetOrientationType(unsigned int orientationType)
Set orientation type ORIENTATION_TOPLEFT 1 (row 0 top, col 0 lhs) ORIENTATION_TOPRIGHT 2 (row 0 top,...
static vtkTIFFReader * New()
const char * GetFileExtensions() override
Get the file extensions for this format.