85#ifndef vtkTIFFReader_h
86#define vtkTIFFReader_h
128 vtkGetMacro(OrientationType,
unsigned int);
134 vtkGetMacro(OrientationTypeSpecifiedFlag,
bool);
141 vtkSetMacro(OriginSpecifiedFlag,
bool);
142 vtkGetMacro(OriginSpecifiedFlag,
bool);
143 vtkBooleanMacro(OriginSpecifiedFlag,
bool);
150 vtkSetMacro(SpacingSpecifiedFlag,
bool);
151 vtkGetMacro(SpacingSpecifiedFlag,
bool);
152 vtkBooleanMacro(SpacingSpecifiedFlag,
bool);
160 vtkSetMacro(IgnoreColorMap,
bool);
161 vtkGetMacro(IgnoreColorMap,
bool);
162 vtkBooleanMacro(IgnoreColorMap,
bool);
191 template <
typename T>
192 int EvaluateImageAt(T* out, T* in);
197 void GetColor(
int index,
unsigned short* r,
unsigned short* g,
unsigned short* b);
200 void ReadTwoSamplesPerPixelImage(
void* out,
unsigned int vtkNotUsed(width),
unsigned int height);
212 template <
typename T>
213 void ReadImageInternal(T* buffer);
218 template <
typename T>
219 void ReadVolume(T* buffer);
224 void ReadTiles(
void* buffer);
229 template <
typename T>
230 void ReadGenericImage(T* out,
unsigned int width,
unsigned int height);
235 template <
typename T>
236 void Process(T* outPtr,
int outExtent[6],
vtkIdType outIncr[3]);
241 template <
typename T>
242 void Process2(T* outPtr,
int* outExt);
244 unsigned short* ColorRed;
245 unsigned short* ColorGreen;
246 unsigned short* ColorBlue;
248 unsigned int ImageFormat;
251 unsigned int OrientationType;
252 bool OrientationTypeSpecifiedFlag;
253 bool OriginSpecifiedFlag;
254 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.
DatabaseFormatType GetFormat(const Ioss::GroupingEntity *entity)
Given any GroupingEntity pointer, returns the format that the associated database is in.