]> 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 bd3e8923b6e328a1926bce0cb95456d81b0d435e..7e20fb2849bddca52a85e9540bf6584b4edda502 100644 (file)
@@ -3,8 +3,8 @@
   Program:   wxMaracas
   Module:    $RCSfile: wxMaracasIRMViewManager.h,v $
   Language:  C++
-  Date:      $Date: 2009/05/04 07:35:42 $
-  Version:   $Revision: 1.4 $
+  Date:      $Date: 2009/05/14 13:54:35 $
+  Version:   $Revision: 1.5 $
 
   Copyright: (c) 2002, 2003
   License:
 #include <iostream>
 #include <vector>
 
-#include "vtkProp3D.h"
-#include "vtkRenderer.h"
-#include "vtkSTLReader.h"
-#include "vtkPolyDataMapper.h"
-#include "vtkActor.h"
-#include "vtkProperty.h"
-#include "vtkMetaImageReader.h"
-#include "vtkMarchingCubes.h"
-#include "vtkCleanPolyData.h"
-#include "vtkImageData.h"
+#include "wxMaracasIRMViewManagerData.h"
 
 
-
-
-class wxMaracasIRMViewManagerData  {
-
-public:
-       wxMaracasIRMViewManagerData(vtkProp3D* _prop3Dvect, std::string dataname="");
-       wxMaracasIRMViewManagerData(vtkImageData* imagedata, std::string dataname="");
-       ~wxMaracasIRMViewManagerData();
-
-       
-       /**
-       **      Adds a prop3D to the world of the application
-       **/
-       void setVtkImageData(vtkImageData* imagedata);
-       /**
-       **      Adds a prop3D to the world of the application
-       **/
-       void setProp3D(vtkProp3D* prop3D);
-       /**
-       **      Changes the opacity in a prop3D
-       **/
-       void changeOpacity(int value);
-       /**
-       **      changes the isovalue in a prop3D
-       **/
-       void changeIsoValue(double value);      
-       /**
-       **      Check if the variables are setted correctly
-       **/
-       void checkInvariant();
-       /**
-       **      get the prop3D 
-       **/
-       vtkProp3D* getProp3D();
-       /**
-       **      return the id from the daat
-       **/
-       int getId();
-       /**
-       **      set data id
-       **/
-       void setId(int propid);
-       /**
-       **      Get the filanme
-       **/
-    std::string getDataname();
-       /**
-       ** Set the filanme
-       **/
-    void setDataname(std::string dataname);
-       /**
-       **      Returns the grey max level of the image
-       **/
-
-       int getMaxGreyLevel();
-
-       /**
-       **      creates the image 
-       **/
-       void contourExtractor(int isovalue);
-
-       /**
-       **      Changes the color of the actor
-       **/
-       void changeColor(double red, double green, double blue);        
-       
-private:       
-       vtkProp3D* _prop3D;
-       vtkImageData* _imagedata;
-       int _id; 
-       std::string _dataname;
-       int _maxgreylevel;
-
-       /**
-       ** to the image render
-       **/
-       vtkMarchingCubes* _cubesFilter;
-       vtkCleanPolyData* _cleanFilter; 
-       vtkPolyDataMapper* _dataMapper;
-       
-       /**
-       ** Get's the max grey level of the image
-       **/
-       int getMaxLevel(vtkImageData* img);
-       
-
-       
-};
-
 class wxMaracasIRMViewManager  {
 
 public: