]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To sinchronize the UserMatrix of the mesh actor and all its devices
authorapo <apo@opencascade.com>
Tue, 17 Jan 2006 07:05:41 +0000 (07:05 +0000)
committerapo <apo@opencascade.com>
Tue, 17 Jan 2006 07:05:41 +0000 (07:05 +0000)
src/OBJECT/VISU_MeshAct.cxx

index bbdb2c9d5c4d9674c83e0f6e3680b71c358c94d2..b6b812d9f569abfbc9a91fcdce4cde1dedfb733c 100644 (file)
@@ -218,6 +218,10 @@ int
 VISU_MeshAct
 ::RenderOpaqueGeometry(vtkViewport *ren)
 {
+  GetMatrix(myNodeActor->GetUserMatrix());
+  GetMatrix(myEdgeActor->GetUserMatrix());
+  GetMatrix(mySurfaceActor->GetUserMatrix());
+
   using namespace SVTK::Representation;
   switch(GetRepresentation()){
   case Points : 
@@ -242,6 +246,10 @@ int
 VISU_MeshAct
 ::RenderTranslucentGeometry(vtkViewport *ren)
 {
+  GetMatrix(myNodeActor->GetUserMatrix());
+  GetMatrix(myEdgeActor->GetUserMatrix());
+  GetMatrix(mySurfaceActor->GetUserMatrix());
+
   using namespace SVTK::Representation;
   switch(GetRepresentation()){
   case Points :