1 // Created on: 2002-12-12
2 // Created by: data exchange team
3 // Copyright (c) 2002-2014 OPEN CASCADE SAS
5 // This file is part of Open CASCADE Technology software library.
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.
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
16 #ifndef _StepFEA_Surface3dElementRepresentation_HeaderFile
17 #define _StepFEA_Surface3dElementRepresentation_HeaderFile
19 #include <Standard.hxx>
20 #include <Standard_Type.hxx>
22 #include <StepFEA_ElementRepresentation.hxx>
23 #include <StepRepr_HArray1OfRepresentationItem.hxx>
24 #include <StepFEA_HArray1OfNodeRepresentation.hxx>
25 class StepFEA_FeaModel3d;
26 class StepElement_Surface3dElementDescriptor;
27 class StepElement_SurfaceElementProperty;
28 class StepElement_ElementMaterial;
29 class TCollection_HAsciiString;
30 class StepRepr_RepresentationContext;
33 class StepFEA_Surface3dElementRepresentation;
34 DEFINE_STANDARD_HANDLE(StepFEA_Surface3dElementRepresentation, StepFEA_ElementRepresentation)
36 //! Representation of STEP entity Surface3dElementRepresentation
37 class StepFEA_Surface3dElementRepresentation : public StepFEA_ElementRepresentation
44 Standard_EXPORT StepFEA_Surface3dElementRepresentation();
46 //! Initialize all fields (own and inherited)
47 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_Surface3dElementDescriptor)& aElementDescriptor, const Handle(StepElement_SurfaceElementProperty)& aProperty, const Handle(StepElement_ElementMaterial)& aMaterial);
49 //! Returns field ModelRef
50 Standard_EXPORT Handle(StepFEA_FeaModel3d) ModelRef() const;
52 //! Set field ModelRef
53 Standard_EXPORT void SetModelRef (const Handle(StepFEA_FeaModel3d)& ModelRef);
55 //! Returns field ElementDescriptor
56 Standard_EXPORT Handle(StepElement_Surface3dElementDescriptor) ElementDescriptor() const;
58 //! Set field ElementDescriptor
59 Standard_EXPORT void SetElementDescriptor (const Handle(StepElement_Surface3dElementDescriptor)& ElementDescriptor);
61 //! Returns field Property
62 Standard_EXPORT Handle(StepElement_SurfaceElementProperty) Property() const;
64 //! Set field Property
65 Standard_EXPORT void SetProperty (const Handle(StepElement_SurfaceElementProperty)& Property);
67 //! Returns field Material
68 Standard_EXPORT Handle(StepElement_ElementMaterial) Material() const;
70 //! Set field Material
71 Standard_EXPORT void SetMaterial (const Handle(StepElement_ElementMaterial)& Material);
76 DEFINE_STANDARD_RTTIEXT(StepFEA_Surface3dElementRepresentation,StepFEA_ElementRepresentation)
86 Handle(StepFEA_FeaModel3d) theModelRef;
87 Handle(StepElement_Surface3dElementDescriptor) theElementDescriptor;
88 Handle(StepElement_SurfaceElementProperty) theProperty;
89 Handle(StepElement_ElementMaterial) theMaterial;
100 #endif // _StepFEA_Surface3dElementRepresentation_HeaderFile