SiGraph: sulcal graphs


foldReader.h
Go to the documentation of this file.
1
2
3#ifndef SI_FOLD_FOLDREADER_H
4#define SI_FOLD_FOLDREADER_H
5
6
7#include <si/fold/fgraph.h>
9#include <aims/io/argR.h>
10
11
12namespace sigraph
13{
14
17 {
18 public:
19 FoldReader( const std::string & filename );
20 virtual ~FoldReader();
21
22 virtual void read( FGraph & gr, long subobj );
23
25
26 protected:
27 virtual void read( FGraph & gr ) { read( gr, -1 ); }
28 virtual void parse( Graph & sg, carto::AttributedObject* go );
30 const std::string & attrib );
31
32 private:
33 };
34
35
37 {
38 public:
41 virtual Graph* read( const std::string & filename, int subobj = -1 );
42 };
43
44}
45
46#endif
47
ExoticGraphReader(const std::string &filename, const carto::SyntaxSet &attr)
Folds graph.
Definition fgraph.h:25
static carto::SyntaxSet syntax
Definition foldReader.h:24
virtual void parse(Graph &sg, carto::AttributedObject *go)
virtual void read(FGraph &gr, long subobj)
virtual void computeGravCenter(Graph &sg, carto::AttributedObject *go, const std::string &attrib)
FoldReader(const std::string &filename)
virtual void read(FGraph &gr)
Definition foldReader.h:27
virtual Graph * read(const std::string &filename, int subobj=-1)
SyntaxedObject< PropertySet > AttributedObject
std::map< std::string, Syntax > SyntaxSet