26#ifndef vtkTIFFReader_h
27#define vtkTIFFReader_h
69 vtkGetMacro(OrientationType,
unsigned int);
75 vtkGetMacro(OrientationTypeSpecifiedFlag,
bool);
82 vtkSetMacro(OriginSpecifiedFlag,
bool);
83 vtkGetMacro(OriginSpecifiedFlag,
bool);
84 vtkBooleanMacro(OriginSpecifiedFlag,
bool);
91 vtkSetMacro(SpacingSpecifiedFlag,
bool);
92 vtkGetMacro(SpacingSpecifiedFlag,
bool);
93 vtkBooleanMacro(SpacingSpecifiedFlag,
bool);
101 vtkSetMacro(IgnoreColorMap,
bool);
102 vtkGetMacro(IgnoreColorMap,
bool);
103 vtkBooleanMacro(IgnoreColorMap,
bool);
132 template <
typename T>
133 int EvaluateImageAt(T* out, T* in);
138 void GetColor(
int index,
unsigned short* r,
unsigned short* g,
unsigned short* b);
141 void ReadTwoSamplesPerPixelImage(
void* out,
unsigned int vtkNotUsed(width),
unsigned int height);
143 unsigned int GetFormat();
153 template <
typename T>
154 void ReadImageInternal(T* buffer);
159 template <
typename T>
160 void ReadVolume(T* buffer);
165 void ReadTiles(
void* buffer);
170 template <
typename T>
171 void ReadGenericImage(T* out,
unsigned int width,
unsigned int height);
176 template <
typename T>
177 void Process(T* outPtr,
int outExtent[6],
vtkIdType outIncr[3]);
182 template <
typename T>
183 void Process2(T* outPtr,
int* outExt);
185 unsigned short* ColorRed;
186 unsigned short* ColorGreen;
187 unsigned short* ColorBlue;
189 unsigned int ImageFormat;
192 unsigned int OrientationType;
193 bool OrientationTypeSpecifiedFlag;
194 bool OriginSpecifiedFlag;
195 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.