27 #ifndef vtkMINCImageWriter_h
28 #define vtkMINCImageWriter_h
30 #include "vtkIOMINCModule.h"
33 VTK_ABI_NAMESPACE_BEGIN
71 void Write()
override;
95 vtkSetMacro(RescaleSlope,
double);
96 vtkGetMacro(RescaleSlope,
double);
97 vtkSetMacro(RescaleIntercept,
double);
98 vtkGetMacro(RescaleIntercept,
double);
125 vtkSetStringMacro(HistoryAddition);
126 vtkGetStringMacro(HistoryAddition);
141 int DataUpdateExtent[6];
144 double FileValidRange[2];
162 virtual int OpenNetCDFFile(
const char* filename,
int& ncid);
163 virtual int CloseNetCDFFile(
int ncid);
165 virtual int IndexFromDimensionName(
const char* dimName);
166 virtual void ComputePermutationFromOrientation(
int permutation[3],
int flip[3]);
167 virtual int CreateMINCDimensions(
vtkImageData* input,
int timeStep,
int* dimids);
168 virtual int CreateMINCVariables(
vtkImageData* input,
int timeStep,
int* dimids);
169 virtual int WriteMINCFileAttributes(
vtkImageData* input,
int timeStep);
170 virtual int WriteMINCData(
vtkImageData* input,
int frameNumber,
int wholeExt[6],
int upExt[6]);
171 virtual void FindRescale(
double& rescaleSlope,
double& rescaleIntercept);
172 virtual void FindMINCValidRange(
double range[2]);
190 VTK_ABI_NAMESPACE_END
vtkMatrix4x4 * DirectionCosines
vtkTypeBool StrictValidation
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.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
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.
virtual vtkMINCImageAttributes * GetImageAttributes()
Set the image attributes, which contain patient information and other useful metadata.
int ComputeValidRangeFromScalarRange
static vtkImageWriter * New()
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 extension for this file format.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called in response to a REQUEST_DATA request from the executive.
virtual const char * GetDescriptiveName()
Get the name of this file format.