38#ifndef vtkTIFFReader_h
39#define vtkTIFFReader_h
81 vtkGetMacro(OrientationType,
unsigned int);
87 vtkGetMacro(OrientationTypeSpecifiedFlag,
bool);
94 vtkSetMacro(OriginSpecifiedFlag,
bool);
95 vtkGetMacro(OriginSpecifiedFlag,
bool);
96 vtkBooleanMacro(OriginSpecifiedFlag,
bool);
103 vtkSetMacro(SpacingSpecifiedFlag,
bool);
104 vtkGetMacro(SpacingSpecifiedFlag,
bool);
105 vtkBooleanMacro(SpacingSpecifiedFlag,
bool);
113 vtkSetMacro(IgnoreColorMap,
bool);
114 vtkGetMacro(IgnoreColorMap,
bool);
115 vtkBooleanMacro(IgnoreColorMap,
bool);
144 template <
typename T>
145 int EvaluateImageAt(T* out, T* in);
150 void GetColor(
int index,
unsigned short* r,
unsigned short* g,
unsigned short* b);
153 void ReadTwoSamplesPerPixelImage(
void* out,
unsigned int vtkNotUsed(width),
unsigned int height);
155 unsigned int GetFormat();
165 template <
typename T>
166 void ReadImageInternal(T* buffer);
171 template <
typename T>
172 void ReadVolume(T* buffer);
177 void ReadTiles(
void* buffer);
182 template <
typename T>
183 void ReadGenericImage(T* out,
unsigned int width,
unsigned int height);
188 template <
typename T>
189 void Process(T* outPtr,
int outExtent[6],
vtkIdType outIncr[3]);
194 template <
typename T>
195 void Process2(T* outPtr,
int* outExt);
197 unsigned short* ColorRed;
198 unsigned short* ColorGreen;
199 unsigned short* ColorBlue;
201 unsigned int ImageFormat;
204 unsigned int OrientationType;
205 bool OrientationTypeSpecifiedFlag;
206 bool OriginSpecifiedFlag;
207 bool SpacingSpecifiedFlag;
general representation of visualization data
Superclass of binary file readers.
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.