X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_Actor.h;h=1d4af128eb57e961b13397df6a2b5e6a74642f51;hb=b8b330bd3b77a53aa65978028660880d7b32412f;hp=19d6eb53e9a6ca0955cb46747e7f213635907a34;hpb=94e41385896064b100d11c5d86109f038fa08fc0;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_Actor.h b/src/HYDROGUI/HYDROGUI_Actor.h index 19d6eb53..1d4af128 100644 --- a/src/HYDROGUI/HYDROGUI_Actor.h +++ b/src/HYDROGUI/HYDROGUI_Actor.h @@ -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