mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-05-06 14:50:47 +05:00
To miss internal triangulation for representation of the quadratic mesh elements
This commit is contained in:
parent
4b49d04d08
commit
8484e26c12
@ -547,14 +547,22 @@ void SMESH_DeviceActor::SetRepresentation(EReperesent theMode){
|
|||||||
switch(theMode){
|
switch(theMode){
|
||||||
case ePoint:
|
case ePoint:
|
||||||
myGeomFilter->SetInside(true);
|
myGeomFilter->SetInside(true);
|
||||||
|
myGeomFilter->SetWireframeMode(false);
|
||||||
GetProperty()->SetRepresentation(0);
|
GetProperty()->SetRepresentation(0);
|
||||||
break;
|
break;
|
||||||
|
case eWireframe:
|
||||||
|
myGeomFilter->SetInside(false);
|
||||||
|
myGeomFilter->SetWireframeMode(true);
|
||||||
|
GetProperty()->SetRepresentation(theMode);
|
||||||
|
break;
|
||||||
case eInsideframe:
|
case eInsideframe:
|
||||||
myGeomFilter->SetInside(true);
|
myGeomFilter->SetInside(true);
|
||||||
|
myGeomFilter->SetWireframeMode(true);
|
||||||
GetProperty()->SetRepresentation(1);
|
GetProperty()->SetRepresentation(1);
|
||||||
break;
|
break;
|
||||||
default :
|
case eSurface:
|
||||||
myGeomFilter->SetInside(false);
|
myGeomFilter->SetInside(false);
|
||||||
|
myGeomFilter->SetWireframeMode(false);
|
||||||
GetProperty()->SetRepresentation(theMode);
|
GetProperty()->SetRepresentation(theMode);
|
||||||
}
|
}
|
||||||
myRepresentation = theMode;
|
myRepresentation = theMode;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user