Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/opencascade/StepVisual_TessellatedFace.hxx was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

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_TessellatedFace_HeaderFile_
0018 #define _StepVisual_TessellatedFace_HeaderFile_
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022 #include <StepVisual_TessellatedStructuredItem.hxx>
0023 
0024 #include <StepVisual_CoordinatesList.hxx>
0025 #include <TColStd_HArray2OfReal.hxx>
0026 #include <StepVisual_FaceOrSurface.hxx>
0027 
0028 DEFINE_STANDARD_HANDLE(StepVisual_TessellatedFace, StepVisual_TessellatedStructuredItem)
0029 
0030 //! Representation of STEP entity TessellatedFace
0031 class StepVisual_TessellatedFace : public StepVisual_TessellatedStructuredItem
0032 {
0033 
0034 public :
0035 
0036   //! default constructor
0037   Standard_EXPORT StepVisual_TessellatedFace();
0038 
0039   //! Initialize all fields (own and inherited)
0040   Standard_EXPORT void Init(const Handle(TCollection_HAsciiString)& theRepresentationItem_Name,
0041                             const Handle(StepVisual_CoordinatesList)& theCoordinates,
0042                             const Standard_Integer thePnmax,
0043                             const Handle(TColStd_HArray2OfReal)& theNormals,
0044                             const Standard_Boolean theHasGeometricLink,
0045                             const StepVisual_FaceOrSurface& theGeometricLink);
0046 
0047   //! Returns field Coordinates
0048   Standard_EXPORT Handle(StepVisual_CoordinatesList) Coordinates() const;
0049 
0050   //! Sets field Coordinates
0051   Standard_EXPORT void SetCoordinates (const Handle(StepVisual_CoordinatesList)& theCoordinates);
0052 
0053   //! Returns field Pnmax
0054   Standard_EXPORT Standard_Integer Pnmax() const;
0055 
0056   //! Sets field Pnmax
0057   Standard_EXPORT void SetPnmax (const Standard_Integer thePnmax);
0058 
0059   //! Returns field Normals
0060   Standard_EXPORT Handle(TColStd_HArray2OfReal) Normals() const;
0061 
0062   //! Sets field Normals
0063   Standard_EXPORT void SetNormals (const Handle(TColStd_HArray2OfReal)& theNormals);
0064 
0065   //! Returns number of Normals
0066   Standard_EXPORT Standard_Integer NbNormals() const;
0067 
0068   //! Returns field GeometricLink
0069   Standard_EXPORT StepVisual_FaceOrSurface GeometricLink() const;
0070 
0071   //! Sets field GeometricLink
0072   Standard_EXPORT void SetGeometricLink (const StepVisual_FaceOrSurface& theGeometricLink);
0073 
0074   //! Returns True if optional field GeometricLink is defined
0075   Standard_EXPORT Standard_Boolean HasGeometricLink() const;
0076 
0077   DEFINE_STANDARD_RTTIEXT(StepVisual_TessellatedFace, StepVisual_TessellatedStructuredItem)
0078 
0079 private:
0080 
0081   Handle(StepVisual_CoordinatesList) myCoordinates;
0082   Standard_Integer myPnmax;
0083   Handle(TColStd_HArray2OfReal) myNormals;
0084   StepVisual_FaceOrSurface myGeometricLink; //!< optional
0085   Standard_Boolean myHasGeometricLink; //!< flag "is GeometricLink defined"
0086 
0087 };
0088 
0089 #endif // _StepVisual_TessellatedFace_HeaderFile_