57#ifndef vtkTIFFReader_h
58#define vtkTIFFReader_h
62VTK_ABI_NAMESPACE_BEGIN
102 vtkGetMacro(OrientationType,
unsigned int);
108 vtkGetMacro(OrientationTypeSpecifiedFlag,
bool);
115 vtkSetMacro(OriginSpecifiedFlag,
bool);
116 vtkGetMacro(OriginSpecifiedFlag,
bool);
117 vtkBooleanMacro(OriginSpecifiedFlag,
bool);
124 vtkSetMacro(SpacingSpecifiedFlag,
bool);
125 vtkGetMacro(SpacingSpecifiedFlag,
bool);
126 vtkBooleanMacro(SpacingSpecifiedFlag,
bool);
134 vtkSetMacro(IgnoreColorMap,
bool);
135 vtkGetMacro(IgnoreColorMap,
bool);
136 vtkBooleanMacro(IgnoreColorMap,
bool);
165 template <
typename T>
166 int EvaluateImageAt(T* out, T* in);
171 void GetColor(
int index,
unsigned short* r,
unsigned short* g,
unsigned short* b);
174 void ReadTwoSamplesPerPixelImage(
void* out,
unsigned int vtkNotUsed(width),
unsigned int height);
176 unsigned int GetFormat();
186 template <
typename T>
187 void ReadImageInternal(T* buffer);
192 template <
typename T>
193 void ReadVolume(T* buffer);
198 void ReadTiles(
void* buffer);
203 template <
typename T>
204 void ReadGenericImage(T* out,
unsigned int width,
unsigned int height);
209 template <
typename T>
210 void Process(T* outPtr,
int outExtent[6],
vtkIdType outIncr[3]);
215 template <
typename T>
216 void Process2(T* outPtr,
int* outExt);
218 unsigned short* ColorRed;
219 unsigned short* ColorGreen;
220 unsigned short* ColorBlue;
222 unsigned int ImageFormat;
225 unsigned int OrientationType;
226 bool OrientationTypeSpecifiedFlag;
227 bool OriginSpecifiedFlag;
228 bool SpacingSpecifiedFlag;
general representation of visualization data
virtual int CanReadFile(const char *fname)
Return non zero if the reader can read the given file name.
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.