SetWidgetCtrl(NULL);
SetInteractor(NULL);
SetPickingSettings(NULL);
+ SetInsideCursorSettings(NULL);
}
myInsideCursorSettings = theInsideCursorSettings;
- if(theInsideCursorSettings)
+ if(theInsideCursorSettings){
theInsideCursorSettings->AddObserver(VISU::UpdateInsideSettingsEvent,
myEventCallbackCommand.GetPointer(),
myPriority);
+ UpdateInsideCursorSettings();
+ }
}
void
if(!myInsideCursorSettings || myInsideCursorSettings->GetInitial())
return;
- if(!myWidgetCtrl || !myWidgetCtrl->GetEnabled())
- return;
-
VISU_GaussPointsPL* aPipeline = theActor->GetPipeLine();
SALOME_ExtractGeometry* anExtractGeometry = aPipeline->GetExtractGeometryFilter();
else
theActor->GetProperty()->SetRepresentation( VTK_SURFACE );
- //aPipeLine->Update();
+ aPipeline->Update();
Update();
}
theOutsideCursorSettings->AddObserver(VISU::UpdateOutsideSettingsEvent,
myEventCallbackCommand.GetPointer(),
myPriority);
- this->UpdateOutsideCursorSettings();
+ UpdateOutsideCursorSettings();
}
}
if(!myOutsideCursorSettings || myOutsideCursorSettings->GetInitial())
return;
- if(!myWidgetCtrl || !myWidgetCtrl->GetEnabled())
- return;
-
VISU_GaussPointsPL* aPipeline = myOutsideDeviceActor->GetPipeLine();
SALOME_ExtractGeometry* anExtractGeometry = aPipeline->GetExtractGeometryFilter();