0031668: Visualization - WebGL sample doesn't work on Emscripten 1.39
[occt.git] / src / StepFEA / StepFEA_ElementGeometricRelationship.hxx
1 // Created on: 2003-02-04
2 // Created by: data exchange team
3 // Copyright (c) 2003-2014 OPEN CASCADE SAS
4 //
5 // This file is part of Open CASCADE Technology software library.
6 //
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
12 //
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
15
16 #ifndef _StepFEA_ElementGeometricRelationship_HeaderFile
17 #define _StepFEA_ElementGeometricRelationship_HeaderFile
18
19 #include <Standard.hxx>
20 #include <Standard_Type.hxx>
21
22 #include <StepFEA_ElementOrElementGroup.hxx>
23 #include <StepElement_ElementAspect.hxx>
24 #include <Standard_Transient.hxx>
25 class StepElement_AnalysisItemWithinRepresentation;
26 class StepFEA_ElementOrElementGroup;
27 class StepElement_ElementAspect;
28
29
30 class StepFEA_ElementGeometricRelationship;
31 DEFINE_STANDARD_HANDLE(StepFEA_ElementGeometricRelationship, Standard_Transient)
32
33 //! Representation of STEP entity ElementGeometricRelationship
34 class StepFEA_ElementGeometricRelationship : public Standard_Transient
35 {
36
37 public:
38
39   
40   //! Empty constructor
41   Standard_EXPORT StepFEA_ElementGeometricRelationship();
42   
43   //! Initialize all fields (own and inherited)
44   Standard_EXPORT void Init (const StepFEA_ElementOrElementGroup& aElementRef, const Handle(StepElement_AnalysisItemWithinRepresentation)& aItem, const StepElement_ElementAspect& aAspect);
45   
46   //! Returns field ElementRef
47   Standard_EXPORT StepFEA_ElementOrElementGroup ElementRef() const;
48   
49   //! Set field ElementRef
50   Standard_EXPORT void SetElementRef (const StepFEA_ElementOrElementGroup& ElementRef);
51   
52   //! Returns field Item
53   Standard_EXPORT Handle(StepElement_AnalysisItemWithinRepresentation) Item() const;
54   
55   //! Set field Item
56   Standard_EXPORT void SetItem (const Handle(StepElement_AnalysisItemWithinRepresentation)& Item);
57   
58   //! Returns field Aspect
59   Standard_EXPORT StepElement_ElementAspect Aspect() const;
60   
61   //! Set field Aspect
62   Standard_EXPORT void SetAspect (const StepElement_ElementAspect& Aspect);
63
64
65
66
67   DEFINE_STANDARD_RTTIEXT(StepFEA_ElementGeometricRelationship,Standard_Transient)
68
69 protected:
70
71
72
73
74 private:
75
76
77   StepFEA_ElementOrElementGroup theElementRef;
78   Handle(StepElement_AnalysisItemWithinRepresentation) theItem;
79   StepElement_ElementAspect theAspect;
80
81
82 };
83
84
85
86
87
88
89
90 #endif // _StepFEA_ElementGeometricRelationship_HeaderFile