Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-12 09:18:49

0001 // Created on: 2002-12-12
0002 // Created by: data exchange team
0003 // Copyright (c) 2002-2014 OPEN CASCADE SAS
0004 //
0005 // This file is part of Open CASCADE Technology software library.
0006 //
0007 // This library is free software; you can redistribute it and/or modify it under
0008 // the terms of the GNU Lesser General Public License version 2.1 as published
0009 // by the Free Software Foundation, with special exception defined in the file
0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0011 // distribution for complete text of the license and disclaimer of any warranty.
0012 //
0013 // Alternatively, this file may be used under the terms of Open CASCADE
0014 // commercial license or contractual agreement.
0015 
0016 #ifndef _StepFEA_Volume3dElementRepresentation_HeaderFile
0017 #define _StepFEA_Volume3dElementRepresentation_HeaderFile
0018 
0019 #include <Standard.hxx>
0020 #include <Standard_Type.hxx>
0021 
0022 #include <StepFEA_ElementRepresentation.hxx>
0023 #include <StepRepr_RepresentationItem.hxx>
0024 #include <NCollection_Array1.hxx>
0025 #include <NCollection_HArray1.hxx>
0026 #include <StepFEA_NodeRepresentation.hxx>
0027 class StepFEA_FeaModel3d;
0028 class StepElement_Volume3dElementDescriptor;
0029 class StepElement_ElementMaterial;
0030 class TCollection_HAsciiString;
0031 class StepRepr_RepresentationContext;
0032 
0033 //! Representation of STEP entity Volume3dElementRepresentation
0034 class StepFEA_Volume3dElementRepresentation : public StepFEA_ElementRepresentation
0035 {
0036 
0037 public:
0038   //! Empty constructor
0039   Standard_EXPORT StepFEA_Volume3dElementRepresentation();
0040 
0041   //! Initialize all fields (own and inherited)
0042   Standard_EXPORT void Init(
0043     const occ::handle<TCollection_HAsciiString>& aRepresentation_Name,
0044     const occ::handle<NCollection_HArray1<occ::handle<StepRepr_RepresentationItem>>>&
0045                                                        aRepresentation_Items,
0046     const occ::handle<StepRepr_RepresentationContext>& aRepresentation_ContextOfItems,
0047     const occ::handle<NCollection_HArray1<occ::handle<StepFEA_NodeRepresentation>>>&
0048                                                               aElementRepresentation_NodeList,
0049     const occ::handle<StepFEA_FeaModel3d>&                    aModelRef,
0050     const occ::handle<StepElement_Volume3dElementDescriptor>& aElementDescriptor,
0051     const occ::handle<StepElement_ElementMaterial>&           aMaterial);
0052 
0053   //! Returns field ModelRef
0054   Standard_EXPORT occ::handle<StepFEA_FeaModel3d> ModelRef() const;
0055 
0056   //! Set field ModelRef
0057   Standard_EXPORT void SetModelRef(const occ::handle<StepFEA_FeaModel3d>& ModelRef);
0058 
0059   //! Returns field ElementDescriptor
0060   Standard_EXPORT occ::handle<StepElement_Volume3dElementDescriptor> ElementDescriptor() const;
0061 
0062   //! Set field ElementDescriptor
0063   Standard_EXPORT void SetElementDescriptor(
0064     const occ::handle<StepElement_Volume3dElementDescriptor>& ElementDescriptor);
0065 
0066   //! Returns field Material
0067   Standard_EXPORT occ::handle<StepElement_ElementMaterial> Material() const;
0068 
0069   //! Set field Material
0070   Standard_EXPORT void SetMaterial(const occ::handle<StepElement_ElementMaterial>& Material);
0071 
0072   DEFINE_STANDARD_RTTIEXT(StepFEA_Volume3dElementRepresentation, StepFEA_ElementRepresentation)
0073 
0074 private:
0075   occ::handle<StepFEA_FeaModel3d>                    theModelRef;
0076   occ::handle<StepElement_Volume3dElementDescriptor> theElementDescriptor;
0077   occ::handle<StepElement_ElementMaterial>           theMaterial;
0078 };
0079 
0080 #endif // _StepFEA_Volume3dElementRepresentation_HeaderFile