32 #ifndef vtkTIFFReader_h
33 #define vtkTIFFReader_h
42 void PrintSelf(ostream& os,
vtkIndent indent) VTK_OVERRIDE;
47 virtual
int CanReadFile(const
char* fname);
54 virtual const
char* GetFileExtensions()
80 void SetOrientationType(
unsigned int orientationType);
81 vtkGetMacro(OrientationType,
unsigned int)
87 vtkGetMacro(OrientationTypeSpecifiedFlag,
bool)
95 vtkGetMacro(OriginSpecifiedFlag,
bool)
104 vtkGetMacro(SpacingSpecifiedFlag,
bool)
112 enum { NOFORMAT,
RGB, GRAYSCALE, PALETTE_RGB, PALETTE_GRAYSCALE, OTHER };
125 int EvaluateImageAt(T* out, T* in);
130 void GetColor(
int index,
131 unsigned short *r,
unsigned short *g,
unsigned short *b);
134 void ReadTwoSamplesPerPixelImage(
void *out,
135 unsigned int vtkNotUsed(width),
138 unsigned int GetFormat();
149 void ReadImageInternal(T* buffer);
155 void ReadVolume(T* buffer);
160 void ReadTiles(
void* buffer);
166 void ReadGenericImage(T* out,
unsigned int width,
unsigned int height);
171 template <typename T>
172 void Process(T *outPtr,
int outExtent[6],
vtkIdType outIncr[3]);
177 template <typename T>
178 void Process2(T *outPtr,
int *outExt);
180 class vtkTIFFReaderInternal;
182 unsigned short *ColorRed;
183 unsigned short *ColorGreen;
184 unsigned short *ColorBlue;
186 unsigned int ImageFormat;
187 vtkTIFFReaderInternal *InternalImage;
190 unsigned int OrientationType;
191 bool OrientationTypeSpecifiedFlag;
192 bool OriginSpecifiedFlag;
193 bool SpacingSpecifiedFlag;
static vtkImageReader2 * New()
a simple class to control print indentation
virtual void ExecuteInformation()
Superclass of binary file readers.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
virtual const char * GetDescriptiveName()
Return a descriptive name for the file format that might be useful in a GUI.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
virtual void ExecuteDataWithInformation(vtkDataObject *data, vtkInformation *outInfo)
This is a convenience method that is implemented in many subclasses instead of RequestData.
general representation of visualization data