27#ifndef vtkMINCImageWriter_h 
   28#define vtkMINCImageWriter_h 
   30#include "vtkIOMINCModule.h"  
   33VTK_ABI_NAMESPACE_BEGIN
 
   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];
 
  171  virtual void FindRescale(
double& rescaleSlope, 
double& rescaleIntercept);
 
dynamic, self-adjusting array of double
 
dynamic, self-adjusting array of vtkIdType
 
topologically and geometrically regular array of data
 
a simple class to control print indentation
 
A container for a MINC image header.
 
int RequestUpdateExtent(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Subclasses can reimplement this method to translate the update extent requests from each output port ...
 
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called in response to a REQUEST_DATA request from the executive.
 
virtual int IndexFromDimensionName(const char *dimName)
 
virtual int CloseNetCDFFile(int ncid)
 
virtual void ComputePermutationFromOrientation(int permutation[3], int flip[3])
 
virtual const char * GetFileExtensions()
Get the extension for this file format.
 
void Write() override
Write the data.
 
virtual int OpenNetCDFFile(const char *filename, int &ncid)
 
virtual void FindMINCValidRange(double range[2])
 
vtkTypeBool StrictValidation
 
virtual int CreateMINCDimensions(vtkImageData *input, int timeStep, int *dimids)
 
double InternalRescaleSlope
 
virtual int CreateMINCVariables(vtkImageData *input, int timeStep, int *dimids)
 
virtual const char * GetDescriptiveName()
Get the name of this file format.
 
vtkStringArray * FileDimensionNames
 
int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
 
virtual void SetImageAttributes(vtkMINCImageAttributes *attributes)
Set the image attributes, which contain patient information and other useful metadata.
 
static vtkMINCImageWriter * New()
 
virtual int WriteMINCData(vtkImageData *input, int frameNumber, int wholeExt[6], int upExt[6])
 
~vtkMINCImageWriter() override
 
virtual void FindRescale(double &rescaleSlope, double &rescaleIntercept)
 
int FillInputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
 
int ComputeValidRangeFromScalarRange
 
vtkMatrix4x4 * DirectionCosines
 
vtkMINCImageAttributes * ImageAttributes
 
virtual void SetDirectionCosines(vtkMatrix4x4 *matrix)
Set a matrix that describes the orientation of the data.
 
double InternalRescaleIntercept
 
virtual vtkMINCImageAttributes * GetImageAttributes()
Set the image attributes, which contain patient information and other useful metadata.
 
void SetFileName(VTK_FILEPATH const char *name) override
Set the file name.
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
 
virtual int WriteMINCFileAttributes(vtkImageData *input, int timeStep)
 
represent and manipulate 4x4 transformation matrices
 
a vtkAbstractArray subclass for strings