SiGraph: sulcal graphs


sulcalsketchmodel.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2004 CEA
3 *
4 * This software and supporting documentation were developed by
5 * CEA/DSV/SHFJ
6 * 4 place du General Leclerc
7 * 91401 Orsay cedex
8 * France
9 *
10 */
11
12
13#ifndef SI_SULCALSKETCH_SULCALSKETCHMODEL_H
14#define SI_SULCALSKETCH_SULCALSKETCHMODEL_H
15
16#include <si/model/model.h>
17
18
19namespace sigraph
20{
21
23 {
24 public:
25 SulcalSketchSimilarityModel( float distthresh, float distslope = 1,
26 float distweight = 1, float sclslope = 1,
27 float sclweight = 1 );
29 virtual Model* clone() const;
32
33 virtual double prop( const Clique* cl );
34 virtual void buildTree( Tree & tr ) const;
35
37 const std::string & filename );
38
39 private:
40 float _distthresh;
41 float _distslope;
42 float _distweight;
43 float _sclslope;
44 float _sclweight;
45 };
46
47
49 {
50 public:
51 SulcalSketchDataDrivenModel( float weight = 1 );
53 virtual Model* clone() const;
56
57 virtual double prop( const Clique* cl );
58 virtual void buildTree( Tree & tr ) const;
59
61 const std::string & filename );
62
63 private:
64 float _weight;
65 };
66
67}
68
69#endif
70
71
Classe Clique.
Definition clique.h:35
virtual Model * parent()
Donne le parent direct (0 si pas de parent)
Definition model.h:159
Model(Model *parent=0)
Definition model.h:120
virtual void buildTree(Tree &tr) const
(devrait être externe à la classe...)
static void buildDataDriven(carto::AttributedObject *parent, Tree *ao, const std::string &filename)
virtual Model * clone() const
Duplication (fonction abstraite)
virtual double prop(const Clique *cl)
Propagation (réponse du modèle)
virtual Model * clone() const
Duplication (fonction abstraite)
SulcalSketchSimilarityModel(float distthresh, float distslope=1, float distweight=1, float sclslope=1, float sclweight=1)
virtual double prop(const Clique *cl)
Propagation (réponse du modèle)
virtual void buildTree(Tree &tr) const
(devrait être externe à la classe...)
static void buildSimilarity(carto::AttributedObject *parent, Tree *ao, const std::string &filename)
SyntaxedObject< PropertySet > AttributedObject