Go to the documentation of this file.
74 #ifndef vtkMINCImageReader_h
75 #define vtkMINCImageReader_h
77 #include "vtkIOMINCModule.h"
154 virtual
void GetDataRange(
double range[2]) {
155 double *r = this->GetDataRange();
168 vtkSetMacro(TimeStep,
int);
169 vtkGetMacro(TimeStep,
int);
185 double ValidRange[2];
186 double ImageRange[2];
void ExecuteDataWithInformation(vtkDataObject *out, vtkInformation *outInfo) override
This is a convenience method that is implemented in many subclasses instead of RequestData.
const char * GetFileExtensions() override
Get the entension for this file format.
vtkMINCImageAttributes * ImageAttributes
virtual double GetRescaleSlope()
Get the slope and intercept for rescaling the scalar values to real data values.
virtual vtkMINCImageAttributes * GetImageAttributes()
Get the image attributes, which contain patient information and other useful metadata.
virtual vtkMatrix4x4 * GetDirectionCosines()
Get a matrix that describes the orientation of the data.
virtual int IndexFromDimensionName(const char *dimName)
~vtkMINCImageReader() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetFileName(const char *name) override
Set the file name.
const char * GetDescriptiveName() override
Get the name of this file format.
virtual int CloseNetCDFFile(int ncid)
vtkMatrix4x4 * DirectionCosines
virtual int OpenNetCDFFile(const char *filename, int &ncid)
#define VTK_SIZEHINT(...)
virtual int GetNumberOfTimeSteps()
Get the number of time steps in the file.
virtual void FindRangeAndRescaleValues()
a simple class to control print indentation
represent and manipulate 4x4 transformation matrices
static int ConvertMINCTypeToVTKType(int minctype, int mincsigned)
virtual double GetRescaleIntercept()
int CanReadFile(const char *name) override
Test whether the specified file can be read.
Superclass of binary file readers.
virtual double * GetDataRange()
Get the scalar range of the output from the information in the file header.
static vtkMINCImageReader * New()
dynamic, self-adjusting array of vtkIdType
vtkTypeBool RescaleRealValues
a vtkAbstractArray subclass for strings
dynamic, self-adjusting array of double
general representation of visualization data
void ExecuteInformation() override
A container for a MINC image header.
virtual int ReadMINCFileAttributes()