Go to the documentation of this file.
68 #ifndef vtkMNITagPointReader_h
69 #define vtkMNITagPointReader_h
71 #include "vtkIOMINCModule.h"
93 vtkSetStringMacro(FileName);
94 vtkGetStringMacro(FileName);
174 std::string::iterator &pos);
176 std::string::iterator &pos);
178 std::string::iterator &pos,
int nl);
180 std::string::iterator &pos,
183 std::string::iterator &pos,
186 std::string::iterator &pos,
187 int *values,
int count);
189 std::string::iterator &pos,
190 double *values,
int count);
represent and manipulate 3D points
virtual const char * GetFileExtensions()
Get the entension for this file format.
int ReadLine(istream &infile, std::string &linetext, std::string::iterator &pos)
int SkipWhitespace(istream &infile, std::string &linetext, std::string::iterator &pos, int nl)
int RequestData(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo) override
This is called by the superclass.
int ParseStringValue(istream &infile, std::string &linetext, std::string::iterator &pos, std::string &data)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkMNITagPointReader * New()
virtual int ReadFile(vtkPolyData *output1, vtkPolyData *output2)
virtual vtkIntArray * GetPatientIds()
Get the patient ids.
virtual vtkDoubleArray * GetWeights()
Get the weights.
int ParseFloatValues(istream &infile, std::string &linetext, std::string::iterator &pos, double *values, int count)
a simple class to control print indentation
virtual int CanReadFile(const char *name)
Test whether the specified file can be read.
dynamic, self-adjusting array of int
virtual const char * GetDescriptiveName()
Get the name of this file format.
virtual vtkPoints * GetPoints()
virtual vtkStringArray * GetLabelText()
Get the labels.
virtual vtkPoints * GetPoints(int port)
Get the points.
virtual vtkIntArray * GetStructureIds()
Get the structure ids.
A reader for MNI tag files.
~vtkMNITagPointReader() override
concrete dataset represents vertices, lines, polygons, and triangle strips
int ParseLeftHandSide(istream &infile, std::string &linetext, std::string::iterator &pos, std::string &identifier)
virtual int GetNumberOfVolumes()
Get the number of volumes specified by the file, which will be equal to one or two.
a vtkAbstractArray subclass for strings
dynamic, self-adjusting array of double
virtual const char * GetComments()
Get any comments that are included in the file.
int ParseIntValues(istream &infile, std::string &linetext, std::string::iterator &pos, int *values, int count)
int ReadLineAfterComments(istream &infile, std::string &linetext, std::string::iterator &pos)
Superclass for algorithms that produce only polydata as output.