#include <vtkMNITagPointWriter.h>
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 82 of file vtkMNITagPointWriter.h.
Public Types | |
typedef vtkDataSetWriter | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | Write () |
virtual unsigned long | GetMTime () |
virtual const char * | GetFileExtensions () |
virtual const char * | GetDescriptiveName () |
virtual void | SetPoints (int port, vtkPoints *points) |
virtual void | SetPoints (vtkPoints *points) |
virtual vtkPoints * | GetPoints (int port) |
virtual vtkPoints * | GetPoints () |
virtual void | SetLabelText (vtkStringArray *a) |
virtual vtkStringArray * | GetLabelText () |
virtual void | SetWeights (vtkDoubleArray *a) |
virtual vtkDoubleArray * | GetWeights () |
virtual void | SetStructureIds (vtkIntArray *a) |
virtual vtkIntArray * | GetStructureIds () |
virtual void | SetPatientIds (vtkIntArray *a) |
virtual vtkIntArray * | GetPatientIds () |
virtual void | SetComments (const char *) |
virtual char * | GetComments () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkMNITagPointWriter * | SafeDownCast (vtkObject *o) |
static vtkMNITagPointWriter * | New () |
Protected Member Functions | |
vtkMNITagPointWriter () | |
~vtkMNITagPointWriter () | |
virtual void | WriteData () |
virtual void | WriteData (vtkPointSet *inputs[2]) |
int | FillInputPortInformation (int port, vtkInformation *info) |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
vtkPoints * | Points [2] |
vtkStringArray * | LabelText |
vtkDoubleArray * | Weights |
vtkIntArray * | StructureIds |
vtkIntArray * | PatientIds |
char * | Comments |
vtkMNITagPointWriter::vtkMNITagPointWriter | ( | ) | [protected] |
vtkMNITagPointWriter::~vtkMNITagPointWriter | ( | ) | [protected] |
virtual const char* vtkMNITagPointWriter::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkDataSetWriter.
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 vtkDataSetWriter.
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 vtkDataSetWriter.
static vtkMNITagPointWriter* vtkMNITagPointWriter::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkDataSetWriter.
static vtkMNITagPointWriter* vtkMNITagPointWriter::New | ( | ) | [static] |
Created object with default header, ASCII format, and default names for scalars, vectors, tensors, normals, and texture coordinates.
Reimplemented from vtkDataSetWriter.
virtual void vtkMNITagPointWriter::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 vtkDataSetWriter.
virtual const char* vtkMNITagPointWriter::GetFileExtensions | ( | ) | [inline, virtual] |
Get the entension for this file format.
Definition at line 92 of file vtkMNITagPointWriter.h.
virtual const char* vtkMNITagPointWriter::GetDescriptiveName | ( | ) | [inline, virtual] |
Get the name of this file format.
Definition at line 98 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 105 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 108 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::WriteData | ( | ) | [inline, protected, virtual] |
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 vtkDataSetWriter.
int vtkMNITagPointWriter::RequestData | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
Reimplemented from vtkWriter.
vtkPoints* vtkMNITagPointWriter::Points[2] [protected] |
Definition at line 156 of file vtkMNITagPointWriter.h.
vtkStringArray* vtkMNITagPointWriter::LabelText [protected] |
Definition at line 157 of file vtkMNITagPointWriter.h.
vtkDoubleArray* vtkMNITagPointWriter::Weights [protected] |
Definition at line 158 of file vtkMNITagPointWriter.h.
vtkIntArray* vtkMNITagPointWriter::StructureIds [protected] |
Definition at line 159 of file vtkMNITagPointWriter.h.
vtkIntArray* vtkMNITagPointWriter::PatientIds [protected] |
Definition at line 160 of file vtkMNITagPointWriter.h.
char* vtkMNITagPointWriter::Comments [protected] |
Definition at line 161 of file vtkMNITagPointWriter.h.