X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FpPlotter%2FHistogram.h;h=01071f720b72bd8c0a86993a45a212dfb05e488c;hb=d6fb1d5d3e478c70b90f5a4e27874e1478905195;hp=3bd3b081ec785efaf2680abd6461d422f09d3f9d;hpb=e4ef2b5df5aac431ff3b806f83b7dd5e55e89d86;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/Histogram.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/Histogram.h index 3bd3b08..01071f7 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/Histogram.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/Histogram.h @@ -41,10 +41,11 @@ #include #endif +#include "HistogramBase.h" #include "marTypes.h" #include "pPlotterWindow.h" #include "pFunctionPoint.h" -#include "vtkImageData.h" +#include "vtkImageData.h" #include "pHistogram.h" #include "pPlotterScaleY.h" #include "pPlotterScaleX.h" @@ -53,7 +54,7 @@ #define NUM_POINTS 100 #define WINDOW_SIZE 10 -class creaMaracasVisu_EXPORT Histogram:public wxPanel +class creaMaracasVisu_EXPORT Histogram:public wxPanel, HistogramBase { public: //--------------------- @@ -87,14 +88,16 @@ public: */ int getHistogramPoint(int gValue); int getHistogramSize(); - void Configure(vtkImageData* imageData); - + pPlotterWindow* GetPlotterWindow(); + virtual void Configure(vtkImageData* imageData); + virtual wxWindow* GetWindow(); + private: pHistogram* histogram; pPlotterWindow* plotter; - int histogramSize; - int idHistogram; + int histogramSize; + int idHistogram; DECLARE_CLASS(Histogram);