File: STEPConstruct.hxx

package info (click to toggle)
oce 0.18.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 301,548 kB
  • sloc: cpp: 1,190,609; ansic: 67,225; sh: 11,630; tcl: 7,954; cs: 5,221; python: 2,867; java: 1,522; makefile: 342; xml: 292; perl: 37
file content (115 lines) | stat: -rw-r--r-- 4,259 bytes parent folder | download | duplicates (5)
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _STEPConstruct_HeaderFile
#define _STEPConstruct_HeaderFile

#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>

#include <Handle_StepRepr_RepresentationItem.hxx>
#include <Handle_Transfer_FinderProcess.hxx>
#include <Handle_Transfer_TransientProcess.hxx>
#include <Standard_Boolean.hxx>
#include <Handle_Transfer_Binder.hxx>
#include <Handle_StepShape_ShapeDefinitionRepresentation.hxx>
#include <Handle_StepShape_ContextDependentShapeRepresentation.hxx>
class StepRepr_RepresentationItem;
class Transfer_FinderProcess;
class TopoDS_Shape;
class TopLoc_Location;
class Transfer_TransientProcess;
class Transfer_Binder;
class StepShape_ShapeDefinitionRepresentation;
class StepShape_ContextDependentShapeRepresentation;
class STEPConstruct_Tool;
class STEPConstruct_UnitContext;
class STEPConstruct_Part;
class STEPConstruct_Assembly;
class STEPConstruct_Styles;
class STEPConstruct_ValidationProps;
class STEPConstruct_ExternRefs;
class STEPConstruct_AP203Context;
class STEPConstruct_ContextTool;
class STEPConstruct_DataMapOfAsciiStringTransient;
class STEPConstruct_PointHasher;
class STEPConstruct_DataMapOfPointTransient;
class STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient;
class STEPConstruct_DataMapIteratorOfDataMapOfAsciiStringTransient;
class STEPConstruct_DataMapNodeOfDataMapOfPointTransient;
class STEPConstruct_DataMapIteratorOfDataMapOfPointTransient;


//! Defines tools for creation and investigation STEP constructs
//! used for representing various kinds of data, such as product and
//! assembly structure, unit contexts, associated information
//! The creation of these structures is made according to currently
//! active schema (AP203 or AP214 CD2 or DIS)
//! This is taken from parameter write.step.schema
class STEPConstruct 
{
public:

  DEFINE_STANDARD_ALLOC

  
  //! Returns STEP entity of the (sub)type of RepresentationItem
  //! which is a result of the tranalation of the Shape, or Null if
  //! no result is recorded
  Standard_EXPORT static   Handle(StepRepr_RepresentationItem) FindEntity (const Handle(Transfer_FinderProcess)& FinderProcess, const TopoDS_Shape& Shape) ;
  
  //! The same as above, but in the case if item not found, repeats
  //! search on the same shape without location. The Loc corresponds to the
  //! location with which result is found (either location of the Shape,
  //! or Null)
  Standard_EXPORT static   Handle(StepRepr_RepresentationItem) FindEntity (const Handle(Transfer_FinderProcess)& FinderProcess, const TopoDS_Shape& Shape, TopLoc_Location& Loc) ;
  
  //! Returns Shape resulting from given STEP entity (Null if not mapped)
  Standard_EXPORT static   TopoDS_Shape FindShape (const Handle(Transfer_TransientProcess)& TransientProcess, const Handle(StepRepr_RepresentationItem)& item) ;
  
  //! Find CDSR correcponding to the component in the specified assembly
  Standard_EXPORT static   Standard_Boolean FindCDSR (const Handle(Transfer_Binder)& ComponentBinder, const Handle(StepShape_ShapeDefinitionRepresentation)& AssemblySDR, Handle(StepShape_ContextDependentShapeRepresentation)& ComponentCDSR) ;




protected:





private:




friend class STEPConstruct_Tool;
friend class STEPConstruct_UnitContext;
friend class STEPConstruct_Part;
friend class STEPConstruct_Assembly;
friend class STEPConstruct_Styles;
friend class STEPConstruct_ValidationProps;
friend class STEPConstruct_ExternRefs;
friend class STEPConstruct_AP203Context;
friend class STEPConstruct_ContextTool;
friend class STEPConstruct_DataMapOfAsciiStringTransient;
friend class STEPConstruct_PointHasher;
friend class STEPConstruct_DataMapOfPointTransient;
friend class STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient;
friend class STEPConstruct_DataMapIteratorOfDataMapOfAsciiStringTransient;
friend class STEPConstruct_DataMapNodeOfDataMapOfPointTransient;
friend class STEPConstruct_DataMapIteratorOfDataMapOfPointTransient;

};







#endif // _STEPConstruct_HeaderFile