60 #ifndef vtkMetaImageReader_h 61 #define vtkMetaImageReader_h 63 #include "vtkIOImageModule.h" 95 vtkGetMacro(RescaleSlope,
double);
96 vtkGetMacro(RescaleOffset,
double);
97 vtkGetMacro(BitsAllocated,
int);
98 vtkGetStringMacro(DistanceUnits);
99 vtkGetStringMacro(AnatomicalOrientation);
100 vtkGetMacro(GantryAngle,
double);
101 vtkGetStringMacro(PatientName);
102 vtkGetStringMacro(PatientID);
103 vtkGetStringMacro(Date);
104 vtkGetStringMacro(Series);
105 vtkGetStringMacro(ImageNumber);
106 vtkGetStringMacro(Modality);
107 vtkGetStringMacro(StudyID);
108 vtkGetStringMacro(StudyUID);
109 vtkGetStringMacro(TransferSyntaxUID);
180 vtkmetaio::MetaImage* MetaImagePtr;
183 char PatientName[255];
188 char ImageNumber[255];
192 char TransferSyntaxUID[255];
195 double RescaleOffset;
197 char DistanceUnits[255];
198 char AnatomicalOrientation[255];
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 int CanReadFile(const char *vtkNotUsed(fname))
Return non zero if the reader can read the given file name.
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...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
general representation of visualization data