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