71 #ifndef vtkMINCImageWriter_h
72 #define vtkMINCImageWriter_h
74 #include "vtkIOMINCModule.h"
116 virtual void Write();
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];
208 virtual int OpenNetCDFFile(
const char *filename,
int& ncid);
209 virtual int CloseNetCDFFile(
int ncid);
211 virtual int IndexFromDimensionName(
const char *dimName);
212 virtual void ComputePermutationFromOrientation(
int permutation[3],
214 virtual int CreateMINCDimensions(
vtkImageData *input,
int timeStep,
216 virtual int CreateMINCVariables(
vtkImageData *input,
int timeStep,
218 virtual int WriteMINCFileAttributes(
vtkImageData *input,
int timeStep);
223 virtual void FindRescale(
double &rescaleSlope,
double &rescaleIntercept);
224 virtual void FindMINCValidRange(
double range[2]);
vtkMatrix4x4 * DirectionCosines
represent and manipulate 4x4 transformation matrices
vtkStringArray * FileDimensionNames
a vtkAbstractArray subclass for strings
dynamic, self-adjusting array of vtkIdType
double InternalRescaleSlope
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to translate the update extent requests from each output port ...
dynamic, self-adjusting array of double
A container for a MINC image header.
a simple class to control print indentation
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called in response to a REQUEST_DATA request from the executive.
topologically and geometrically regular array of data
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
vtkMINCImageAttributes * ImageAttributes
virtual void Write()
The main interface which triggers the writer to start.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
virtual vtkMINCImageAttributes * GetImageAttributes()
Set the image attributes, which contain patient information and other useful metadata.
int ComputeValidRangeFromScalarRange
static vtkImageWriter * New()
virtual void SetFileName(const char *)
Specify file name for the image file.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
double InternalRescaleIntercept
int FillInputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
virtual const char * GetFileExtensions()
Get the entension for this file format.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
virtual const char * GetDescriptiveName()
Get the name of this file format.