}
- if (_state==true)
+ if ( (_state==true) && (_layerImageBase->GetActorPresent()) )
{
wxVtk2DBaseView *wxvtk2Dbaseview = (wxVtk2DBaseView*) _vtkInteractorStyleBaseView->GetWxVtk2DBaseView();
wxVTKRenderWindowInteractor *wxVTKiren = wxvtk2Dbaseview->GetWxVTKRenderWindowInteractor();
virtual int GetX();
virtual int GetY();
virtual int GetZ();
+ bool GetActorPresent();
private:
int _X;
vtkImageActor *_thresholdActor;
wxVtkBaseView *_baseView;
- virtual void ConfigLookupTable() = 0;
- bool GetActorPresent();
+ virtual void ConfigLookupTable() = 0;
void CleanXYZ(double &x, double &y, double &z);
void pHistogram::setPoints(vtkImageData* imageData)
{
+printf("EED pHistogram::setPoints Trinng new histogram ..\n");
+/*
printf("EED pHistogram::setPoints Test: vtkPComputeHistogram2DOutliers\n");
vtkComputeHistogram2DOutliers *vtkhist = vtkComputeHistogram2DOutliers::New();
vtkhist->SetPreferredNumberOfOutliers(10);
printf("EED pHistogram::setPoints rows:%d\n", (int)(resulttable->GetNumberOfRows()) );
printf("EED pHistogram::setPoints colums:%d\n", (int)(resulttable->GetNumberOfColumns()) );
+*/
/*
Pointers