Salome HOME
updated copyright message
[modules/gui.git] / src / SVTK / SVTK_View.h
index 0542c24f9fa231426ae3ef84847a6848d81c4656..27ac712791770e226fee20d5e97e0bab92a681a6 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023  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
@@ -60,7 +60,7 @@ class QColor;
  */
 class SVTK_EXPORT SVTK_SignalHandler : public QObject
 {
-  Q_OBJECT;
+  Q_OBJECT
 
 public:
   SVTK_SignalHandler(SVTK_ViewWindow* theMainWindow);
@@ -117,7 +117,7 @@ public:
  */
 class SVTK_EXPORT SVTK_View : public SVTK_SignalHandler
 {
-  Q_OBJECT;
+  Q_OBJECT
 
 public:
   SVTK_View(SVTK_ViewWindow* theMainWindow);
@@ -212,11 +212,15 @@ public:
   //! Change material
   void
   SetMaterial(const Handle(SALOME_InteractiveObject)& theIObject,
-             vtkProperty* thePropF);
+             vtkProperty* thePropF, vtkProperty* thePropB);
 
-  //! Get current material
+  //! Get current front material
   vtkProperty* 
-  GetMaterial(const Handle(SALOME_InteractiveObject)& theIObject);
+  GetFrontMaterial(const Handle(SALOME_InteractiveObject)& theIObject);
+
+  //! Get current back material
+  vtkProperty* 
+  GetBackMaterial(const Handle(SALOME_InteractiveObject)& theIObject);
 
   //----------------------------------------------------------------------------
   // Erase Display functions