17#ifndef vtkTIFFReader_h
18#define vtkTIFFReader_h
22VTK_ABI_NAMESPACE_BEGIN
61 vtkGetMacro(OrientationType,
unsigned int);
67 vtkGetMacro(OrientationTypeSpecifiedFlag,
bool);
74 vtkSetMacro(OriginSpecifiedFlag,
bool);
75 vtkGetMacro(OriginSpecifiedFlag,
bool);
76 vtkBooleanMacro(OriginSpecifiedFlag,
bool);
83 vtkSetMacro(SpacingSpecifiedFlag,
bool);
84 vtkGetMacro(SpacingSpecifiedFlag,
bool);
85 vtkBooleanMacro(SpacingSpecifiedFlag,
bool);
93 vtkSetMacro(IgnoreColorMap,
bool);
94 vtkGetMacro(IgnoreColorMap,
bool);
95 vtkBooleanMacro(IgnoreColorMap,
bool);
124 template <
typename T>
125 int EvaluateImageAt(T* out, T* in);
130 void GetColor(
int index,
unsigned short* r,
unsigned short* g,
unsigned short* b);
133 void ReadTwoSamplesPerPixelImage(
void* out,
unsigned int vtkNotUsed(width),
unsigned int height);
135 unsigned int GetFormat();
145 template <
typename T>
146 void ReadImageInternal(T* buffer);
151 template <
typename T>
152 void ReadVolume(T* buffer);
157 void ReadTiles(
void* buffer);
162 template <
typename T>
163 void ReadGenericImage(T* out,
unsigned int width,
unsigned int height);
168 template <
typename T>
169 void Process(T* outPtr,
int outExtent[6],
vtkIdType outIncr[3]);
174 template <
typename T>
175 void Process2(T* outPtr,
int* outExt);
177 unsigned short* ColorRed;
178 unsigned short* ColorGreen;
179 unsigned short* ColorBlue;
181 unsigned int ImageFormat;
184 unsigned int OrientationType;
185 bool OrientationTypeSpecifiedFlag;
186 bool OriginSpecifiedFlag;
187 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.