Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:15

0001 // Created on : Thu Mar 24 18:30:11 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_ComplexTriangulatedFace_HeaderFile_
0018 #define _StepVisual_ComplexTriangulatedFace_HeaderFile_
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022 #include <StepVisual_TessellatedFace.hxx>
0023 
0024 #include <TColStd_HArray1OfInteger.hxx>
0025 #include <TColStd_HArray1OfTransient.hxx>
0026 
0027 DEFINE_STANDARD_HANDLE(StepVisual_ComplexTriangulatedFace, StepVisual_TessellatedFace)
0028 
0029 //! Representation of STEP entity ComplexTriangulatedFace
0030 class StepVisual_ComplexTriangulatedFace : public StepVisual_TessellatedFace
0031 {
0032 
0033 public :
0034 
0035   //! default constructor
0036   Standard_EXPORT StepVisual_ComplexTriangulatedFace();
0037 
0038   //! Initialize all fields (own and inherited)
0039   Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theRepresentationItem_Name,
0040                             const Handle(StepVisual_CoordinatesList)& theTessellatedFace_Coordinates,
0041                             const Standard_Integer theTessellatedFace_Pnmax,
0042                             const Handle(TColStd_HArray2OfReal)& theTessellatedFace_Normals,
0043                             const Standard_Boolean theHasTessellatedFace_GeometricLink,
0044                             const StepVisual_FaceOrSurface& theTessellatedFace_GeometricLink,
0045                             const Handle(TColStd_HArray1OfInteger)& thePnindex,
0046                             const Handle(TColStd_HArray1OfTransient)& theTriangleStrips,
0047                             const Handle(TColStd_HArray1OfTransient)& theTriangleFans);
0048 
0049   //! Returns field Pnindex
0050   Standard_EXPORT Handle(TColStd_HArray1OfInteger) Pnindex() const;
0051 
0052   //! Sets field Pnindex
0053   Standard_EXPORT void SetPnindex (const Handle(TColStd_HArray1OfInteger)& thePnindex);
0054 
0055   //! Returns number of Pnindex
0056   Standard_EXPORT Standard_Integer NbPnindex() const;
0057 
0058   //! Returns value of Pnindex by its num
0059   Standard_EXPORT Standard_Integer PnindexValue(const Standard_Integer theNum) const;
0060 
0061   //! Returns field TriangleStrips
0062   Standard_EXPORT Handle(TColStd_HArray1OfTransient) TriangleStrips() const;
0063 
0064   //! Sets field TriangleStrips
0065   Standard_EXPORT void SetTriangleStrips (const Handle(TColStd_HArray1OfTransient)& theTriangleStrips);
0066 
0067   //! Returns number of TriangleStrips
0068   Standard_EXPORT Standard_Integer NbTriangleStrips() const;
0069 
0070   //! Returns field TriangleFans
0071   Standard_EXPORT Handle(TColStd_HArray1OfTransient) TriangleFans() const;
0072 
0073   //! Sets field TriangleFans
0074   Standard_EXPORT void SetTriangleFans (const Handle(TColStd_HArray1OfTransient)& theTriangleFans);
0075 
0076   //! Returns number of TriangleFans
0077   Standard_EXPORT Standard_Integer NbTriangleFans() const;
0078 
0079   DEFINE_STANDARD_RTTIEXT(StepVisual_ComplexTriangulatedFace, StepVisual_TessellatedFace)
0080 
0081 private:
0082 
0083   Handle(TColStd_HArray1OfInteger) myPnindex;
0084   Handle(TColStd_HArray1OfTransient) myTriangleStrips;
0085   Handle(TColStd_HArray1OfTransient) myTriangleFans;
0086 
0087 };
0088 
0089 #endif // _StepVisual_ComplexTriangulatedFace_HeaderFile_