//---------------------------------------------------------------------------------------------
bool ColorLayerImageBasevtkInteractor::OnMouseMove()
{
-
+ printf("EED ColorLayerImageBasevtkInteractor::OnMouseMove \n");
if (_vtkInteractorStyleBaseView->GetRefresh_waiting()==true)
{
_layerImageBase->GetvtkImageReslice()->Modified();
//----------------------------------------------------------------------------
void LayerImageBase::SetwxVtkBaseView(wxVtkBaseView *baseview)
{
+ printf("EED LayerImageBase::SetwxVtkBaseView start baseview:%p \n", baseview);
+
_baseView = baseview;
vtkInteractorStyleBaseView *isbv = (vtkInteractorStyleBaseView*)(_baseView->GetInteractorStyleBaseView());
isbv->AddInteractorStyleMaracas( new ColorLayerImageBasevtkInteractor(this) );
+
+ printf("EED LayerImageBase::SetwxVtkBaseView end \n");
}
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
void LayerImageBase::onThreshold()
{
-
+
+ printf("EED LayerImageBase::onThreshold start \n");
+
if ((_image!=NULL) && (_baseView!=NULL))
{
int z=CleanZ( GetZ() );
_thresholdMapper->SetInput( img );
_thresholdMapper->SetLookupTable( _thresholdTable );
_thresholdActor->SetInput( _thresholdMapper->GetOutput() );
+
+ printf("EED LayerImageBase::onThreshold working \n");
+
+
} // _image
+ printf("EED LayerImageBase::onThreshold end");
}