SiGraph: sulcal graphs
foldLabels.h
Go to the documentation of this file.
1
2
#ifndef SI_FOLD_BUILDMODEL_H
3
#define SI_FOLD_BUILDMODEL_H
4
5
6
#include <
si/fold/frgraph.h
>
7
#include <
si/model/model.h
>
8
#include <
si/domain/domain.h
>
9
10
11
namespace
sigraph
12
{
13
17
class
FoldLabels
:
public
std::set<std::string>
18
{
19
public
:
20
FoldLabels
();
21
FoldLabels
(
const
std::string & filename );
22
~FoldLabels
();
23
24
void
readLabels
(
const
std::string & filename );
25
MGraph
*
createModel
(
const
Model
* mod,
const
Domain
* dom,
26
const
Model
* defMod = 0 )
const
;
27
28
protected
:
30
void
makeVertex
(
MGraph
* mg,
const
std::string & label,
const
Model
* mod,
31
const
Domain
* dom )
const
;
32
33
private
:
34
};
35
36
// inline
37
38
inline
FoldLabels::FoldLabels
() :
std
::set<
std
::string>()
39
{
40
}
41
42
43
inline
FoldLabels::FoldLabels
(
const
std::string & filename )
44
:
std
::set<
std
::string>()
45
{
46
readLabels
( filename );
47
}
48
49
50
inline
FoldLabels::~FoldLabels
()
51
{
52
}
53
54
}
55
56
#endif
57
sigraph::Domain
Domaine de validité.
Definition
domain.h:18
sigraph::FoldLabels::readLabels
void readLabels(const std::string &filename)
sigraph::FoldLabels::FoldLabels
FoldLabels()
Definition
foldLabels.h:38
sigraph::FoldLabels::createModel
MGraph * createModel(const Model *mod, const Domain *dom, const Model *defMod=0) const
sigraph::FoldLabels::~FoldLabels
~FoldLabels()
Definition
foldLabels.h:50
sigraph::FoldLabels::makeVertex
void makeVertex(MGraph *mg, const std::string &label, const Model *mod, const Domain *dom) const
Crée le noeud et les bons attributs, duplique le modèle et le domaine.
sigraph::MGraph
Graph modèle (classe abstraite).
Definition
mgraph.h:48
sigraph::Model
Modèle pour l'évaluation de cliques de graphes (classe abstraite).
Definition
model.h:26
domain.h
frgraph.h
model.h
sigraph
Definition
descrParser.h:10
std
STL namespace.
si
fold
foldLabels.h
Generated by
1.13.2