VTK
|
A writer for MNI tag point files. More...
#include <vtkMNITagPointWriter.h>
A writer for MNI tag point files.
The MNI .tag file format is used to store tag points, for use in either registration or labelling of data volumes. This file format was developed at the McConnell Brain Imaging Centre at the Montreal Neurological Institute and is used by their software. Tag points can be stored for either one volume or two volumes, and this filter can take one or two inputs. Alternatively, the points to be written can be specified by calling SetPoints().
Definition at line 83 of file vtkMNITagPointWriter.h.
Reimplemented from vtkWriter.
Definition at line 86 of file vtkMNITagPointWriter.h.
vtkMNITagPointWriter::vtkMNITagPointWriter | ( | ) | [protected] |
vtkMNITagPointWriter::~vtkMNITagPointWriter | ( | ) | [protected] |
static int vtkMNITagPointWriter::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 vtkWriter.
virtual int vtkMNITagPointWriter::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 vtkWriter.
static vtkMNITagPointWriter* vtkMNITagPointWriter::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkWriter.
virtual vtkObjectBase* vtkMNITagPointWriter::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkWriter.
Reimplemented from vtkWriter.
static vtkMNITagPointWriter* vtkMNITagPointWriter::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm.
virtual void vtkMNITagPointWriter::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
virtual const char* vtkMNITagPointWriter::GetFileExtensions | ( | ) | [inline, virtual] |
Get the entension for this file format.
Definition at line 93 of file vtkMNITagPointWriter.h.
virtual const char* vtkMNITagPointWriter::GetDescriptiveName | ( | ) | [inline, virtual] |
Get the name of this file format.
Definition at line 99 of file vtkMNITagPointWriter.h.
virtual void vtkMNITagPointWriter::SetPoints | ( | int | port, |
vtkPoints * | points | ||
) | [virtual] |
Set the points (unless you set them as inputs).
virtual void vtkMNITagPointWriter::SetPoints | ( | vtkPoints * | points | ) | [inline, virtual] |
Set the points (unless you set them as inputs).
Definition at line 106 of file vtkMNITagPointWriter.h.
virtual vtkPoints* vtkMNITagPointWriter::GetPoints | ( | int | port | ) | [virtual] |
Set the points (unless you set them as inputs).
virtual vtkPoints* vtkMNITagPointWriter::GetPoints | ( | ) | [inline, virtual] |
Set the points (unless you set them as inputs).
Definition at line 109 of file vtkMNITagPointWriter.h.
virtual void vtkMNITagPointWriter::SetLabelText | ( | vtkStringArray * | a | ) | [virtual] |
Set the labels (unless the input PointData has an array called LabelText). Labels are optional.
virtual vtkStringArray* vtkMNITagPointWriter::GetLabelText | ( | ) | [virtual] |
Set the labels (unless the input PointData has an array called LabelText). Labels are optional.
virtual void vtkMNITagPointWriter::SetWeights | ( | vtkDoubleArray * | a | ) | [virtual] |
Set the weights (unless the input PointData has an array called Weights). Weights are optional.
virtual vtkDoubleArray* vtkMNITagPointWriter::GetWeights | ( | ) | [virtual] |
Set the weights (unless the input PointData has an array called Weights). Weights are optional.
virtual void vtkMNITagPointWriter::SetStructureIds | ( | vtkIntArray * | a | ) | [virtual] |
Set the structure ids (unless the input PointData has an array called StructureIds). These are optional.
virtual vtkIntArray* vtkMNITagPointWriter::GetStructureIds | ( | ) | [virtual] |
Set the structure ids (unless the input PointData has an array called StructureIds). These are optional.
virtual void vtkMNITagPointWriter::SetPatientIds | ( | vtkIntArray * | a | ) | [virtual] |
Set the structure ids (unless the input PointData has an array called PatientIds). These are optional.
virtual vtkIntArray* vtkMNITagPointWriter::GetPatientIds | ( | ) | [virtual] |
Set the structure ids (unless the input PointData has an array called PatientIds). These are optional.
virtual void vtkMNITagPointWriter::SetComments | ( | const char * | ) | [virtual] |
Set comments to be added to the file.
virtual char* vtkMNITagPointWriter::GetComments | ( | ) | [virtual] |
Set comments to be added to the file.
virtual int vtkMNITagPointWriter::Write | ( | ) | [virtual] |
Write the file.
Reimplemented from vtkWriter.
virtual unsigned long vtkMNITagPointWriter::GetMTime | ( | ) | [virtual] |
Get the MTime.
Reimplemented from vtkObject.
virtual void vtkMNITagPointWriter::SetFileName | ( | const char * | ) | [virtual] |
Specify file name of vtk polygon data file to write.
virtual char* vtkMNITagPointWriter::GetFileName | ( | ) | [virtual] |
Specify file name of vtk polygon data file to write.
virtual void vtkMNITagPointWriter::WriteData | ( | ) | [inline, protected, virtual] |
Implements vtkWriter.
Definition at line 170 of file vtkMNITagPointWriter.h.
virtual void vtkMNITagPointWriter::WriteData | ( | vtkPointSet * | inputs[2] | ) | [protected, virtual] |
int vtkMNITagPointWriter::FillInputPortInformation | ( | int | port, |
vtkInformation * | info | ||
) | [protected, virtual] |
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkAlgorithm.
int vtkMNITagPointWriter::RequestData | ( | vtkInformation * | , |
vtkInformationVector ** | , | ||
vtkInformationVector * | |||
) | [protected, virtual] |
Reimplemented from vtkWriter.
ostream* vtkMNITagPointWriter::OpenFile | ( | ) | [protected] |
void vtkMNITagPointWriter::CloseFile | ( | ostream * | fp | ) | [protected] |
vtkPoints* vtkMNITagPointWriter::Points[2] [protected] |
Definition at line 163 of file vtkMNITagPointWriter.h.
vtkStringArray* vtkMNITagPointWriter::LabelText [protected] |
Definition at line 164 of file vtkMNITagPointWriter.h.
vtkDoubleArray* vtkMNITagPointWriter::Weights [protected] |
Definition at line 165 of file vtkMNITagPointWriter.h.
vtkIntArray* vtkMNITagPointWriter::StructureIds [protected] |
Definition at line 166 of file vtkMNITagPointWriter.h.
vtkIntArray* vtkMNITagPointWriter::PatientIds [protected] |
Definition at line 167 of file vtkMNITagPointWriter.h.
char* vtkMNITagPointWriter::Comments [protected] |
Definition at line 168 of file vtkMNITagPointWriter.h.
char* vtkMNITagPointWriter::FileName [protected] |
Definition at line 178 of file vtkMNITagPointWriter.h.
int vtkMNITagPointWriter::FileType [protected] |
Definition at line 180 of file vtkMNITagPointWriter.h.