56#ifndef vtkTIFFReader_h
57#define vtkTIFFReader_h
61VTK_ABI_NAMESPACE_BEGIN
100 vtkGetMacro(OrientationType,
unsigned int);
106 vtkGetMacro(OrientationTypeSpecifiedFlag,
bool);
113 vtkSetMacro(OriginSpecifiedFlag,
bool);
114 vtkGetMacro(OriginSpecifiedFlag,
bool);
115 vtkBooleanMacro(OriginSpecifiedFlag,
bool);
122 vtkSetMacro(SpacingSpecifiedFlag,
bool);
123 vtkGetMacro(SpacingSpecifiedFlag,
bool);
124 vtkBooleanMacro(SpacingSpecifiedFlag,
bool);
132 vtkSetMacro(IgnoreColorMap,
bool);
133 vtkGetMacro(IgnoreColorMap,
bool);
134 vtkBooleanMacro(IgnoreColorMap,
bool);
163 template <
typename T>
164 int EvaluateImageAt(T* out, T* in);
169 void GetColor(
int index,
unsigned short* r,
unsigned short* g,
unsigned short* b);
172 void ReadTwoSamplesPerPixelImage(
void* out,
unsigned int vtkNotUsed(width),
unsigned int height);
174 unsigned int GetFormat();
184 template <
typename T>
185 void ReadImageInternal(T* buffer);
190 template <
typename T>
191 void ReadVolume(T* buffer);
196 void ReadTiles(
void* buffer);
201 template <
typename T>
202 void ReadGenericImage(T* out,
unsigned int width,
unsigned int height);
207 template <
typename T>
208 void Process(T* outPtr,
int outExtent[6],
vtkIdType outIncr[3]);
213 template <
typename T>
214 void Process2(T* outPtr,
int* outExt);
216 unsigned short* ColorRed;
217 unsigned short* ColorGreen;
218 unsigned short* ColorBlue;
220 unsigned int ImageFormat;
223 unsigned int OrientationType;
224 bool OrientationTypeSpecifiedFlag;
225 bool OriginSpecifiedFlag;
226 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.