1 /*=========================================================================
4 Module: $RCSfile: manualContourContainer.h,v $
6 Date: $Date: 2008/10/31 16:32:09 $
7 Version: $Revision: 1.1 $
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"
25 class manualContourContainer
29 manualContourContainer();
30 virtual ~manualContourContainer();
32 manualContourControler* getWallController();
33 manualContourControler* getLumenController();
34 manualContourControler* getCalcController(int i);
35 manualContourControler* getHypoController(int i);
36 void createWallContour(wxVtk2DBaseView *_imageviewer2D_1);
37 void createLumenContour(wxVtk2DBaseView *_imageviewer2D_1);
39 int addCalcificationContour(wxVtk2DBaseView *_imageviewer2D_1);
40 int addHypodenseContour(wxVtk2DBaseView *_imageviewer2D_1);
42 void setWallVisibility(bool visible);
44 void setLumenVisibility(bool visible);
45 void setCalcVisibility(bool visible);
46 void setHypoVisibility(bool visible);
48 void setLumenActive();
51 void setCalcContourActive(int i);
52 void setHypoContourActive(int i);
53 int getNumberOfCalcContours();
54 int getNumberOfHypoContours();
57 int getNumberOfWallContourPoints();
58 int getNumberOfLumenContourPoints();
59 int getNumberOfCalcContourPoints(int i);
60 int getNumberOfHypoContourPoints(int i);
62 double* getXVectorWallPoints();
63 double* getXVectorLumenPoints();
64 double* getXVectorCalcPoints(int i);
65 double* getXVectorHypoPoints(int i);
67 double* getYVectorWallPoints();
68 double* getYVectorLumenPoints();
69 double* getYVectorCalcPoints(int i);
70 double* getYVectorHypoPoints(int i);
76 void refreshWall(wxVtk2DBaseView *_imageviewer2D_1);
77 void refreshLumen(wxVtk2DBaseView *_imageviewer2D_1);
78 void refreshCalc(int i, wxVtk2DBaseView *_imageviewer2D_1);
79 void refreshHypo(int i, wxVtk2DBaseView *_imageviewer2D_1);
81 void restartWallContour(wxVtk2DBaseView *_imageviewer2D_1);
82 void restartLumenContour(wxVtk2DBaseView *_imageviewer2D_1);
83 void restartCalcContours();
84 void restartHypoContours();
89 manualContourControler *_manContourControlWall;
90 manualContourModel *_mContourModelWall;
91 manualViewContour *_mViewContourWall;
94 //Manual Contour Lumen
95 manualContourControler *_manContourControlLumen;
96 manualContourModel *_mContourModelLumen;
97 manualViewContour *_mViewContourLumen;
100 std::vector <manualContourControler *> _manContourControlCalc;
101 std::vector <manualContourModel *> _mContourModelCalc;
102 std::vector <manualViewContour *> _mViewContourCalc;
104 //Manual Contour Hypo
105 std::vector <manualContourControler *> _manContourControlHypo;
106 std::vector <manualContourModel *> _mContourModelHypo;
107 std::vector <manualViewContour *> _mViewContourHypo;