VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkMNITagPointWriter Class Reference

A writer for MNI tag point files. More...

#include <vtkMNITagPointWriter.h>

Inheritance diagram for vtkMNITagPointWriter:
Inheritance graph
[legend]
Collaboration diagram for vtkMNITagPointWriter:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkWriter Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkMNITagPointWriterNewInstance () const
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 ()
virtual void SetFileName (const char *)
virtual char * GetFileName ()

Static Public Member Functions

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

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkMNITagPointWriter ()
 ~vtkMNITagPointWriter ()
virtual void WriteData ()
virtual void WriteData (vtkPointSet *inputs[2])
int FillInputPortInformation (int port, vtkInformation *info)
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
ostream * OpenFile ()
void CloseFile (ostream *fp)

Protected Attributes

vtkPointsPoints [2]
vtkStringArrayLabelText
vtkDoubleArrayWeights
vtkIntArrayStructureIds
vtkIntArrayPatientIds
char * Comments
char * FileName
int FileType

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 83 of file vtkMNITagPointWriter.h.


Member Typedef Documentation

Reimplemented from vtkWriter.

Definition at line 86 of file vtkMNITagPointWriter.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

Reimplemented from vtkWriter.

virtual vtkObjectBase* vtkMNITagPointWriter::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkWriter.

Reimplemented from vtkWriter.

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]

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 vtkWriter.

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.

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.

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.

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.

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.

Reimplemented from vtkWriter.

ostream* vtkMNITagPointWriter::OpenFile ( ) [protected]
void vtkMNITagPointWriter::CloseFile ( ostream *  fp) [protected]

Member Data Documentation

Definition at line 163 of file vtkMNITagPointWriter.h.

Definition at line 164 of file vtkMNITagPointWriter.h.

Definition at line 165 of file vtkMNITagPointWriter.h.

Definition at line 166 of file vtkMNITagPointWriter.h.

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.

Definition at line 180 of file vtkMNITagPointWriter.h.


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