1 /*=========================================================================
4 Module: $RCSfile: manualContourContainer.h,v $
6 Date: $Date: 2009/05/19 11:17:26 $
7 Version: $Revision: 1.3 $
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 "manualContourControler.h"
24 #include "manualContourModel.h"
25 #include "manualViewContour.h"
27 class manualContourContainer
31 manualContourContainer();
32 virtual ~manualContourContainer();
34 manualContourControler* getWallController();
35 manualContourControler* getLumenController();
36 manualContourControler* getCalcController(int i);
37 manualContourControler* getHypoController(int i);
38 void createWallContour(wxVtk2DBaseView *_imageviewer2D_1);
39 void createLumenContour(wxVtk2DBaseView *_imageviewer2D_1);
41 int addCalcificationContour(wxVtk2DBaseView *_imageviewer2D_1);
42 int addHypodenseContour(wxVtk2DBaseView *_imageviewer2D_1);
44 void setWallVisibility(bool visible);
46 void setLumenVisibility(bool visible);
47 void setCalcVisibility(bool visible);
48 void setHypoVisibility(bool visible);
50 void setLumenActive();
53 void setCalcContourActive(int i);
54 void setHypoContourActive(int i);
55 int getNumberOfCalcContours();
56 int getNumberOfHypoContours();
59 int getNumberOfWallContourPoints();
60 int getNumberOfLumenContourPoints();
61 int getNumberOfCalcContourPoints(int i);
62 int getNumberOfHypoContourPoints(int i);
64 double* getXVectorWallPoints();
65 double* getXVectorLumenPoints();
66 double* getXVectorCalcPoints(int i);
67 double* getXVectorHypoPoints(int i);
69 double* getYVectorWallPoints();
70 double* getYVectorLumenPoints();
71 double* getYVectorCalcPoints(int i);
72 double* getYVectorHypoPoints(int i);
78 void refreshWall(wxVtk2DBaseView *_imageviewer2D_1);
79 void refreshLumen(wxVtk2DBaseView *_imageviewer2D_1);
80 void refreshCalc(int i, wxVtk2DBaseView *_imageviewer2D_1);
81 void refreshHypo(int i, wxVtk2DBaseView *_imageviewer2D_1);
83 void restartWallContour(wxVtk2DBaseView *_imageviewer2D_1);
84 void restartLumenContour(wxVtk2DBaseView *_imageviewer2D_1);
85 void restartCalcContours();
86 void restartHypoContours();
91 manualContourControler *_manContourControlWall;
92 manualContourModel *_mContourModelWall;
93 manualViewContour *_mViewContourWall;
96 //Manual Contour Lumen
97 manualContourControler *_manContourControlLumen;
98 manualContourModel *_mContourModelLumen;
99 manualViewContour *_mViewContourLumen;
101 //Manual Contour Calc
102 std::vector <manualContourControler *> _manContourControlCalc;
103 std::vector <manualContourModel *> _mContourModelCalc;
104 std::vector <manualViewContour *> _mViewContourCalc;
106 //Manual Contour Hypo
107 std::vector <manualContourControler *> _manContourControlHypo;
108 std::vector <manualContourModel *> _mContourModelHypo;
109 std::vector <manualViewContour *> _mViewContourHypo;