29 #ifndef vtkTIFFReader_h
30 #define vtkTIFFReader_h
71 void SetOrientationType(
unsigned int orientationType);
72 vtkGetMacro(OrientationType,
unsigned int);
78 vtkGetMacro(OrientationTypeSpecifiedFlag,
bool);
85 vtkSetMacro(OriginSpecifiedFlag,
bool);
86 vtkGetMacro(OriginSpecifiedFlag,
bool);
87 vtkBooleanMacro(OriginSpecifiedFlag,
bool);
94 vtkSetMacro(SpacingSpecifiedFlag,
bool);
95 vtkGetMacro(SpacingSpecifiedFlag,
bool);
96 vtkBooleanMacro(SpacingSpecifiedFlag,
bool);
104 vtkSetMacro(IgnoreColorMap,
bool);
105 vtkGetMacro(IgnoreColorMap,
bool);
106 vtkBooleanMacro(IgnoreColorMap,
bool);
135 template <
typename T>
136 int EvaluateImageAt(T* out, T* in);
141 void GetColor(
int index,
unsigned short* r,
unsigned short* g,
unsigned short* b);
144 void ReadTwoSamplesPerPixelImage(
void* out,
unsigned int vtkNotUsed(width),
unsigned int height);
156 template <
typename T>
157 void ReadImageInternal(T* buffer);
162 template <
typename T>
163 void ReadVolume(T* buffer);
168 void ReadTiles(
void* buffer);
173 template <
typename T>
174 void ReadGenericImage(T* out,
unsigned int width,
unsigned int height);
179 template <
typename T>
180 void Process(T* outPtr,
int outExtent[6],
vtkIdType outIncr[3]);
185 template <
typename T>
186 void Process2(T* outPtr,
int* outExt);
188 unsigned short* ColorRed;
189 unsigned short* ColorGreen;
190 unsigned short* ColorBlue;
192 unsigned int ImageFormat;
195 unsigned int OrientationType;
196 bool OrientationTypeSpecifiedFlag;
197 bool OriginSpecifiedFlag;
198 bool SpacingSpecifiedFlag;
static vtkImageReader2 * New()
const char * GetDescriptiveName() override
Return a descriptive name for the file format that might be useful in a GUI.
virtual int CanReadFile(VTK_FILEPATH const char *vtkNotUsed(fname))
Return non zero if the reader can read the given file name.
DatabaseFormatType GetFormat(const Ioss::GroupingEntity *entity)
Given any GroupingEntity pointer, returns the format that the associated database is in...
void ExecuteDataWithInformation(vtkDataObject *data, vtkInformation *outInfo) override
This is a convenience method that is implemented in many subclasses instead of RequestData.
a simple class to control print indentation
virtual void ExecuteInformation()
Superclass of binary file readers.
vtkTIFFReaderInternal * InternalImage
const char * GetFileExtensions() override
Get the file extensions for this format.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
general representation of visualization data