]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
To miss internal triangulation for representation of the quadratic mesh elements
authorapo <apo@opencascade.com>
Tue, 7 Mar 2006 14:25:02 +0000 (14:25 +0000)
committerapo <apo@opencascade.com>
Tue, 7 Mar 2006 14:25:02 +0000 (14:25 +0000)
src/OBJECT/SMESH_DeviceActor.cxx

index 50e2582137f5b3b47ad44f608a0322f299f65847..28670e6bef7302f017887740615bed1380d270df 100644 (file)
@@ -547,14 +547,22 @@ void SMESH_DeviceActor::SetRepresentation(EReperesent theMode){
   switch(theMode){
   case ePoint:
     myGeomFilter->SetInside(true);
+    myGeomFilter->SetWireframeMode(false);
     GetProperty()->SetRepresentation(0);
     break;
+  case eWireframe:
+    myGeomFilter->SetInside(false);
+    myGeomFilter->SetWireframeMode(true);
+    GetProperty()->SetRepresentation(theMode);
+    break;
   case eInsideframe:
     myGeomFilter->SetInside(true);
+    myGeomFilter->SetWireframeMode(true);
     GetProperty()->SetRepresentation(1);
     break;
-  default :
+  case eSurface:
     myGeomFilter->SetInside(false);
+    myGeomFilter->SetWireframeMode(false);
     GetProperty()->SetRepresentation(theMode);
   }
   myRepresentation = theMode;