21 #ifndef vtkImageReader_h
22 #define vtkImageReader_h
24 #include "vtkIOImageModule.h"
27 VTK_ABI_NAMESPACE_BEGIN
30 #define VTK_FILE_BYTE_ORDER_BIG_ENDIAN 0
31 #define VTK_FILE_BYTE_ORDER_LITTLE_ENDIAN 1
45 vtkSetVector6Macro(DataVOI,
int);
46 vtkGetVector6Macro(DataVOI,
int);
57 vtkGetMacro(DataMask, vtkTypeUInt64);
58 vtkSetMacro(DataMask, vtkTypeUInt64);
73 void ComputeInverseTransformedExtent(
int inExtent[6],
int outExtent[6]);
76 int OpenAndSeekFile(
int extent[6],
int slice);
82 vtkTypeInt64 ComputeStartOffset(
int dataExtent[6],
int idx);
88 vtkSetStringMacro(ScalarArrayName);
89 vtkGetStringMacro(ScalarArrayName);
92 using Superclass::CanReadFile;
112 void ComputeTransformedSpacing(
double Spacing[3]);
113 void ComputeTransformedOrigin(
double origin[3]);
114 void ComputeTransformedExtent(
int inExtent[6],
int outExtent[6]);
131 VTK_ABI_NAMESPACE_END
static vtkImageReader2 * New()
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
Superclass of transformable binary file readers.
Superclass of binary file readers.
int CanReadFile(const char *) override
vtkImageReader itself can read raw binary files.
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
general representation of visualization data