57#ifndef vtkTIFFReader_h
58#define vtkTIFFReader_h
62VTK_ABI_NAMESPACE_BEGIN
101 vtkGetMacro(OrientationType,
unsigned int);
107 vtkGetMacro(OrientationTypeSpecifiedFlag,
bool);
114 vtkSetMacro(OriginSpecifiedFlag,
bool);
115 vtkGetMacro(OriginSpecifiedFlag,
bool);
116 vtkBooleanMacro(OriginSpecifiedFlag,
bool);
123 vtkSetMacro(SpacingSpecifiedFlag,
bool);
124 vtkGetMacro(SpacingSpecifiedFlag,
bool);
125 vtkBooleanMacro(SpacingSpecifiedFlag,
bool);
133 vtkSetMacro(IgnoreColorMap,
bool);
134 vtkGetMacro(IgnoreColorMap,
bool);
135 vtkBooleanMacro(IgnoreColorMap,
bool);
164 template <
typename T>
165 int EvaluateImageAt(T* out, T* in);
170 void GetColor(
int index,
unsigned short* r,
unsigned short* g,
unsigned short* b);
173 void ReadTwoSamplesPerPixelImage(
void* out,
unsigned int vtkNotUsed(width),
unsigned int height);
175 unsigned int GetFormat();
185 template <
typename T>
186 void ReadImageInternal(T* buffer);
191 template <
typename T>
192 void ReadVolume(T* buffer);
197 void ReadTiles(
void* buffer);
202 template <
typename T>
203 void ReadGenericImage(T* out,
unsigned int width,
unsigned int height);
208 template <
typename T>
209 void Process(T* outPtr,
int outExtent[6],
vtkIdType outIncr[3]);
214 template <
typename T>
215 void Process2(T* outPtr,
int* outExt);
217 unsigned short* ColorRed;
218 unsigned short* ColorGreen;
219 unsigned short* ColorBlue;
221 unsigned int ImageFormat;
224 unsigned int OrientationType;
225 bool OrientationTypeSpecifiedFlag;
226 bool OriginSpecifiedFlag;
227 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(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.