X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FpPlotter%2FHistogram.cxx;h=459cc18a40b73ffb2f507ab48a7325824642900e;hb=63ee187ed08495d67c09ebb243227175f144615d;hp=8526658a8478c34a4e991edcecb798e204b59d73;hpb=63a0a21e6736a800c58442edd531c91d75e71694;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/Histogram.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/Histogram.cxx index 8526658..459cc18 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/Histogram.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/pPlotter/Histogram.cxx @@ -95,7 +95,7 @@ END_EVENT_TABLE() } - void Histogram::Configure(vtkImageData* imageData) + void Histogram::Configure(vtkImageData* imageData) { histogram= new pHistogram(imageData); drawHistogram(); @@ -166,6 +166,7 @@ END_EVENT_TABLE() int scrX,scrY; GetClientSize(&scrX,&scrY); plotter->SetSize(scrX,scrY); + /* pGraphicalFunction* actual=plotter->getFunction(idTransferenceFunction); actual->setScreens(scrX,scrY); @@ -192,4 +193,15 @@ END_EVENT_TABLE() return histogramSize; } + wxWindow* Histogram::GetWindow() + { + return this; + } + + pPlotterWindow* Histogram::GetPlotterWindow() + { + return plotter; + } + +