26 #ifndef vtkTIFFReader_h
27 #define vtkTIFFReader_h
31 VTK_ABI_NAMESPACE_BEGIN
70 vtkGetMacro(OrientationType,
unsigned int);
76 vtkGetMacro(OrientationTypeSpecifiedFlag,
bool);
83 vtkSetMacro(OriginSpecifiedFlag,
bool);
84 vtkGetMacro(OriginSpecifiedFlag,
bool);
85 vtkBooleanMacro(OriginSpecifiedFlag,
bool);
92 vtkSetMacro(SpacingSpecifiedFlag,
bool);
93 vtkGetMacro(SpacingSpecifiedFlag,
bool);
94 vtkBooleanMacro(SpacingSpecifiedFlag,
bool);
102 vtkSetMacro(IgnoreColorMap,
bool);
103 vtkGetMacro(IgnoreColorMap,
bool);
104 vtkBooleanMacro(IgnoreColorMap,
bool);
133 template <
typename T>
134 int EvaluateImageAt(T* out, T* in);
139 void GetColor(
int index,
unsigned short* r,
unsigned short* g,
unsigned short* b);
142 void ReadTwoSamplesPerPixelImage(
void* out,
unsigned int vtkNotUsed(width),
unsigned int height);
154 template <
typename T>
155 void ReadImageInternal(T* buffer);
160 template <
typename T>
161 void ReadVolume(T* buffer);
166 void ReadTiles(
void* buffer);
171 template <
typename T>
172 void ReadGenericImage(T* out,
unsigned int width,
unsigned int height);
177 template <
typename T>
178 void Process(T* outPtr,
int outExtent[6],
vtkIdType outIncr[3]);
183 template <
typename T>
184 void Process2(T* outPtr,
int* outExt);
186 unsigned short* ColorRed;
187 unsigned short* ColorGreen;
188 unsigned short* ColorBlue;
190 unsigned int ImageFormat;
193 unsigned int OrientationType;
194 bool OrientationTypeSpecifiedFlag;
195 bool OriginSpecifiedFlag;
196 bool SpacingSpecifiedFlag;
200 VTK_ABI_NAMESPACE_END
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.
int CanReadFile(VTK_FILEPATH const char *fname) override
Is the given file name a tiff file?
static vtkTIFFReader * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
const char * GetFileExtensions() override
Get the file extensions for this format.
~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,...
const char * GetDescriptiveName() override
Return a descriptive name for the file format that might be useful in a GUI.
DatabaseFormatType GetFormat(const Ioss::GroupingEntity *entity)
Given any GroupingEntity pointer, returns the format that the associated database is in.