Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-09 09:17:09

0001 // Created on : Thu Mar 24 18:30:12 2022
0002 // Created by: snn
0003 // Generator: Express (EXPRESS -> CASCADE/XSTEP Translator) V2.0
0004 // Copyright (c) Open CASCADE 2022
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _StepVisual_TessellatedShell_HeaderFile_
0018 #define _StepVisual_TessellatedShell_HeaderFile_
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022 #include <StepVisual_TessellatedItem.hxx>
0023 
0024 #include <StepVisual_HArray1OfTessellatedStructuredItem.hxx>
0025 #include <StepShape_ConnectedFaceSet.hxx>
0026 
0027 DEFINE_STANDARD_HANDLE(StepVisual_TessellatedShell, StepVisual_TessellatedItem)
0028 
0029 //! Representation of STEP entity TessellatedShell
0030 class StepVisual_TessellatedShell : public StepVisual_TessellatedItem
0031 {
0032 
0033 public:
0034   //! default constructor
0035   Standard_EXPORT StepVisual_TessellatedShell();
0036 
0037   //! Initialize all fields (own and inherited)
0038   Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theRepresentationItem_Name,
0039                             const Handle(StepVisual_HArray1OfTessellatedStructuredItem)& theItems,
0040                             const Standard_Boolean                    theHasTopologicalLink,
0041                             const Handle(StepShape_ConnectedFaceSet)& theTopologicalLink);
0042 
0043   //! Returns field Items
0044   Standard_EXPORT Handle(StepVisual_HArray1OfTessellatedStructuredItem) Items() const;
0045 
0046   //! Sets field Items
0047   Standard_EXPORT void SetItems(
0048     const Handle(StepVisual_HArray1OfTessellatedStructuredItem)& theItems);
0049 
0050   //! Returns number of Items
0051   Standard_EXPORT Standard_Integer NbItems() const;
0052 
0053   //! Returns value of Items by its num
0054   Standard_EXPORT Handle(StepVisual_TessellatedStructuredItem) ItemsValue(
0055     const Standard_Integer theNum) const;
0056 
0057   //! Returns field TopologicalLink
0058   Standard_EXPORT Handle(StepShape_ConnectedFaceSet) TopologicalLink() const;
0059 
0060   //! Sets field TopologicalLink
0061   Standard_EXPORT void SetTopologicalLink(
0062     const Handle(StepShape_ConnectedFaceSet)& theTopologicalLink);
0063 
0064   //! Returns True if optional field TopologicalLink is defined
0065   Standard_EXPORT Standard_Boolean HasTopologicalLink() const;
0066 
0067   DEFINE_STANDARD_RTTIEXT(StepVisual_TessellatedShell, StepVisual_TessellatedItem)
0068 
0069 private:
0070   Handle(StepVisual_HArray1OfTessellatedStructuredItem) myItems;
0071   Handle(StepShape_ConnectedFaceSet)                    myTopologicalLink; //!< optional
0072   Standard_Boolean myHasTopologicalLink; //!< flag "is TopologicalLink defined"
0073 };
0074 
0075 #endif // _StepVisual_TessellatedShell_HeaderFile_