// Constructor
//----------------------
- Histogram::Histogram( wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, int flag,vtkImageData* imageData):
+//EED Borrame 07Mai2009
+//Histogram::Histogram( wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, int flag,vtkImageData* imageData):
+ Histogram::Histogram( wxWindow *parent, wxWindowID id, const wxPoint &pos, const wxSize &size, int flag):
wxPanel(parent,id,pos,size,flag)
{
SetBackgroundColour(wxColour(255,255,255));
//histogram
- histogram= new pHistogram(imageData);
+//EED Borrame 07Mai2009
+// histogram= new pHistogram(imageData);
//plotter
plotter=new pPlotterWindow(this, -1, wxPoint(0,0), wxSize(742,476), wxSUNKEN_BORDER );
idHistogram=-1;
+//EED Borrame 07Mai2009
//drawing
- drawHistogram();
+// drawHistogram();
}
delete plotter;
}
+
+ void Histogram::Configure(vtkImageData* imageData)
+ {
+ histogram= new pHistogram(imageData);
+ drawHistogram();
+ }
+
/*
Draw the histogram in the plotter
*/