X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FpPlotter%2FHistogramWidget.h;h=e04bbb150662f63a4bfdf8378b6547ee52ef892c;hb=65c158dc171f8d3114ee3544b2a94a1f41880df0;hp=3947d320424c585061008a0c64df0f85f3994e7d;hpb=cc00f80af2e160ce2af3ddd2903c4a41c023cc94;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/HistogramWidget.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/HistogramWidget.h index 3947d32..e04bbb1 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/HistogramWidget.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/HistogramWidget.h @@ -41,7 +41,7 @@ public: HistogramWidget( wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, int flag,vtkImageData* imageData,int type); HistogramWidget( wxWindow *parent, wxWindowID id); - void initializeHistogram(vtkImageData* img); + ~HistogramWidget(); /* @@ -136,6 +136,10 @@ public: int getHistogramSize(); void setType(int type); + /** + ** Initialize the histogram + */ + void initializeHistogram(vtkImageData* img); /** ** Returns two vectors, the grey level of the point and its value, the value is between [0,1] **/ @@ -151,6 +155,7 @@ public: std::vector& blue); + private: pHistogram* histogram; @@ -165,11 +170,12 @@ private: */ bool transferenceFunctionHasPoints; bool transferenceFunctionHasColor; + wxPanel* getControls(); /* * type=1 with transference function for moving * type=2 without transference function for moving */ - int type; + int type; DECLARE_CLASS(HistogramWidget); //----------------------------------------------------------------------------