VISU_GaussPtsAct
::UpdateInsideCursorSettings( PDeviceActor theActor )
{
+ if(!myInsideCursorSettings || myInsideCursorSettings->GetInitial())
+ return;
+
+ if(!myWidgetCtrl->GetEnabled())
+ return;
+
VISU_GaussPointsPL* aPipeline = theActor->GetPipeLine();
SALOME_ExtractGeometry* anExtractGeometry = aPipeline->GetExtractGeometryFilter();
aPipeline->SetImplicitFunction(anImplicitFunction); // To restore
- if(!myInsideCursorSettings || myInsideCursorSettings->GetInitial())
- return;
-
- if(!myWidgetCtrl->GetEnabled())
- return;
-
aPipeline->SetPrimitiveType( myInsideCursorSettings->GetPrimitiveType() );
aPipeline->SetClamp( myInsideCursorSettings->GetClamp() );
aPipeline->SetImageData( myInsideCursorSettings->GetTexture() );
VISU_GaussPtsAct1
::UpdateOutsideCursorSettings()
{
+ if(!myOutsideCursorSettings || myOutsideCursorSettings->GetInitial())
+ return;
+
+ if(!myWidgetCtrl->GetEnabled())
+ return;
+
VISU_GaussPointsPL* aPipeline = myOutsideDeviceActor->GetPipeLine();
SALOME_ExtractGeometry* anExtractGeometry = aPipeline->GetExtractGeometryFilter();
anExtractGeometry->SetExtractBoundaryCells(true);
anExtractGeometry->SetExtractInside(true);
- if(!myOutsideCursorSettings || myOutsideCursorSettings->GetInitial())
- return;
-
- if(!myWidgetCtrl->GetEnabled())
- return;
-
aPipeline->SetPrimitiveType( myOutsideCursorSettings->GetPrimitiveType() );
aPipeline->SetClamp( myOutsideCursorSettings->GetClamp() );
aPipeline->SetImageData( myOutsideCursorSettings->GetTexture() );