SiGraph: sulcal graphs


domain.h
Go to the documentation of this file.
1
2#ifndef SI_DOMAIN_DOMAIN_H
3#define SI_DOMAIN_DOMAIN_H
4
5#include <cartobase/object/object.h>
6
7class Vertex;
8class Graph;
9class Tree;
10
11
12namespace sigraph
13{
14
17 class Domain
18 {
19 public:
20 virtual ~Domain();
22 virtual Domain* clone() const = 0;
23
25 virtual bool canBeFound( double x, double y, double z ) = 0;
34 virtual bool canBeFound( const Vertex* v, const Graph* g = 0 ) = 0;
36 virtual void buildTree( Tree & tr ) const = 0;
37
38 protected:
39 Domain();
40 Domain( const Domain & dom );
41
42 private:
43 };
44
45 // Fonctions inline
46
48 {
49 }
50
51
52 inline Domain::Domain( const Domain & )
53 {
54 }
55
56}
57
58
59namespace carto
60{
62}
63
64#endif
65
Domaine de validité.
Definition domain.h:18
virtual bool canBeFound(double x, double y, double z)=0
Renvoie si le sillon peut se trouver aux coordonnées (x, y, z)
virtual Domain * clone() const =0
Duplication (fonction abstraite)
virtual void buildTree(Tree &tr) const =0
Conversion en arbre (pour IO)
virtual bool canBeFound(const Vertex *v, const Graph *g=0)=0
Renvoie si le noeud de graphe de sillons peut appartenir au sillon concerné(donc avoir le label considéré...
virtual ~Domain()
#define DECLARE_GENERIC_OBJECT_TYPE(T)