VTK
|
A writer for MNI transformation files. More...
#include <vtkMNITransformWriter.h>
A writer for MNI transformation files.
The MNI .xfm file format is used to store geometrical transformations. Three kinds of transformations are supported by the file format: affine, thin-plate spline, and grid transformations. This file format was developed at the McConnell Brain Imaging Centre at the Montreal Neurological Institute and is used by their software.
Definition at line 78 of file vtkMNITransformWriter.h.
Reimplemented from vtkAlgorithm.
Definition at line 81 of file vtkMNITransformWriter.h.
vtkMNITransformWriter::vtkMNITransformWriter | ( | ) | [protected] |
vtkMNITransformWriter::~vtkMNITransformWriter | ( | ) | [protected] |
static int vtkMNITransformWriter::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkAlgorithm.
virtual int vtkMNITransformWriter::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkAlgorithm.
static vtkMNITransformWriter* vtkMNITransformWriter::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkAlgorithm.
virtual vtkObjectBase* vtkMNITransformWriter::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkAlgorithm.
Reimplemented from vtkAlgorithm.
static vtkMNITransformWriter* vtkMNITransformWriter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
virtual void vtkMNITransformWriter::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkAlgorithm.
virtual void vtkMNITransformWriter::SetFileName | ( | const char * | ) | [virtual] |
Set the file name.
virtual char* vtkMNITransformWriter::GetFileName | ( | ) | [virtual] |
Set the file name.
virtual const char* vtkMNITransformWriter::GetFileExtensions | ( | ) | [inline, virtual] |
Get the entension for this file format.
Definition at line 94 of file vtkMNITransformWriter.h.
virtual const char* vtkMNITransformWriter::GetDescriptiveName | ( | ) | [inline, virtual] |
Get the name of this file format.
Definition at line 100 of file vtkMNITransformWriter.h.
virtual void vtkMNITransformWriter::SetTransform | ( | vtkAbstractTransform * | transform | ) | [virtual] |
Set the transform.
virtual vtkAbstractTransform* vtkMNITransformWriter::GetTransform | ( | ) | [inline, virtual] |
Set the transform.
Definition at line 107 of file vtkMNITransformWriter.h.
virtual void vtkMNITransformWriter::AddTransform | ( | vtkAbstractTransform * | transform | ) | [virtual] |
Add another transform to the file. The next time that SetTransform is called, all added transforms will be removed.
virtual int vtkMNITransformWriter::GetNumberOfTransforms | ( | ) | [virtual] |
Get the number of transforms that will be written.
virtual void vtkMNITransformWriter::SetComments | ( | const char * | ) | [virtual] |
Set comments to be added to the file.
virtual char* vtkMNITransformWriter::GetComments | ( | ) | [virtual] |
Set comments to be added to the file.
virtual void vtkMNITransformWriter::Write | ( | ) | [virtual] |
Write the file.
int vtkMNITransformWriter::WriteLinearTransform | ( | ostream & | outfile, |
vtkHomogeneousTransform * | transform | ||
) | [protected] |
int vtkMNITransformWriter::WriteThinPlateSplineTransform | ( | ostream & | outfile, |
vtkThinPlateSplineTransform * | transform | ||
) | [protected] |
int vtkMNITransformWriter::WriteGridTransform | ( | ostream & | outfile, |
vtkGridTransform * | transform | ||
) | [protected] |
virtual int vtkMNITransformWriter::WriteTransform | ( | ostream & | outfile, |
vtkAbstractTransform * | transform | ||
) | [protected, virtual] |
virtual int vtkMNITransformWriter::WriteFile | ( | ) | [protected, virtual] |
virtual int vtkMNITransformWriter::ProcessRequest | ( | vtkInformation * | request, |
vtkInformationVector ** | inInfo, | ||
vtkInformationVector * | outInfo | ||
) | [protected, virtual] |
Upstream/Downstream requests form the generalized interface through which executives invoke a algorithm's functionality. Upstream requests correspond to information flow from the algorithm's outputs to its inputs. Downstream requests correspond to information flow from the algorithm's inputs to its outputs. A downstream request is defined by the contents of the request information object. The input to the request is stored in the input information vector passed to ProcessRequest. The results of an downstream request are stored in the output information vector passed to ProcessRequest. An upstream request is defined by the contents of the request information object. The input to the request is stored in the output information vector passed to ProcessRequest. The results of an upstream request are stored in the input information vector passed to ProcessRequest. It returns the boolean status of the pipeline (false means failure).
Reimplemented from vtkAlgorithm.
char* vtkMNITransformWriter::FileName [protected] |
Definition at line 131 of file vtkMNITransformWriter.h.
vtkAbstractTransform* vtkMNITransformWriter::Transform [protected] |
Definition at line 132 of file vtkMNITransformWriter.h.
vtkCollection* vtkMNITransformWriter::Transforms [protected] |
Definition at line 133 of file vtkMNITransformWriter.h.
char* vtkMNITransformWriter::Comments [protected] |
Definition at line 134 of file vtkMNITransformWriter.h.