31 #ifndef vtkTIFFReader_h
32 #define vtkTIFFReader_h
41 virtual
void PrintSelf(ostream& os,
vtkIndent indent);
44 virtual
int CanReadFile(const
char* fname);
49 virtual const
char* GetFileExtensions()
75 void SetOrientationType(
unsigned int orientationType);
102 enum { NOFORMAT,
RGB, GRAYSCALE, PALETTE_RGB, PALETTE_GRAYSCALE, OTHER };
114 int EvaluateImageAt(T* out, T*
in);
119 void GetColor(
int index,
120 unsigned short *
r,
unsigned short *
g,
unsigned short *
b);
124 void ReadTwoSamplesPerPixelImage(
void *out,
128 unsigned int GetFormat();
136 void ReadImageInternal(T*
buffer);
142 void ReadVolume(T*
buffer);
146 void ReadTiles(
void*
buffer);
151 void ReadGenericImage(T* out,
unsigned int width,
unsigned int height);
157 template <
typename T>
158 void Process(T *outPtr,
int outExtent[6],
vtkIdType outIncr[3]);
163 template <
typename T>
164 void Process2(T *outPtr,
int *outExt);
167 class vtkTIFFReaderInternal;
169 unsigned short *ColorRed;
170 unsigned short *ColorGreen;
171 unsigned short *ColorBlue;
173 unsigned int ImageFormat;
174 vtkTIFFReaderInternal *InternalImage;
177 unsigned int OrientationType;
178 bool OrientationTypeSpecifiedFlag;
179 bool OriginSpecifiedFlag;
180 bool SpacingSpecifiedFlag;
GLboolean GLboolean GLboolean b
static vtkImageReader2 * New()
#define vtkGetMacro(name, type)
GLdouble GLdouble GLdouble r
#define vtkTypeMacro(thisClass, superclass)
GLint GLint GLsizei GLsizei height
a simple class to control print indentation
GLint GLint GLsizei width
virtual void ExecuteInformation()
Superclass of binary file readers.
virtual const char * GetDescriptiveName()
#define vtkBooleanMacro(name, type)
#define VTKIOIMAGE_EXPORT
virtual void ExecuteDataWithInformation(vtkDataObject *data, vtkInformation *outInfo)
general representation of visualization data
#define vtkSetMacro(name, type)