]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/kernel/include/marAxisContours.h
8d6f26686430625328abbdf7b9903dcbcb35efca
[creaMaracasVisu.git] / lib / maracasVisuLib / src / kernel / include / marAxisContours.h
1 /*=========================================================================
2
3   Program:   wxMaracas
4   Module:    $RCSfile: marAxisContours.h,v $
5   Language:  C++
6   Date:      $Date: 2009/05/14 13:55:07 $
7   Version:   $Revision: 1.1 $
8
9   Copyright: (c) 2002, 2003
10   License:
11   
12      This software is distributed WITHOUT ANY WARRANTY; without even 
13      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
14      PURPOSE.  See the above copyright notice for more information.
15
16 =========================================================================*/
17 #ifndef __MAR__KERNEL__AXIS_CONTOURS__HXX__
18 #define __MAR__KERNEL__AXIS_CONTOURS__HXX__
19
20 #include "marContourVO.h"
21 #include <vector>
22
23 class MAR_KERNEL_EXPORT marAxisContours  
24 {
25 public:
26
27         enum ContourTypes
28         {
29                 LUMEN = 0,         /*!< Lumen Type partial. */  
30                 WALL,              /*!< Wall Type. */ 
31                 CALCIFICATION,     /*!< Calcification Type. */  
32                 HYPODENSE,          /*!< Hypodense Type. */
33                 ELUMEN                          /*!< Extracted Lumen */
34         };
35
36         void addContour(marContourVO* cont);
37         void replaceContour(marContourVO* cont, int index);
38         marContourVO* getContour(int i );
39
40         int getTotalPlaques();
41         int getContourType(int i);
42         int getSize();
43         bool isReplaced(int i);
44
45    private:
46            std::vector <marContourVO *> contours;
47
48 };
49
50 #endif //__MAR__KERNEL__AXIS_CONTOURS__HXX__
51