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();
/*
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]
**/
std::vector<double>& blue);
+
private:
pHistogram* histogram;
*/
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);
//----------------------------------------------------------------------------