VISU_GaussPtsAct::highlight(bool theHighlight,
Selection_Mode theSelectionMode)
{
- myTextActor->SetVisibility(theHighlight);
- myCursorPyramidSelected->SetVisibility(theHighlight);
- myCursorPyramid->SetVisibility(theHighlight);
- myCellActor->SetVisibility(theHighlight);
- GetScalarBarCtrl()->SetIsMarked(theHighlight);
+ myTextActor->SetVisibility(0);
+ myCursorPyramidSelected->SetVisibility(0);
+ myCursorPyramid->SetVisibility(0);
+ myCellActor->SetVisibility(0);
+ GetScalarBarCtrl()->SetIsMarked(false);
GetScalarBarCtrl()->Update();
}
//==================================================================
void VISU_GaussPtsAct::highlight(bool theHighlight,
SVTK_Selector* theSelector)
{
- highlight( mySelectionMode != ActorSelection, mySelectionMode );
-
TColStd_IndexedMapOfInteger aMapIndex;
//
theSelector->GetIndex( getIO(), aMapIndex );
aRadius,
aNodeCoord,
myHighlightProperty.GetPointer()->GetColor());
- //myCursorPyramidSelected->SetVisibility(1);
+ myCursorPyramidSelected->SetVisibility(1);
//
const VISU::PGaussPtsIDMapper& aGaussPtsIDMapper =
myGaussPointsPL->GetGaussPtsIDMapper();