aimsdata  5.0.5
Neuroimaging data handling
aims::LowLevelArgReader Class Referenceabstract

Wrapper for a specific GraphReader. More...

#include <aims/io/argR.h>

Inheritance diagram for aims::LowLevelArgReader:

Public Member Functions

 LowLevelArgReader ()
 
virtual ~LowLevelArgReader ()
 
virtual Graphread (const std::string &filename, int subobjectsfilter=-1)=0
 in case of failure, either raise an exception or return 0 More...
 
virtual void mergeMinf (Graph &g, const PythonHeader &hdr)
 set / merge .minf header into the graph. More...
 

Static Protected Member Functions

static void mergeTransformations (Graph &g, const PythonHeader &hdr)
 Store referentials, transformations, and update the Talairach transformation in the graph, if such information is present in the minf header. More...
 

Detailed Description

Wrapper for a specific GraphReader.

Definition at line 50 of file argR.h.

Constructor & Destructor Documentation

◆ LowLevelArgReader()

aims::LowLevelArgReader::LowLevelArgReader ( )

◆ ~LowLevelArgReader()

virtual aims::LowLevelArgReader::~LowLevelArgReader ( )
virtual

Member Function Documentation

◆ mergeMinf()

virtual void aims::LowLevelArgReader::mergeMinf ( Graph g,
const PythonHeader hdr 
)
virtual

set / merge .minf header into the graph.

This means set it into a graph property (typically "header"), but also update some graph properties according to the contents of this header.

The default implementation just copies the minf properties into a dictionary stored in the "header" property of the graph.

◆ mergeTransformations()

static void aims::LowLevelArgReader::mergeTransformations ( Graph g,
const PythonHeader hdr 
)
staticprotected

Store referentials, transformations, and update the Talairach transformation in the graph, if such information is present in the minf header.

This static method is not called by LowLevelArgReader::mergeMinf() by default, this method is just provided so it can be called by concrete implementations of LowLevelArgReader (such as LowLevelStandardArgReader).

◆ read()

virtual Graph* aims::LowLevelArgReader::read ( const std::string &  filename,
int  subobjectsfilter = -1 
)
pure virtual

in case of failure, either raise an exception or return 0

Implemented in aims::LowLevelStandardArgReader, and aims::LowLevelRoiReader.


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