0031642: Visualization - crash in Graphic3d_Structure::SetVisual() on redisplaying...
[occt.git] / src / Interface / Interface_HGraph.cxx
CommitLineData
973c2be1 1// Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 2//
973c2be1 3// This file is part of Open CASCADE Technology software library.
b311480e 4//
d5f74e42 5// This library is free software; you can redistribute it and/or modify it under
6// the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 7// by the Free Software Foundation, with special exception defined in the file
8// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
9// distribution for complete text of the license and disclaimer of any warranty.
b311480e 10//
973c2be1 11// Alternatively, this file may be used under the terms of Open CASCADE
12// commercial license or contractual agreement.
b311480e 13
7fd59977 14
42cf5bc1 15#include <Interface_GeneralLib.hxx>
16#include <Interface_Graph.hxx>
17#include <Interface_GTool.hxx>
18#include <Interface_HGraph.hxx>
19#include <Interface_InterfaceModel.hxx>
20#include <Interface_Protocol.hxx>
21#include <Standard_DomainError.hxx>
22#include <Standard_Type.hxx>
7fd59977 23
25e59720 24IMPLEMENT_STANDARD_RTTIEXT(Interface_HGraph,Standard_Transient)
92efcf78 25
b311480e 26Interface_HGraph::Interface_HGraph (const Interface_Graph& agraph)
7fd59977 27 : thegraph(agraph) { }
bc650d41 28
7fd59977 29
30 Interface_HGraph::Interface_HGraph
31 (const Handle(Interface_InterfaceModel)& amodel,
bc650d41
G
32 const Interface_GeneralLib& lib,
33 const Standard_Boolean theModeStat)
34 : thegraph (amodel,lib,theModeStat) { }
7fd59977 35
36
37 Interface_HGraph::Interface_HGraph
38 (const Handle(Interface_InterfaceModel)& amodel,
bc650d41
G
39 const Handle(Interface_Protocol)& protocol,
40 const Standard_Boolean theModeStat)
41 : thegraph (amodel,protocol,theModeStat) { }
7fd59977 42
43
44 Interface_HGraph::Interface_HGraph
45 (const Handle(Interface_InterfaceModel)& amodel,
bc650d41
G
46 const Handle(Interface_GTool)& gtool,
47 const Standard_Boolean theModeStat)
48 : thegraph (amodel,gtool,theModeStat) { }
7fd59977 49
50
51 Interface_HGraph::Interface_HGraph
bc650d41
G
52 (const Handle(Interface_InterfaceModel)& amodel,
53 const Standard_Boolean theModeStat)
54 : thegraph (amodel,theModeStat) { }
7fd59977 55
56
57 const Interface_Graph& Interface_HGraph::Graph () const
58 { return thegraph; }
59
60
61 Interface_Graph& Interface_HGraph::CGraph ()
62 { return thegraph; }