my1DExtActor->VisibilityOn();
break;
case eLength2D:
- my1DExtActor->VisibilityOn();
case eMultiConnection2D:
my1DExtActor->VisibilityOn();
default:
if(myRepresentation != ePoint)
myPickableActor->VisibilityOn();
+ else {
+ myNodeActor->VisibilityOn();
+ }
- if(myEntityMode & eEdges)
+ if(myEntityMode & eEdges){
my1DActor->VisibilityOn();
+ }
- if(myEntityMode & eFaces)
+ if(myEntityMode & eFaces){
my2DActor->VisibilityOn();
+ }
- if(myEntityMode & eVolumes)
+ if(myEntityMode & eVolumes){
my3DActor->VisibilityOn();
+ }
if(myIsPointsLabeled)
myPointLabels->VisibilityOn();
vtkProperty *aProp = NULL, *aBackProp = NULL;
SMESH_DeviceActor::EReperesent aReperesent = SMESH_DeviceActor::EReperesent(-1);
switch(myRepresentation){
- case ePoint:
+ case ePoint:
myPickableActor = myNodeActor;
myNodeActor->SetVisibility(true);
if(myIsPointsVisible)
myPickableActor = myNodeActor;
-
if(GetPointRepresentation())
myNodeActor->SetVisibility(true);