]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
initial SPV3D support
authormbs <martin.bernhard@opencascade.com>
Sun, 26 Mar 2023 00:54:21 +0000 (00:54 +0000)
committermbs <martin.bernhard@opencascade.com>
Mon, 27 Mar 2023 07:26:19 +0000 (08:26 +0100)
src/SMESHGUI/SMESHGUI_Displayer.cxx

index 7c76db556ba6b1d90429c2ac79e52aa7f3b87212..8d588ebb3cd6cd274b8feb5fef9b53b2808f22fb 100644 (file)
@@ -37,6 +37,9 @@
 #include <SVTK_ViewModel.h>
 #include <SVTK_ViewWindow.h>
 
+#include <SPV3D_ViewModel.h>
+#include <SPV3D_ViewWindow.h>
+
 
 // IDL includes
 #include <SALOMEconfig.h>
@@ -81,6 +84,14 @@ SALOME_Prs* SMESHGUI_Displayer::buildPresentation( const QString& entry, SALOME_
       else if( anActor )
         SMESH::RemoveActor( vtk_viewer->getViewManager()->getActiveView(), anActor );
     }
+    else 
+    {
+      SPV3D_ViewModel* pv3_viewer = dynamic_cast<SPV3D_ViewModel*>(aViewFrame);
+      if (pv3_viewer)
+      {
+        // NYI
+      }
+    }
   }
 
   return prs;