/////////////////////////////////////////////////////////////////////////////// // 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. /////////////////////////////////////////////////////////////////////////////// #ifndef _STEP_AP_MODEL_CONTEXT_H #define _STEP_AP_MODEL_CONTEXT_H #include "StepBuildOptions.h" //#include "daiDeviationParams.h" #include "daiStepModelContext.h" #include "TD_PackPush.h" /** \details A class that implements working with an AP model context. */ class STEPCORE_EXPORT OdAPModelContext final : public OdStepModelContext { public: /** \details Creates a new AP model context object with default parameters. */ OdAPModelContext(); /** \details Sets annotation_placeholder_occurrence entities drawing option for the model context. \param value [in] If true annotation_placeholder_occurrence entities are drawing; otherwise not. */ void setDrawPlaceholderData(bool value); /** \details Retrieves the current value of the annotation_placeholder_occurrence entities drawing option. \returns Returns true if annotation_placeholder_occurrence entities are drawing; otherwise false. */ bool getDrawPlaceholderData(); /** \details Sets invisible objects drawing option for the model context. \param value [in] If true invisible objects are drawn; otherwise not. */ void setDrawInvisibleObjects(bool value); /** \details Retrieves the current value of the invisible objects drawing option. \returns Returns true if invisible objects are drawn; otherwise false. */ bool getDrawInvisibleObjects(); private: OdUInt32 m_flags; }; #include "TD_PackPop.h" #endif // _STEP_AP_MODEL_CONTEXT_H