]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMPRWidget.h
*** empty log message ***
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / wxMPRWidget.h
index c98583a5eda18aa2a2cf7b95515957113b15f8d9..f68276520bb1efd5f6d0ae237c07d0c060851c8d 100644 (file)
@@ -3,8 +3,8 @@
   Program:   wxMaracas
   Module:    $RCSfile: wxMPRWidget.h,v $
   Language:  C++
-  Date:      $Date: 2009/03/24 10:49:21 $
-  Version:   $Revision: 1.7 $
+  Date:      $Date: 2009/05/04 07:35:42 $
+  Version:   $Revision: 1.8 $
 
   Copyright: (c) 2002, 2003
   License:
@@ -421,6 +421,7 @@ public:
        void            OnVisiblePlane(wxCommandEvent& event);
        void            OnEditColorTable(wxCommandEvent& event);
        virtual void Refresh();
+       void            UpdateControlPanel();
 
 private:
        wxVtkMPR3DView  *_wxvtkmpr3Dview;
@@ -530,7 +531,7 @@ class creaMaracasVisu_EXPORT wxVtkMPR3DView
 {
 public:
        wxVtkMPR3DView( wxVtk3DBaseView *wxvtk3Dbaseview );
-       virtual ~wxVtkMPR3DView();
+       virtual ~wxVtkMPR3DView();      
        void                            VisibleImageActor(int idPosition, bool visible);
        void                            VisiblePointWidget( bool visible );
        void                            VisiblePlaneWidget( bool visible );
@@ -543,7 +544,7 @@ public:
        void                            SetVtkMPR3DDataViewer( vtkMPR3DDataViewer *vtkmpr3Ddataviewer );
        wxPanel*                        CreateControlPanel(wxWindow *parent);
 
-       vtkMPR3DDataViewer* GetVtkMPR3DDataViewer();
+       vtkMPR3DDataViewer* GetVtkMPR3DDataViewer()throw (char*);
        wxVtk3DBaseView*        GetWxvtk3Dbaseview();
 
        void                            InitOrientationPointWidget(); 
@@ -552,6 +553,8 @@ public:
        void                            TestLoic1();
        void                            TestLoic2();
 
+       void RemoveActor(vtkActor* actor);
+       void ResetCamera(int *ext=NULL, double* origin=NULL,double* spc=NULL);
 
 private:
        wxVtk3DBaseView                                 *_wxvtk3Dbaseview;
@@ -566,6 +569,10 @@ private:
        // Point Widget (3D)
        vtkPointWidget                                  *_pointWidget;
        vtkmyPWCallback_3DPointWidget   *_myCallback;
+       vtkProbeFilter *_probe;
+       vtkPolyDataMapper *_contourMapper;
+
+       
 
 protected:
 };
@@ -594,7 +601,7 @@ public:
        void                                            SetVisibleBoxVolume(bool visible);
        void                                            SetRepSurfaceWireFrame(int idTissue , bool typeRepresentation );
 
-       wxVtk3DBaseView*                        GetWxvtk3Dbaseview();
+       wxVtk3DBaseView*                        GetWxvtk3Dbaseview()throw(char*);
 
 private:
        wxVtk3DBaseView                                 *_wxvtk3Dbaseview;
@@ -815,6 +822,7 @@ private:
        vtkImageData                                    *_histogrammeVector;
        vtkXYPlotActor                                  *_xyplot;
        wxVtkBaseView                                   *_wxvtkbaseView;
+       vtkRenderer                                             *_renplotter;
 
        void    CreateModel();
        void    CreateInterface();
@@ -965,7 +973,7 @@ public:
        //returns the 2d view of the specific direction (0|1|2)
        wxVtkMPR2DView *GetWxvtkMPR2Dview(int direction);
 
-       void setMarImage(marImageData *marimageData, double voxelsize);
+       void setImageData(vtkImageData * img, double voxelsize);
 
 private:
        double                                  _voxelSize;