VISU_GaussPtsAct
::SetImplicitFunctionWidget(VISU_ImplicitFunctionWidget* theWidget)
{
- if(MYDEBUG) MESSAGE("VISU_GaussPtsAct::SetImplicitFunctionWidget - this = "<<this);
if(myWidget == theWidget)
return;
+ if(MYDEBUG) MESSAGE("VISU_GaussPtsAct::SetImplicitFunctionWidget - this = "<<this<<"; theWidget = "<<theWidget);
+
if(myWidget)
myWidget->RemoveObserver(myEventCallbackCommand.GetPointer());
aLookupTable->GetColor(aVal,aColor);
mySphereActor->GetProperty()->SetColor(aColor);
//
- float aPyramidHeight=myPickingSettings->GetPyramidHeight();
+ float aPyramidHeight = myPickingSettings->GetPyramidHeight();
aPyramidHeight=aPyramidHeight*myGaussPointsPL->GetMaxPointSize();
myCursorPyramid->Init(aPyramidHeight,
aRadius,
VISU_GaussPointsPL* aPipeLine = dynamic_cast<VISU_GaussPointsPL*>(thePipeLine);
myInsideDeviceActor->ShallowCopyPL(aPipeLine);
-
- //myOutsideDeviceActor->ShallowCopyPL(aPipeLine);
- myOutsideDeviceActor->GetMapper()->ScalarVisibilityOff();
- myOutsideDeviceActor->GetPipeLine()->SetExtractInside(true);
-
- // Restore implicit function
- if(myWidget){
- vtkImplicitFunction* aFunction = myWidget->ImplicitFunction();
-
- myInsideDeviceActor->GetPipeLine()->SetImplicitFunction(aFunction);
-
- myOutsideDeviceActor->GetPipeLine()->SetImplicitFunction(aFunction);
- }
}
//----------------------------------------------------------------------------
myOutsideDeviceActor->GetProperty()->SetColor(myOutsideCursorSettings->GetColor());
- cout << "UpdateOutsideCursorSettings" << endl;
- cout << this << endl;
- cout << myOutsideDeviceActor << endl;
- cout << aMapper << endl;
-
Update();
}