46#ifndef vtkImageReader_h
47#define vtkImageReader_h
49#include "vtkIOImageModule.h"
54#define VTK_FILE_BYTE_ORDER_BIG_ENDIAN 0
55#define VTK_FILE_BYTE_ORDER_LITTLE_ENDIAN 1
69 vtkSetVector6Macro(DataVOI,
int);
70 vtkGetVector6Macro(DataVOI,
int);
81 vtkGetMacro(DataMask, vtkTypeUInt64);
82 vtkSetMacro(DataMask, vtkTypeUInt64);
106 vtkSetStringMacro(ScalarArrayName);
107 vtkGetStringMacro(ScalarArrayName);
general representation of visualization data
Superclass of binary file readers.
Superclass of transformable binary file readers.
static vtkImageReader * New()
void ComputeTransformedExtent(int inExtent[6], int outExtent[6])
int CanReadFile(VTK_FILEPATH const char *) override
vtkImageReader itself can read raw binary files.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkImageReader() override
void ComputeInverseTransformedExtent(int inExtent[6], int outExtent[6])
void ComputeTransformedSpacing(double Spacing[3])
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
int OpenAndSeekFile(int extent[6], int slice)
void ExecuteDataWithInformation(vtkDataObject *data, vtkInformation *outInfo) override
This is a convenience method that is implemented in many subclasses instead of RequestData.
virtual void SetTransform(vtkTransform *)
Set/Get transformation matrix to transform the data from slice space into world space.
void ComputeTransformedOrigin(double origin[3])
void ComputeInverseTransformedIncrements(vtkIdType inIncr[3], vtkIdType outIncr[3])
void ComputeTransformedIncrements(vtkIdType inIncr[3], vtkIdType outIncr[3])
a simple class to control print indentation