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