42cf5bc1 |
1 | // Created on: 2002-12-12 |
2 | // Created by: data exchange team |
3 | // Copyright (c) 2002-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_Volume3dElementRepresentation_HeaderFile |
17 | #define _StepFEA_Volume3dElementRepresentation_HeaderFile |
18 | |
19 | #include <Standard.hxx> |
20 | #include <Standard_Type.hxx> |
21 | |
22 | #include <StepFEA_ElementRepresentation.hxx> |
23 | #include <StepRepr_HArray1OfRepresentationItem.hxx> |
24 | #include <StepFEA_HArray1OfNodeRepresentation.hxx> |
25 | class StepFEA_FeaModel3d; |
26 | class StepElement_Volume3dElementDescriptor; |
27 | class StepElement_ElementMaterial; |
28 | class TCollection_HAsciiString; |
29 | class StepRepr_RepresentationContext; |
30 | |
31 | |
32 | class StepFEA_Volume3dElementRepresentation; |
33 | DEFINE_STANDARD_HANDLE(StepFEA_Volume3dElementRepresentation, StepFEA_ElementRepresentation) |
34 | |
35 | //! Representation of STEP entity Volume3dElementRepresentation |
36 | class StepFEA_Volume3dElementRepresentation : public StepFEA_ElementRepresentation |
37 | { |
38 | |
39 | public: |
40 | |
41 | |
42 | //! Empty constructor |
43 | Standard_EXPORT StepFEA_Volume3dElementRepresentation(); |
44 | |
45 | //! Initialize all fields (own and inherited) |
46 | Standard_EXPORT void Init (const Handle(TCollection_HAsciiString)& aRepresentation_Name, const Handle(StepRepr_HArray1OfRepresentationItem)& aRepresentation_Items, const Handle(StepRepr_RepresentationContext)& aRepresentation_ContextOfItems, const Handle(StepFEA_HArray1OfNodeRepresentation)& aElementRepresentation_NodeList, const Handle(StepFEA_FeaModel3d)& aModelRef, const Handle(StepElement_Volume3dElementDescriptor)& aElementDescriptor, const Handle(StepElement_ElementMaterial)& aMaterial); |
47 | |
48 | //! Returns field ModelRef |
49 | Standard_EXPORT Handle(StepFEA_FeaModel3d) ModelRef() const; |
50 | |
51 | //! Set field ModelRef |
52 | Standard_EXPORT void SetModelRef (const Handle(StepFEA_FeaModel3d)& ModelRef); |
53 | |
54 | //! Returns field ElementDescriptor |
55 | Standard_EXPORT Handle(StepElement_Volume3dElementDescriptor) ElementDescriptor() const; |
56 | |
57 | //! Set field ElementDescriptor |
58 | Standard_EXPORT void SetElementDescriptor (const Handle(StepElement_Volume3dElementDescriptor)& ElementDescriptor); |
59 | |
60 | //! Returns field Material |
61 | Standard_EXPORT Handle(StepElement_ElementMaterial) Material() const; |
62 | |
63 | //! Set field Material |
64 | Standard_EXPORT void SetMaterial (const Handle(StepElement_ElementMaterial)& Material); |
65 | |
66 | |
67 | |
68 | |
92efcf78 |
69 | DEFINE_STANDARD_RTTIEXT(StepFEA_Volume3dElementRepresentation,StepFEA_ElementRepresentation) |
42cf5bc1 |
70 | |
71 | protected: |
72 | |
73 | |
74 | |
75 | |
76 | private: |
77 | |
78 | |
79 | Handle(StepFEA_FeaModel3d) theModelRef; |
80 | Handle(StepElement_Volume3dElementDescriptor) theElementDescriptor; |
81 | Handle(StepElement_ElementMaterial) theMaterial; |
82 | |
83 | |
84 | }; |
85 | |
86 | |
87 | |
88 | |
89 | |
90 | |
91 | |
92 | #endif // _StepFEA_Volume3dElementRepresentation_HeaderFile |