88 #ifndef vtkTIFFReader_h
89 #define vtkTIFFReader_h
131 vtkGetMacro(OrientationType,
unsigned int);
137 vtkGetMacro(OrientationTypeSpecifiedFlag,
bool);
144 vtkSetMacro(OriginSpecifiedFlag,
bool);
145 vtkGetMacro(OriginSpecifiedFlag,
bool);
146 vtkBooleanMacro(OriginSpecifiedFlag,
bool);
153 vtkSetMacro(SpacingSpecifiedFlag,
bool);
154 vtkGetMacro(SpacingSpecifiedFlag,
bool);
155 vtkBooleanMacro(SpacingSpecifiedFlag,
bool);
163 vtkSetMacro(IgnoreColorMap,
bool);
164 vtkGetMacro(IgnoreColorMap,
bool);
165 vtkBooleanMacro(IgnoreColorMap,
bool);
194 template <
typename T>
195 int EvaluateImageAt(T* out, T* in);
200 void GetColor(
int index,
unsigned short* r,
unsigned short* g,
unsigned short* b);
203 void ReadTwoSamplesPerPixelImage(
void* out,
unsigned int vtkNotUsed(width),
unsigned int height);
215 template <
typename T>
216 void ReadImageInternal(T* buffer);
221 template <
typename T>
222 void ReadVolume(T* buffer);
227 void ReadTiles(
void* buffer);
232 template <
typename T>
233 void ReadGenericImage(T* out,
unsigned int width,
unsigned int height);
238 template <
typename T>
239 void Process(T* outPtr,
int outExtent[6],
vtkIdType outIncr[3]);
244 template <
typename T>
245 void Process2(T* outPtr,
int* outExt);
247 unsigned short* ColorRed;
248 unsigned short* ColorGreen;
249 unsigned short* ColorBlue;
251 unsigned int ImageFormat;
254 unsigned int OrientationType;
255 bool OrientationTypeSpecifiedFlag;
256 bool OriginSpecifiedFlag;
257 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.
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.