 |
VTK
9.1.0
|
Go to the documentation of this file.
71 #ifndef vtkMINCImageReader_h
72 #define vtkMINCImageReader_h
74 #include "vtkIOMINCModule.h"
149 virtual
void GetDataRange(
double range[2])
151 double* r = this->GetDataRange();
166 vtkSetMacro(TimeStep,
int);
167 vtkGetMacro(TimeStep,
int);
183 double ValidRange[2];
184 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 extension 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.
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)
void SetFileName(VTK_FILEPATH const char *name) override
Set the file name.
#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()
Get the slope and intercept for rescaling the scalar values to real data values.
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
int CanReadFile(VTK_FILEPATH const char *name) override
Test whether the specified file can be read.
general representation of visualization data
void ExecuteInformation() override
A container for a MINC image header.
virtual int ReadMINCFileAttributes()