26 #ifndef vtkTIFFReader_h 27 #define vtkTIFFReader_h 68 void SetOrientationType(
unsigned int orientationType);
69 vtkGetMacro(OrientationType,
unsigned int);
75 vtkGetMacro(OrientationTypeSpecifiedFlag,
bool);
82 vtkSetMacro(OriginSpecifiedFlag,
bool);
83 vtkGetMacro(OriginSpecifiedFlag,
bool);
84 vtkBooleanMacro(OriginSpecifiedFlag,
bool);
91 vtkSetMacro(SpacingSpecifiedFlag,
bool);
92 vtkGetMacro(SpacingSpecifiedFlag,
bool);
93 vtkBooleanMacro(SpacingSpecifiedFlag,
bool);
101 vtkSetMacro(IgnoreColorMap,
bool);
102 vtkGetMacro(IgnoreColorMap,
bool);
103 vtkBooleanMacro(IgnoreColorMap,
bool);
132 template <
typename T>
133 int EvaluateImageAt(T* out, T* in);
138 void GetColor(
int index,
unsigned short* r,
unsigned short* g,
unsigned short* b);
141 void ReadTwoSamplesPerPixelImage(
void* out,
unsigned int vtkNotUsed(width),
unsigned int height);
143 unsigned int GetFormat();
153 template <
typename T>
154 void ReadImageInternal(T* buffer);
159 template <
typename T>
160 void ReadVolume(T* buffer);
165 void ReadTiles(
void* buffer);
170 template <
typename T>
171 void ReadGenericImage(T* out,
unsigned int width,
unsigned int height);
176 template <
typename T>
177 void Process(T* outPtr,
int outExtent[6],
vtkIdType outIncr[3]);
182 template <
typename T>
183 void Process2(T* outPtr,
int* outExt);
185 unsigned short* ColorRed;
186 unsigned short* ColorGreen;
187 unsigned short* ColorBlue;
189 unsigned int ImageFormat;
192 unsigned int OrientationType;
193 bool OrientationTypeSpecifiedFlag;
194 bool OriginSpecifiedFlag;
195 bool SpacingSpecifiedFlag;
static vtkImageReader2 * New()
const char * GetDescriptiveName() override
Return a descriptive name for the file format that might be useful in a GUI.
void ExecuteDataWithInformation(vtkDataObject *data, vtkInformation *outInfo) override
This is a convenience method that is implemented in many subclasses instead of RequestData.
virtual int CanReadFile(const char *vtkNotUsed(fname))
Return non zero if the reader can read the given file name.
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