Salome HOME
SALOME 9.1.0 Windows version
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_MeshEditPreview.h
index 7d68f921b053732ed84cfd795a1f0ea6a3b9fb0b..6d58999adab417e621e242ec3fecd9a3d6c1ad17 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -6,7 +6,7 @@
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -37,10 +37,8 @@ class SVTK_ViewWindow;
 class vtkTextActor;
 class vtkUnstructuredGrid;
 
-namespace SMESH
-{
-  class MeshPreviewStruct;
-}
+#include <SALOMEconfig.h>
+#include CORBA_SERVER_HEADER(SMESH_Mesh)
 
 /*!
  * \brief Displayer of the mesh edition preview
@@ -59,7 +57,7 @@ public:
   SMESHGUI_MeshEditPreview( SVTK_ViewWindow* );
   ~SMESHGUI_MeshEditPreview();
 
-  void                 SetData( const SMESH::MeshPreviewStruct* );
+  void                 SetData( const SMESH::MeshPreviewStruct_var );
 
   void                 SetVisibility( bool );
   void                 SetColor( double, double, double );
@@ -74,6 +72,7 @@ public:
 
   SALOME_Actor*        GetActor() const;
   vtkUnstructuredGrid* GetGrid() const;
+  SVTK_ViewWindow*     GetViewWindow() const;
 };
 
 #endif // SMESHGUI_MESHEDITPREVIEW_H