17 #ifndef vtkTIFFReader_h
18 #define vtkTIFFReader_h
22 VTK_ABI_NAMESPACE_BEGIN
60 void SetOrientationType(
unsigned int orientationType);
61 vtkGetMacro(OrientationType,
unsigned int);
67 vtkGetMacro(OrientationTypeSpecifiedFlag,
bool);
74 vtkSetMacro(OriginSpecifiedFlag,
bool);
75 vtkGetMacro(OriginSpecifiedFlag,
bool);
76 vtkBooleanMacro(OriginSpecifiedFlag,
bool);
83 vtkSetMacro(SpacingSpecifiedFlag,
bool);
84 vtkGetMacro(SpacingSpecifiedFlag,
bool);
85 vtkBooleanMacro(SpacingSpecifiedFlag,
bool);
93 vtkSetMacro(IgnoreColorMap,
bool);
94 vtkGetMacro(IgnoreColorMap,
bool);
95 vtkBooleanMacro(IgnoreColorMap,
bool);
124 template <
typename T>
125 int EvaluateImageAt(T* out, T* in);
130 void GetColor(
int index,
unsigned short* r,
unsigned short* g,
unsigned short* b);
133 void ReadTwoSamplesPerPixelImage(
void* out,
unsigned int vtkNotUsed(width),
unsigned int height);
145 template <
typename T>
146 void ReadImageInternal(T* buffer);
151 template <
typename T>
152 void ReadVolume(T* buffer);
157 void ReadTiles(
void* buffer);
162 template <
typename T>
163 void ReadGenericImage(T* out,
unsigned int width,
unsigned int height);
168 template <
typename T>
169 void Process(T* outPtr,
int outExtent[6],
vtkIdType outIncr[3]);
174 template <
typename T>
175 void Process2(T* outPtr,
int* outExt);
177 unsigned short* ColorRed;
178 unsigned short* ColorGreen;
179 unsigned short* ColorBlue;
181 unsigned int ImageFormat;
184 unsigned int OrientationType;
185 bool OrientationTypeSpecifiedFlag;
186 bool OriginSpecifiedFlag;
187 bool SpacingSpecifiedFlag;
191 VTK_ABI_NAMESPACE_END
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