Go to the documentation of this file.
71 #ifndef vtkMINCImageWriter_h
72 #define vtkMINCImageWriter_h
74 #include "vtkIOMINCModule.h"
141 vtkGetMacro(RescaleSlope,
double);
143 vtkGetMacro(RescaleIntercept,
double);
153 return this->ImageAttributes; };
163 vtkGetMacro(StrictValidation,
int);
171 vtkSetStringMacro(HistoryAddition);
187 int DataUpdateExtent[6];
190 double FileValidRange[2];
223 virtual void FindRescale(
double &rescaleSlope,
double &rescaleIntercept);
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
double InternalRescaleIntercept
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
double InternalRescaleSlope
virtual void SetImageAttributes(vtkMINCImageAttributes *attributes)
Set the image attributes, which contain patient information and other useful metadata.
virtual int CloseNetCDFFile(int ncid)
virtual int RequestUpdateExtent(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to translate the update extent requests from each output port ...
virtual int CreateMINCVariables(vtkImageData *input, int timeStep, int *dimids)
virtual int CreateMINCDimensions(vtkImageData *input, int timeStep, int *dimids)
virtual int WriteMINCData(vtkImageData *input, int frameNumber, int wholeExt[6], int upExt[6])
virtual void ComputePermutationFromOrientation(int permutation[3], int flip[3])
int ComputeValidRangeFromScalarRange
vtkMINCImageAttributes * ImageAttributes
vtkStringArray * FileDimensionNames
virtual void SetFileName(const char *name)
Set the file name.
virtual void SetDirectionCosines(vtkMatrix4x4 *matrix)
Set a matrix that describes the orientation of the data.
topologically and geometrically regular array of data
a simple class to control print indentation
represent and manipulate 4x4 transformation matrices
virtual const char * GetFileExtensions()
Get the entension for this file format.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called in response to a REQUEST_DATA request from the executive.
virtual int IndexFromDimensionName(const char *dimName)
virtual void Write()
Write the data.
virtual int OpenNetCDFFile(const char *filename, int &ncid)
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
virtual vtkMINCImageAttributes * GetImageAttributes()
virtual void FindRescale(double &rescaleSlope, double &rescaleIntercept)
dynamic, self-adjusting array of vtkIdType
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
virtual const char * GetDescriptiveName()
Get the name of this file format.
a vtkAbstractArray subclass for strings
dynamic, self-adjusting array of double
virtual int WriteMINCFileAttributes(vtkImageData *input, int timeStep)
vtkMatrix4x4 * DirectionCosines
A container for a MINC image header.
virtual void FindMINCValidRange(double range[2])
static vtkMINCImageWriter * New()