kernelManager->setInstant(instantVect);
//_modelManager->setInstant( _actualInstant );
+ updateActor();
updateInstantOutlines();
updateInstantImageData();
updateInstantAxes();
- updateActor();
}
//mapperImage->SetOutputFormatToRGBA( );
_thresholdActor->SetInput( mapperImage->GetOutput() );
+ printf("EED wxContourMainFrame::updateActor %d \n" , z);
+ _thresholdActor->SetPosition( 0,0, 900-1 );
}
}
if (_thresholdActor==NULL)
{
_thresholdActor = vtkImageActor::New( );
- _thresholdActor->SetInput( mapperImage->GetOutput() );
_thresholdActor->SetOpacity( 0.6 );
- _thresholdActor->SetPosition( 0,0, z+1 );
_thresholdActor->InterpolateOn( );
}
- else
- {
- _thresholdActor->SetInput( mapperImage->GetOutput() );
- }
+printf("EED wxContourMainFrame::onThreshold \n");
+ _thresholdActor->SetPosition( 0,0, z+1 );
+ _thresholdActor->SetInput( mapperImage->GetOutput() );
baseView->GetRenderer()->AddActor( _thresholdActor );
_actorPresent = true;
//mapperImage->SetOutputFormatToRGBA( );
_thresholdActor->SetInput( mapperImage->GetOutput() );
+printf("EED wxContourMainFrame::onThresholdChange \n");
+ _thresholdActor->SetPosition( 0,0, z+1 );
+
}
RefreshInterface();