74 #ifndef vtkMINCImageReader_h 75 #define vtkMINCImageReader_h 77 #include "vtkIOMINCModule.h" 131 virtual double GetRescaleSlope();
132 virtual double GetRescaleIntercept();
155 double *r = this->GetDataRange();
156 range[0] = r[0]; range[1] = r[1]; };
162 virtual int GetNumberOfTimeSteps();
168 vtkSetMacro(TimeStep,
int);
169 vtkGetMacro(TimeStep,
int);
185 double ValidRange[2];
186 double ImageRange[2];
199 virtual int OpenNetCDFFile(
const char *filename,
int& ncid);
200 virtual int CloseNetCDFFile(
int ncid);
201 virtual int IndexFromDimensionName(
const char *dimName);
202 virtual int ReadMINCFileAttributes();
203 virtual void FindRangeAndRescaleValues();
204 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
void ExecuteDataWithInformation(vtkDataObject *data, vtkInformation *outInfo) override
This is a convenience method that is implemented in many subclasses instead of RequestData.
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()
#define VTK_SIZEHINT(...)
Superclass of binary file readers.
virtual void SetFileName(const char *)
Specify file name for the image file.
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
vtkTypeBool RescaleRealValues