Salome HOME
AIS presentation for a curve creator
[modules/hydro.git] / src / HYDROCurveCreator / CurveCreator_AISCurve.cxx
1 // Copyright (C) 2013  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19
20 #include "CurveCreator_AISCurve.hxx"
21
22 IMPLEMENT_STANDARD_HANDLE(CurveCreator_AISCurve, AIS_Shape)
23 IMPLEMENT_STANDARD_RTTIEXT(CurveCreator_AISCurve, AIS_Shape)
24
25 CurveCreator_AISCurve::CurveCreator_AISCurve()
26 : AIS_Shape( TopoDS_Shape() )
27 {
28 }
29
30 void CurveCreator_AISCurve::Compute( const Handle(PrsMgr_PresentationManager3d)& thePM,
31                                      const Handle(Prs3d_Presentation)& thePrs,
32                                      const Standard_Integer theMode )
33 {
34   AIS_Shape::Compute( thePM, thePrs, theMode );
35 }
36
37 void CurveCreator_AISCurve::ComputeSelection( const Handle(SelectMgr_Selection)& theSelection,
38                                               const Standard_Integer theMode )
39 {
40   AIS_Shape::ComputeSelection( theSelection, theMode );
41 }