71 #ifndef vtkMINCImageReader_h 72 #define vtkMINCImageReader_h 74 #include "vtkIOMINCModule.h" 128 virtual double GetRescaleSlope();
129 virtual double GetRescaleIntercept();
140 vtkGetMacro(RescaleRealValues,
int);
150 virtual double *GetDataRange();
152 double *r = this->GetDataRange();
153 range[0] = r[0]; range[1] = r[1]; };
159 virtual int GetNumberOfTimeSteps();
166 vtkGetMacro(TimeStep,
int);
182 double ValidRange[2];
183 double ImageRange[2];
196 virtual int OpenNetCDFFile(
const char *filename,
int& ncid);
197 virtual int CloseNetCDFFile(
int ncid);
198 virtual int IndexFromDimensionName(
const char *dimName);
199 virtual int ReadMINCFileAttributes();
200 virtual void FindRangeAndRescaleValues();
201 static int ConvertMINCTypeToVTKType(
int minctype,
int mincsigned);
represent and manipulate 4x4 transformation matrices
static vtkImageReader2 * New()
vtkMatrix4x4 * DirectionCosines
a vtkAbstractArray subclass for strings
dynamic, self-adjusting array of vtkIdType
dynamic, self-adjusting array of double
virtual int CanReadFile(const char *vtkNotUsed(fname))
Return non zero if the reader can read the given file name.
const char * GetDescriptiveName() override
Get the name of this file format.
A container for a MINC image header.
a simple class to control print indentation
virtual void ExecuteInformation()
Superclass of binary file readers.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
virtual void SetFileName(const char *)
Specify file name for the image file.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
const char * GetFileExtensions() override
Get the entension for this file format.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void GetDataRange(double range[2])
Get the scalar range of the output from the information in the file header.
general representation of visualization data
vtkMINCImageAttributes * ImageAttributes