]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasIRMViewManager.h
*** empty log message ***
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / wxMaracasIRMViewManager.h
index b3be47c7724a7f917617aeb84cf692ebb7906d7a..bd3e8923b6e328a1926bce0cb95456d81b0d435e 100644 (file)
@@ -3,8 +3,8 @@
   Program:   wxMaracas
   Module:    $RCSfile: wxMaracasIRMViewManager.h,v $
   Language:  C++
-  Date:      $Date: 2009/04/14 12:47:30 $
-  Version:   $Revision: 1.3 $
+  Date:      $Date: 2009/05/04 07:35:42 $
+  Version:   $Revision: 1.4 $
 
   Copyright: (c) 2002, 2003
   License:
@@ -61,7 +61,7 @@ public:
        /**
        **      changes the isovalue in a prop3D
        **/
-       void changeIsoValue(int value); 
+       void changeIsoValue(double value);      
        /**
        **      Check if the variables are setted correctly
        **/
@@ -100,7 +100,7 @@ public:
        /**
        **      Changes the color of the actor
        **/
-       void changeColor(double red, double green, double blue);
+       void changeColor(double red, double green, double blue);        
        
 private:       
        vtkProp3D* _prop3D;
@@ -110,10 +110,12 @@ private:
        int _maxgreylevel;
 
        /**
-       **
+       ** to the image render
        **/
+       vtkMarchingCubes* _cubesFilter;
+       vtkCleanPolyData* _cleanFilter; 
        vtkPolyDataMapper* _dataMapper;
-       vtkPolyData* _polydata;
+       
        /**
        ** Get's the max grey level of the image
        **/
@@ -140,7 +142,7 @@ public:
        /**
        **      Adds a prop3D to the manager and returns the identifier
        **/
-       int addPropMHD(vtkImageData* imagedata, std::string dataname);
+       int addPropMHD(vtkImageData* imagedata, std::string dataname) throw(char*);
        /**
        **      Changes the opacity in a prop3D
        **/
@@ -149,7 +151,7 @@ public:
        /**
        **      changes the isovalue in a prop3D
        **/
-       void changeIsoValue(int propid, int value)throw(char*);
+       void changeIsoValue(int propid, double value)throw(char*);
 
        /**
        **      loads a prop3D from a nSTL file
@@ -185,6 +187,8 @@ public:
        **      Changes the color of the actor
        **/
        void changeColor(int propid, double red, double green, double blue) throw(char*);
+
+       void deleteActor(int propid)throw (char *);
        
 private:       
        std::vector<wxMaracasIRMViewManagerData*> prop3Dvect;