1 /*=========================================================================
4 Module: $RCSfile: manualContourContainer.h,v $
6 Date: $Date: 2009/05/15 12:59:23 $
7 Version: $Revision: 1.2 $
9 Copyright: (c) 2002, 2003
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.
16 =========================================================================*/
18 #ifndef MANUAL_CONTOUR_CONTAINER_H
19 #define MANUAL_CONTOUR_CONTAINER_H
23 //#include "manualContour.h"
24 #include "manualContourControler.h"
25 #include "manualContourModel.h"
26 #include "manualViewContour.h"
28 class manualContourContainer
32 manualContourContainer();
33 virtual ~manualContourContainer();
35 manualContourControler* getWallController();
36 manualContourControler* getLumenController();
37 manualContourControler* getCalcController(int i);
38 manualContourControler* getHypoController(int i);
39 void createWallContour(wxVtk2DBaseView *_imageviewer2D_1);
40 void createLumenContour(wxVtk2DBaseView *_imageviewer2D_1);
42 int addCalcificationContour(wxVtk2DBaseView *_imageviewer2D_1);
43 int addHypodenseContour(wxVtk2DBaseView *_imageviewer2D_1);
45 void setWallVisibility(bool visible);
47 void setLumenVisibility(bool visible);
48 void setCalcVisibility(bool visible);
49 void setHypoVisibility(bool visible);
51 void setLumenActive();
54 void setCalcContourActive(int i);
55 void setHypoContourActive(int i);
56 int getNumberOfCalcContours();
57 int getNumberOfHypoContours();
60 int getNumberOfWallContourPoints();
61 int getNumberOfLumenContourPoints();
62 int getNumberOfCalcContourPoints(int i);
63 int getNumberOfHypoContourPoints(int i);
65 double* getXVectorWallPoints();
66 double* getXVectorLumenPoints();
67 double* getXVectorCalcPoints(int i);
68 double* getXVectorHypoPoints(int i);
70 double* getYVectorWallPoints();
71 double* getYVectorLumenPoints();
72 double* getYVectorCalcPoints(int i);
73 double* getYVectorHypoPoints(int i);
79 void refreshWall(wxVtk2DBaseView *_imageviewer2D_1);
80 void refreshLumen(wxVtk2DBaseView *_imageviewer2D_1);
81 void refreshCalc(int i, wxVtk2DBaseView *_imageviewer2D_1);
82 void refreshHypo(int i, wxVtk2DBaseView *_imageviewer2D_1);
84 void restartWallContour(wxVtk2DBaseView *_imageviewer2D_1);
85 void restartLumenContour(wxVtk2DBaseView *_imageviewer2D_1);
86 void restartCalcContours();
87 void restartHypoContours();
92 manualContourControler *_manContourControlWall;
93 manualContourModel *_mContourModelWall;
94 manualViewContour *_mViewContourWall;
97 //Manual Contour Lumen
98 manualContourControler *_manContourControlLumen;
99 manualContourModel *_mContourModelLumen;
100 manualViewContour *_mViewContourLumen;
102 //Manual Contour Calc
103 std::vector <manualContourControler *> _manContourControlCalc;
104 std::vector <manualContourModel *> _mContourModelCalc;
105 std::vector <manualViewContour *> _mViewContourCalc;
107 //Manual Contour Hypo
108 std::vector <manualContourControler *> _manContourControlHypo;
109 std::vector <manualContourModel *> _mContourModelHypo;
110 std::vector <manualViewContour *> _mViewContourHypo;