img->Update();
img->UpdateInformation();
- wxVtkBaseView * baseView = _theViewPanel->getWxVtkBaseView();
+//EED??? wxVtkBaseView * baseView = _theViewPanel->getWxVtkBaseView();
double range[2];
img->GetScalarRange(range);
_refLineModel->SetCloseContour(false);
_refLineControl->CreateNewManualContour();
- double z = _refLineControl->GetZ();
+//EED?? double z = _refLineControl->GetZ();
/*
_refLineControl->AddPoint(50,100,z);
_refLineControl->AddPoint(80,40,z);
_thresholdActor = vtkImageActor::New( );
_thresholdActor->SetInput( mapperImage->GetOutput() );
_thresholdActor->SetOpacity( 0.6 );
- _thresholdActor->InterpolateOn( );
+ _thresholdActor->SetPosition( 0,0, z+1 );
+ _thresholdActor->InterpolateOn( );
}
else
{
img->Update();
img->UpdateInformation();
- wxVtkBaseView * baseView = _theViewPanel->getWxVtkBaseView();
+//EED?? wxVtkBaseView * baseView = _theViewPanel->getWxVtkBaseView();
double range[2];
img->GetScalarRange(range);