]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkBaseData.h
#2482 creaMaracasVisu Bug New - HighColorLayer refresh missing. The MPR is not...
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / vtkBaseData.h
index df0a4e68bb83f0d00a790f4c5e9fae4a812f90ee..7d72298b28a2a923ac07ae275d05d95c0884b6c9 100644 (file)
 #define VTKBASEDATA_H_
 
 #include "marTypes.h"
-
-#include "marImageData.h"
+#include "vtkCommand.h"
 #include "vtkImageData.h"
+#include "marImageData.h"
+
 
 class creaMaracasVisu_EXPORT vtkBaseData {
 public:
        vtkBaseData();
-       virtual ~vtkBaseData();
+       virtual                         ~vtkBaseData();
        vtkImageData*   GetImageData();
        marImageData*   GetMarImageData();
-                       void    SetMarImageData(marImageData *marimagedata);
+       void                            SetMarImageData(marImageData *marimagedata);
        virtual void    Configure();
        double                  GetZ();
-       void                    SetZ(double z);
+       void                            SetZ(double z);
 
        int                             GetT();
-       void                    SetT(double t);
+       void                            SetT(double t);
        
-       void SetColorWindow(double colorWindow);
-       void SetColorLevel(double colorLevel);  
-       double GetColorWindow();
-       double GetColorLevel(); 
+       void                            SetColorWindow(double colorWindow);
+       void                            SetColorLevel(double colorLevel);       
+       double                  GetColorWindow();
+       double                  GetColorLevel();        
+       void                            AddObserver(int eventNumber, vtkCommand *observer);
        
 protected:
        marImageData    *_marImageData;
@@ -57,6 +59,10 @@ protected:
        
        double                  _colorWindow;
        double                  _colorLevel;
+
+       vtkObject*              _observable;
+
+private:
 };
 
 #endif /*VTKBASEDATA_H_*/