35#ifndef vtkTIFFReader_h
36#define vtkTIFFReader_h
78 vtkGetMacro(OrientationType,
unsigned int);
84 vtkGetMacro(OrientationTypeSpecifiedFlag,
bool);
91 vtkSetMacro(OriginSpecifiedFlag,
bool);
92 vtkGetMacro(OriginSpecifiedFlag,
bool);
93 vtkBooleanMacro(OriginSpecifiedFlag,
bool);
100 vtkSetMacro(SpacingSpecifiedFlag,
bool);
101 vtkGetMacro(SpacingSpecifiedFlag,
bool);
102 vtkBooleanMacro(SpacingSpecifiedFlag,
bool);
110 vtkSetMacro(IgnoreColorMap,
bool);
111 vtkGetMacro(IgnoreColorMap,
bool);
112 vtkBooleanMacro(IgnoreColorMap,
bool);
141 template <
typename T>
142 int EvaluateImageAt(T* out, T* in);
147 void GetColor(
int index,
unsigned short* r,
unsigned short* g,
unsigned short* b);
150 void ReadTwoSamplesPerPixelImage(
void* out,
unsigned int vtkNotUsed(width),
unsigned int height);
162 template <
typename T>
163 void ReadImageInternal(T* buffer);
168 template <
typename T>
169 void ReadVolume(T* buffer);
174 void ReadTiles(
void* buffer);
179 template <
typename T>
180 void ReadGenericImage(T* out,
unsigned int width,
unsigned int height);
185 template <
typename T>
186 void Process(T* outPtr,
int outExtent[6],
vtkIdType outIncr[3]);
191 template <
typename T>
192 void Process2(T* outPtr,
int* outExt);
194 unsigned short* ColorRed;
195 unsigned short* ColorGreen;
196 unsigned short* ColorBlue;
198 unsigned int ImageFormat;
201 unsigned int OrientationType;
202 bool OrientationTypeSpecifiedFlag;
203 bool OriginSpecifiedFlag;
204 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.