X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FThresholdImageView%2FLayerImageBase.h;h=5beffe7be8723c47013cc97fa9f9df165f63929d;hb=910aad6b5adef5024f896cc5a0daa79f1cda0661;hp=29c8940233ff29b8b1f23d592c12017025d4e21f;hpb=54bb3fba5f59ca71cb82d87043e21354dd85e7aa;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/LayerImageBase.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/LayerImageBase.h index 29c8940..5beffe7 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/LayerImageBase.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/ThresholdImageView/LayerImageBase.h @@ -21,6 +21,34 @@ #include #include "wxVtkBaseView.h" +#include "InteractorStyleMaracas.h" + +//---------------------------------------------------------------------------------- +//---------------------------------------------------------------------------------- +//---------------------------------------------------------------------------------- +class LayerImageBase; + +class ColorLayerImageBasevtkInteractor : public InteractorStyleMaracas { +public: + ColorLayerImageBasevtkInteractor(LayerImageBase* layerImageBase); + virtual ~ColorLayerImageBasevtkInteractor(); + + virtual bool OnMouseMove(); + +private: + LayerImageBase* _layerImageBase; + +protected: + +}; + + +//---------------------------------------------------------------------------------- +//---------------------------------------------------------------------------------- +//---------------------------------------------------------------------------------- + + + class LayerImageBase { public: @@ -37,6 +65,9 @@ class LayerImageBase void onThresholdRemove(); wxVtkBaseView *GetwxVtkBaseView(); void Refresh(); + vtkLookupTable *GetvtkLookupTable(); + vtkImageReslice *GetvtkImageReslice(); + virtual int GetZ(); private: int _Z; @@ -54,7 +85,6 @@ class LayerImageBase protected: - virtual int GetZ(); vtkLookupTable* GetThresholdTable(); vtkImageData* GetImage(); };