18#ifndef vtkTIFFReader_h
19#define vtkTIFFReader_h
23VTK_ABI_NAMESPACE_BEGIN
62 vtkGetMacro(OrientationType,
unsigned int);
68 vtkGetMacro(OrientationTypeSpecifiedFlag,
bool);
75 vtkSetMacro(OriginSpecifiedFlag,
bool);
76 vtkGetMacro(OriginSpecifiedFlag,
bool);
77 vtkBooleanMacro(OriginSpecifiedFlag,
bool);
84 vtkSetMacro(SpacingSpecifiedFlag,
bool);
85 vtkGetMacro(SpacingSpecifiedFlag,
bool);
86 vtkBooleanMacro(SpacingSpecifiedFlag,
bool);
94 vtkSetMacro(IgnoreColorMap,
bool);
95 vtkGetMacro(IgnoreColorMap,
bool);
96 vtkBooleanMacro(IgnoreColorMap,
bool);
125 template <
typename T>
126 int EvaluateImageAt(T* out, T* in);
131 void GetColor(
int index,
unsigned short* r,
unsigned short* g,
unsigned short* b);
134 void ReadTwoSamplesPerPixelImage(
void* out,
unsigned int vtkNotUsed(width),
unsigned int height);
136 unsigned int GetFormat();
146 template <
typename T>
147 void ReadImageInternal(T* buffer);
152 template <
typename T>
153 void ReadVolume(T* buffer);
158 void ReadTiles(
void* buffer);
163 template <
typename T>
164 void ReadGenericImage(T* out,
unsigned int width,
unsigned int height);
169 template <
typename T>
170 void Process(T* outPtr,
int outExtent[6],
vtkIdType outIncr[3]);
175 template <
typename T>
176 void Process2(T* outPtr,
int* outExt);
178 unsigned short* ColorRed;
179 unsigned short* ColorGreen;
180 unsigned short* ColorBlue;
182 unsigned int ImageFormat;
185 unsigned int OrientationType;
186 bool OrientationTypeSpecifiedFlag;
187 bool OriginSpecifiedFlag;
188 bool SpacingSpecifiedFlag;
general representation of visualization data
vtkImageReader2()
Return a descriptive name for the file format that might be useful in a GUI.
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.
virtual void Initialize()