manualContourContainer.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   wxMaracas
00004   Module:    $RCSfile: manualContourContainer.h,v $
00005   Language:  C++
00006   Date:      $Date: 2009/05/19 11:17:26 $
00007   Version:   $Revision: 1.3 $
00008 
00009   Copyright: (c) 2002, 2003
00010   License:
00011   
00012      This software is distributed WITHOUT ANY WARRANTY; without even 
00013      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00014      PURPOSE.  See the above copyright notice for more information.
00015 
00016 =========================================================================*/
00017 
00018 #ifndef MANUAL_CONTOUR_CONTAINER_H
00019 #define MANUAL_CONTOUR_CONTAINER_H
00020 
00021 
00022 #include <vector>
00023 #include "manualContourControler.h"
00024 #include "manualContourModel.h"
00025 #include "manualViewContour.h"
00026 
00027 class manualContourContainer  
00028 {
00029 public:
00030         
00031         manualContourContainer();
00032         virtual ~manualContourContainer();
00033 
00034         manualContourControler* getWallController();
00035         manualContourControler* getLumenController();
00036         manualContourControler* getCalcController(int i);
00037         manualContourControler* getHypoController(int i);
00038         void createWallContour(wxVtk2DBaseView  *_imageviewer2D_1);
00039         void createLumenContour(wxVtk2DBaseView *_imageviewer2D_1);
00040 
00041         int     addCalcificationContour(wxVtk2DBaseView *_imageviewer2D_1);
00042         int     addHypodenseContour(wxVtk2DBaseView     *_imageviewer2D_1);
00043 
00044         void setWallVisibility(bool visible);
00045         
00046         void setLumenVisibility(bool visible);
00047         void setCalcVisibility(bool visible);
00048         void setHypoVisibility(bool visible);
00049         void setWallActive();
00050         void setLumenActive();
00051         void setCalcActive();
00052         void setHypoActive();
00053         void setCalcContourActive(int i);
00054         void setHypoContourActive(int i);
00055         int  getNumberOfCalcContours();
00056         int  getNumberOfHypoContours();
00057         void inactivate();
00058 
00059         int getNumberOfWallContourPoints();
00060         int getNumberOfLumenContourPoints();
00061         int getNumberOfCalcContourPoints(int i);
00062         int getNumberOfHypoContourPoints(int i);
00063 
00064         double* getXVectorWallPoints();
00065         double* getXVectorLumenPoints();
00066         double* getXVectorCalcPoints(int i);
00067         double* getXVectorHypoPoints(int i);
00068 
00069         double* getYVectorWallPoints();
00070         double* getYVectorLumenPoints();
00071         double* getYVectorCalcPoints(int i);
00072         double* getYVectorHypoPoints(int i);
00073         void clear();
00074         void clearWall();
00075         void clearLumen();
00076         void clearCalc();
00077         void clearHypo();
00078         void refreshWall(wxVtk2DBaseView        *_imageviewer2D_1);
00079         void refreshLumen(wxVtk2DBaseView       *_imageviewer2D_1);
00080         void refreshCalc(int i, wxVtk2DBaseView *_imageviewer2D_1);
00081         void refreshHypo(int i, wxVtk2DBaseView *_imageviewer2D_1);
00082         
00083         void restartWallContour(wxVtk2DBaseView *_imageviewer2D_1);
00084         void restartLumenContour(wxVtk2DBaseView        *_imageviewer2D_1);
00085         void restartCalcContours();
00086         void restartHypoContours();
00087 
00088 private:
00089         //Manual Contour Wall
00090         
00091         manualContourControler *_manContourControlWall;
00092         manualContourModel              *_mContourModelWall;
00093         manualViewContour               *_mViewContourWall;
00094 
00095 
00096         //Manual Contour Lumen
00097         manualContourControler  *_manContourControlLumen;
00098         manualContourModel              *_mContourModelLumen;
00099         manualViewContour                       *_mViewContourLumen;
00100 
00101         //Manual Contour Calc
00102         std::vector <manualContourControler *> _manContourControlCalc;
00103         std::vector <manualContourModel *> _mContourModelCalc;
00104         std::vector <manualViewContour *> _mViewContourCalc;
00105 
00106         //Manual Contour Hypo
00107         std::vector <manualContourControler *> _manContourControlHypo;
00108         std::vector <manualContourModel *> _mContourModelHypo;
00109         std::vector <manualViewContour *> _mViewContourHypo;    
00110 
00111 
00112 
00113 };
00114 
00115 #endif //

Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1