Salome HOME
refs #1508
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Actor.h
index 19d6eb53e9a6ca0955cb46747e7f213635907a34..1d4af128eb57e961b13397df6a2b5e6a74642f51 100644 (file)
@@ -1,3 +1,20 @@
+// 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, 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
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
 
 #ifndef HYDROGUI_ACTOR_H
 #define HYDROGUI_ACTOR_H
@@ -10,14 +27,17 @@ public:
   vtkTypeMacro( HYDROGUI_Actor, GEOM_Actor );
   static HYDROGUI_Actor* New();
 
-  void SetMapper( vtkMapper* theMapper );
-
-  //virtual double* GetBounds();
   virtual void SetTransform( VTKViewer_Transform* theTransform );
 
   void SetShape(const TopoDS_Shape& theShape,
                 float theDeflection,
                 bool theIsVector = false);
+
+  protected:
+  virtual void SetMapper(vtkMapper*);
+
+  HYDROGUI_Actor();
+  ~HYDROGUI_Actor();
 };
 
 #endif