/////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2002-2025, Open Design Alliance (the "Alliance"). // All rights reserved. // // This software and its documentation and related materials are owned by // the Alliance. The software may only be incorporated into application // programs owned by members of the Alliance, subject to a signed // Membership Agreement and Supplemental Software License Agreement with the // Alliance. The structure and organization of this software are the valuable // trade secrets of the Alliance and its suppliers. The software is also // protected by copyright law and international treaty provisions. Application // programs incorporating this software must include the following statement // with their copyright notices: // // This application incorporates Open Design Alliance software pursuant to a license // agreement with Open Design Alliance. // Open Design Alliance Copyright (C) 2002-2025 by Open Design Alliance. // All rights reserved. // // By use of this software, its documentation or related materials, you // acknowledge and accept the above terms. /////////////////////////////////////////////////////////////////////////////// // StepConnectedFaceSet.h: interface for the OdStepConnectedFaceSet class. // ////////////////////////////////////////////////////////////////////// #ifndef _STEP_CONNECTEDFACESET_H #define _STEP_CONNECTEDFACESET_H #include "ModelerGeometry/StepModelerGeometry.h" #include "Entities/StepTopologicalRepresentationItem.h" namespace OdStep { /** \details A class that stores and handles information about a set of connected faces within the STEP format. */ class STEPGEOM_EXPORT OdStepConnectedFaceSet : public OdStepTopologicalRepresentationItem { ODRX_DECLARE_MEMBERS(OdStepConnectedFaceSet); protected: OdStepModelerGeometryPtr m_pModeler; OdStepConnectedFaceSet(); public: /** \details Retrieves the geometry modeler associated with the object. \returns A smart pointer to the geometry modeler object. */ OdStepModelerGeometryPtr getModeler(); /** \details Composes the set of connected faces. */ virtual void compose(); /** \details Draws the set of connected faces to the OdGiWorldDraw interface. \param pWd [in] A raw pointer to the object for the entity-level vectorization. \returns true if the set of connected faces was successfully drawn; otherwise, the method returns false. */ virtual bool draw(OdGiWorldDraw* pWd) const; /** \details Transforms the set of connected faces by a specified transformation matrix. \param transform [in] A transformation matrix object. \returns eOk if the transformation operation succeeds; otherwise, the method returns an appropriate error code. */ virtual OdResult transformBy(const OdGeMatrix3d &transform) ODRX_OVERRIDE; }; SMARTPTR(OdStepConnectedFaceSet); } #endif // _STEP_CONNECTEDFACESET_H