summaryrefslogtreecommitdiff
path: root/inc/STEPConstruct_Tool.lxx
blob: 881286501c525887957174c422720c1a81a418a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
// File:	STEPConstruct_Tool.lxx
// Created:	Fri Sep 29 16:26:28 2000
// Author:	data exchange team
//		<det@doomox>

#include <Interface_InterfaceModel.hxx>
#include <Interface_Graph.hxx>
#include <Interface_HGraph.hxx>
#include <Transfer_TransientProcess.hxx>
#include <Transfer_FinderProcess.hxx>
#include <XSControl_WorkSession.hxx>

//=======================================================================
//function : WS
//purpose  : 
//=======================================================================

inline const Handle(XSControl_WorkSession) &STEPConstruct_Tool::WS() const
{
  return myWS;
}

//=======================================================================
//function : Model
//purpose  : 
//=======================================================================

inline Handle(Interface_InterfaceModel) STEPConstruct_Tool::Model() const
{
  return myWS->Model();
}

//=======================================================================
//function : Graph
//purpose  : 
//=======================================================================

inline const Interface_Graph &STEPConstruct_Tool::Graph (const Standard_Boolean recompute) const
{
  // Note: myWS->Graph() recomputes graph each time!
  return recompute ? myWS->Graph() : myHGraph->Graph();
}

//=======================================================================
//function : TransientProcess
//purpose  : 
//=======================================================================

inline const Handle(Transfer_TransientProcess) &STEPConstruct_Tool::TransientProcess() const
{
  return myTransientProcess;
}

//=======================================================================
//function : FinderProcess
//purpose  : 
//=======================================================================

inline const Handle(Transfer_FinderProcess) &STEPConstruct_Tool::FinderProcess() const
{
  return myFinderProcess;
}