if ( !mySelector || !mySelector->IsSelectionEnabled() )
{
myBaseActor->SetUnstructuredGrid( NULL );
- myHighlitableActor->SetUnstructuredGrid( NULL );
+ //myHighlitableActor->SetUnstructuredGrid( NULL );
}
theRenderer->AddActor(myBaseActor);
theRenderer->AddActor(myNodeExtActor);
case SMESH_DeviceActor::eSurface:
case SMESH_DeviceActor::eWireframe:
{
- // if ( !mySelector || !mySelector->IsSelectionEnabled() )
- // myHighlitableActor->SetUnstructuredGrid( NULL );
- // else if ( !myHighlitableActor->myExtractUnstructuredGrid->GetInput() )
- // myHighlitableActor->SetUnstructuredGrid(myVisualObj->GetUnstructuredGrid());
-
if(myIsHighlighted) {
myHighlitableActor->SetProperty(myHighlightProp);
}else if(myIsPreselected){
if ( enable && ! myBaseActor->myExtractUnstructuredGrid->GetInput() )
{
myBaseActor->SetUnstructuredGrid(myVisualObj->GetUnstructuredGrid());
- myHighlitableActor->SetUnstructuredGrid(myVisualObj->GetUnstructuredGrid());
+ //myHighlitableActor->SetUnstructuredGrid(myVisualObj->GetUnstructuredGrid());
myBaseActor->myExtractUnstructuredGrid->Update();
- myHighlitableActor->myExtractUnstructuredGrid->Update();
+ //myHighlitableActor->myExtractUnstructuredGrid->Update();
}
if ( !enable && myBaseActor->myExtractUnstructuredGrid->GetInput() )
{
myBaseActor->SetUnstructuredGrid( NULL );
- myHighlitableActor->SetUnstructuredGrid( NULL );
+ //myHighlitableActor->SetUnstructuredGrid( NULL );
myBaseActor->myExtractUnstructuredGrid->Update();
- myHighlitableActor->myExtractUnstructuredGrid->Update();
+ //myHighlitableActor->myExtractUnstructuredGrid->Update();
}
}
if ( !mySelector || !mySelector->IsSelectionEnabled() )
{
myBaseActor->SetUnstructuredGrid( NULL );
- myHighlitableActor->SetUnstructuredGrid( NULL );
+ //myHighlitableActor->SetUnstructuredGrid( NULL );
}
my1DActor->SetPlaneCollection( myPlaneCollection );
my1DActor->SetUnstructuredGrid(myVisualObj->GetUnstructuredGrid());