vtkMNITagPointWriter Class Reference

#include <vtkMNITagPointWriter.h>

Inheritance diagram for vtkMNITagPointWriter:

Inheritance graph
[legend]
Collaboration diagram for vtkMNITagPointWriter:

Collaboration graph
[legend]

List of all members.


Detailed Description

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().

See also:
vtkMINCImageReader vtkMNIObjectReader vtkMNITransformReader
Thanks:
Thanks to David Gobbi for contributing this class to VTK.
Events:
vtkCommand::StartEvent vtkCommand::EndEvent
Tests:
vtkMNITagPointWriter (Tests)

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 vtkPointsGetPoints (int port)
virtual vtkPointsGetPoints ()
virtual void SetLabelText (vtkStringArray *a)
virtual vtkStringArrayGetLabelText ()
virtual void SetWeights (vtkDoubleArray *a)
virtual vtkDoubleArrayGetWeights ()
virtual void SetStructureIds (vtkIntArray *a)
virtual vtkIntArrayGetStructureIds ()
virtual void SetPatientIds (vtkIntArray *a)
virtual vtkIntArrayGetPatientIds ()
virtual void SetComments (const char *)
virtual char * GetComments ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkMNITagPointWriterSafeDownCast (vtkObject *o)
static vtkMNITagPointWriterNew ()

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

vtkPointsPoints [2]
vtkStringArrayLabelText
vtkDoubleArrayWeights
vtkIntArrayStructureIds
vtkIntArrayPatientIds
char * Comments

Member Typedef Documentation

Reimplemented from vtkDataSetWriter.

Definition at line 85 of file vtkMNITagPointWriter.h.


Constructor & Destructor Documentation

vtkMNITagPointWriter::vtkMNITagPointWriter (  )  [protected]

vtkMNITagPointWriter::~vtkMNITagPointWriter (  )  [protected]


Member Function Documentation

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]

Reimplemented from vtkDataSetWriter.

Definition at line 163 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 vtkDataSetWriter.

int vtkMNITagPointWriter::RequestData ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

Reimplemented from vtkWriter.


Member Data Documentation

Definition at line 156 of file vtkMNITagPointWriter.h.

Definition at line 157 of file vtkMNITagPointWriter.h.

Definition at line 158 of file vtkMNITagPointWriter.h.

Definition at line 159 of file vtkMNITagPointWriter.h.

Definition at line 160 of file vtkMNITagPointWriter.h.

char* vtkMNITagPointWriter::Comments [protected]

Definition at line 161 of file vtkMNITagPointWriter.h.


The documentation for this class was generated from the following file:

Generated on Wed Aug 24 11:48:37 2011 for VTK by  doxygen 1.5.6