Salome HOME
refs #568: use ordered list view with selection synchronized with object browser...
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_VTKPrsBathymetryDriver.h
index 37bee6935a312dde0aae7185a814399e6e1b25b1..e79ba6318489f3f55076fa6d95c2b90217ced0aa 100644 (file)
@@ -1,12 +1,8 @@
-// Copyright (C) 2007-2013  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
-//
+// Copyright (C) 2014-2015  EDF-R&D
 // 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
@@ -23,7 +19,9 @@
 #ifndef HYDROGUI_VTKPrsBathymetryDRIVER_H
 #define HYDROGUI_VTKPrsBathymetryDRIVER_H
 
-#include <HYDROGUI_VTKPrsDriver.h>
+#include "HYDROGUI_VTKPrsDriver.h"
+
+#include <vtkScalarBarActor.h>
 
 /**
  * \class HYDROGUI_VTKPrsBathymetryDriver
@@ -35,7 +33,7 @@ public:
   /**
    * \brief Constructor.
    */
-  HYDROGUI_VTKPrsBathymetryDriver();
+  HYDROGUI_VTKPrsBathymetryDriver( vtkScalarBarActor* theScalarBar );
 
   /**
    * \brief Destructor.
@@ -51,6 +49,9 @@ public:
    */
   virtual bool Update( const Handle(HYDROData_Entity)& theObj,
                        HYDROGUI_VTKPrs*& thePrs );
+
+private:
+  vtkScalarBarActor* myScalarBar;
 };
 
 #endif