Salome HOME
Merge changes for HYDRO project : hydro/imps_2017_salome_83 branch.
[modules/geom.git] / src / OBJECT / GEOM_AISVector.hxx
index 993e17c33920fdfdd7858a13858d70d63abcffcc..6b5279531bf2d3a0224915abf9fa930213eacdfc 100644 (file)
@@ -1,12 +1,12 @@
-// GEOM OBJECT : interactive object for Geometry entities visualization
+// Copyright (C) 2007-2016  CEA/DEN, EDF R&D, OPEN CASCADE
 //
-// Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
 //
 // 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
 //
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
-//
-//
+
+// GEOM OBJECT : interactive object for Geometry entities visualization
 // File   : GEOM_AISVector.hxx
 // Author : Julia DOROVSKIKH
 // Module : GEOM
-
+//
 #ifndef GEOM_AISVector_HeaderFile
 #define GEOM_AISVector_HeaderFile
 
@@ -54,8 +54,10 @@ protected:
                         const Handle(Prs3d_Presentation)& thePresentation,
                         const Standard_Integer theMode = 0);
 
+  virtual bool isShowVectors() {return true;}
+
 public:
-  DEFINE_STANDARD_RTTI (GEOM_AISVector)
+  DEFINE_STANDARD_RTTIEXT(GEOM_AISVector,GEOM_AISShape)
 };
 
 DEFINE_STANDARD_HANDLE(GEOM_AISVector, GEOM_AISShape)