 |
VTK
9.0.1
|
Go to the documentation of this file.
68 #ifndef vtkMINCImageWriter_h
69 #define vtkMINCImageWriter_h
71 #include "vtkIOMINCModule.h"
111 void Write()
override;
135 vtkSetMacro(RescaleSlope,
double);
136 vtkGetMacro(RescaleSlope,
double);
137 vtkSetMacro(RescaleIntercept,
double);
138 vtkGetMacro(RescaleIntercept,
double);
165 vtkSetStringMacro(HistoryAddition);
166 vtkGetStringMacro(HistoryAddition);
181 int DataUpdateExtent[6];
184 double FileValidRange[2];
202 virtual int OpenNetCDFFile(
const char* filename,
int& ncid);
203 virtual int CloseNetCDFFile(
int ncid);
205 virtual int IndexFromDimensionName(
const char* dimName);
206 virtual void ComputePermutationFromOrientation(
int permutation[3],
int flip[3]);
207 virtual int CreateMINCDimensions(
vtkImageData* input,
int timeStep,
int* dimids);
208 virtual int CreateMINCVariables(
vtkImageData* input,
int timeStep,
int* dimids);
209 virtual int WriteMINCFileAttributes(
vtkImageData* input,
int timeStep);
210 virtual int WriteMINCData(
vtkImageData* input,
int frameNumber,
int wholeExt[6],
int upExt[6]);
211 virtual void FindRescale(
double& rescaleSlope,
double& rescaleIntercept);
212 virtual void FindMINCValidRange(
double range[2]);
double InternalRescaleIntercept
double InternalRescaleSlope
int ComputeValidRangeFromScalarRange
vtkMINCImageAttributes * ImageAttributes
vtkStringArray * FileDimensionNames
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to translate the update extent requests from each output port ...
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
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 extension for this file format.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void Write()
The main interface which triggers the writer to start.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called in response to a REQUEST_DATA request from the executive.
virtual vtkMINCImageAttributes * GetImageAttributes()
dynamic, self-adjusting array of vtkIdType
virtual const char * GetDescriptiveName()
Get the name of this file format.
static vtkImageWriter * New()
a vtkAbstractArray subclass for strings
virtual void SetFileName(const char *)
Specify file name for the image file.
dynamic, self-adjusting array of double
vtkTypeBool StrictValidation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkMatrix4x4 * DirectionCosines
A container for a MINC image header.