53 #ifndef vtkMetaImageReader_h
54 #define vtkMetaImageReader_h
56 #include "vtkIOImageModule.h"
64 VTK_ABI_NAMESPACE_BEGIN
90 vtkGetMacro(RescaleSlope,
double);
91 vtkGetMacro(RescaleOffset,
double);
92 vtkGetMacro(BitsAllocated,
int);
93 vtkGetStringMacro(DistanceUnits);
94 vtkGetStringMacro(AnatomicalOrientation);
95 vtkGetMacro(GantryAngle,
double);
96 vtkGetStringMacro(PatientName);
97 vtkGetStringMacro(PatientID);
98 vtkGetStringMacro(Date);
99 vtkGetStringMacro(Series);
100 vtkGetStringMacro(ImageNumber);
101 vtkGetStringMacro(Modality);
102 vtkGetStringMacro(StudyID);
103 vtkGetStringMacro(StudyUID);
104 vtkGetStringMacro(TransferSyntaxUID);
106 using Superclass::CanReadFile;
176 vtkmetaio::MetaImage* MetaImagePtr;
179 char PatientName[255];
184 char ImageNumber[255];
188 char TransferSyntaxUID[255];
191 double RescaleOffset;
193 char DistanceUnits[255];
194 char AnatomicalOrientation[255];
197 VTK_ABI_NAMESPACE_END
virtual int * GetDataExtent()
Get/Set the extent of the data on disk.
static vtkImageReader2 * New()
virtual int GetNumberOfScalarComponents()
Set/Get the number of scalar components.
void ExecuteDataWithInformation(vtkDataObject *data, vtkInformation *outInfo) override
This is a convenience method that is implemented in many subclasses instead of RequestData.
virtual int GetDataByteOrder()
These methods should be used instead of the SwapBytes methods.
virtual double * GetDataOrigin()
Set/Get the origin of the data (location of first pixel in the file).
virtual double * GetDataSpacing()
Set/Get the spacing of the data in the file.
a simple class to control print indentation
virtual int GetDataScalarType()
Get the file format.
virtual void ExecuteInformation()
Superclass of binary file readers.
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
virtual int CanReadFile(const char *fname)
Return non zero if the reader can read the given file name.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
general representation of visualization data