SiGraph: sulcal graphs


foldvertex.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2005 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#ifndef SI_FOLD_FOLDVERTEX_H
13#define SI_FOLD_FOLDVERTEX_H
14
15
16#include <graph/graph/vertex.h>
17
18namespace sigraph
19{
20
21 class FoldVertex : public Vertex
22 {
23 public:
24 virtual ~FoldVertex();
25
26 static GenericObject* makeFold( const std::string & );
27
28 // public properties for fast access
29 float size;
30 float refsize;
32 int index;
34 std::string label;
36 std::vector<float> gravity_center;
38 std::vector<float> refgravity_center;
40 std::vector<float> normal;
42 std::vector<float> refnormal;
44 float mindepth;
48 float maxdepth;
52 float meandepth;
62
63 protected:
64 FoldVertex( const std::string & s );
65 FoldVertex( const FoldVertex & s );
66 virtual Vertex * cloneVertex() const;
68 };
69
70}
71
72#endif
73
Vertex(std::string s)
std::vector< float > gravity_center
Definition foldvertex.h:36
std::vector< float > normal
Definition foldvertex.h:40
std::vector< float > refgravity_center
Definition foldvertex.h:38
std::string label
Definition foldvertex.h:34
FoldVertex(const FoldVertex &s)
bool bottom_point_number_valid
Definition foldvertex.h:61
virtual Vertex * cloneVertex() const
FoldVertex(const std::string &s)
std::vector< float > refnormal
Definition foldvertex.h:42
static GenericObject * makeFold(const std::string &)