Go to the documentation of this file.
68 #ifndef vtkMNITagPointWriter_h
69 #define vtkMNITagPointWriter_h
71 #include "vtkIOMINCModule.h"
107 this->SetPoints(0,
points); }
110 return this->GetPoints(0); }
153 vtkSetStringMacro(Comments);
154 vtkGetStringMacro(Comments);
171 vtkSetStringMacro(FileName);
172 vtkGetStringMacro(FileName);
represent and manipulate 3D points
virtual const char * GetDescriptiveName()
Get the name of this file format.
virtual void SetStructureIds(vtkIntArray *a)
Set the structure ids (unless the input PointData has an array called StructureIds).
vtkMTimeType GetMTime() override
Get the MTime.
virtual void WriteData(vtkPointSet *inputs[2])
virtual vtkPoints * GetPoints(int port)
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
virtual void SetLabelText(vtkStringArray *a)
Set the labels (unless the input PointData has an array called LabelText).
virtual void SetWeights(vtkDoubleArray *a)
Set the weights (unless the input PointData has an array called Weights).
virtual void SetPoints(vtkPoints *points)
vtkIntArray * StructureIds
~vtkMNITagPointWriter() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
a simple class to control print indentation
dynamic, self-adjusting array of int
abstract class to write data to file(s)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
A writer for MNI tag point files.
int Write() override
Write the file.
void WriteData() override
abstract class to specify dataset behavior
vtkStringArray * LabelText
static vtkMNITagPointWriter * New()
abstract class for specifying dataset behavior
a vtkAbstractArray subclass for strings
virtual const char * GetFileExtensions()
Get the entension for this file format.
dynamic, self-adjusting array of double
void CloseFile(ostream *fp)
virtual void SetPatientIds(vtkIntArray *a)
Set the structure ids (unless the input PointData has an array called PatientIds).
virtual void SetPoints(int port, vtkPoints *points)
Set the points (unless you set them as inputs).
virtual vtkPoints * GetPoints()
vtkTypeUInt32 vtkMTimeType