/////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2002-2016, 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 Teigha(R) software pursuant to a license // agreement with Open Design Alliance. // Teigha(R) Copyright (C) 2002-2016 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 _OD_DB_BLOCK_ROTATION_PARAM_ENTITY_ #define _OD_DB_BLOCK_ROTATION_PARAM_ENTITY_ #include "TD_PackPush.h" #include "DbBlock2PtParameterEntity.h" class OdDbBlock2PtParameter; /** \details This class implements the OdDbBlock2PtParameterEntity object in the database. */ class DYNBLOCKS_EXPORT OdDbBlockRotationParameterEntity: public OdDbBlock2PtParameterEntity { public: ODDB_DECLARE_MEMBERS(OdDbBlockRotationParameterEntity); OdString angleDescription() const; void setAngleDescription(const OdString &); OdString angleName() const; void setAngleName(const OdString &); OdGePoint3d definitionBaseAnglePoint() const; void setDefinitionBaseAnglePoint( const OdGePoint3d& ); double offset() const; void setOffset(double); double definitionBaseAngle() const; virtual void subViewportDraw(OdGiViewportDraw* pViewportDraw) const; virtual OdResult subTransformBy(const OdGeMatrix3d& xfm); virtual OdResult subGetGripPoints( OdGePoint3dArray& gripPoints ) const; virtual OdResult subMoveGripPointsAt(const OdIntArray& indices,const OdGeVector3d& offset ); protected: OdDbBlockRotationParameterEntity(); }; /** \details The typified smart pointer for the object. This template class is specialization of the OdSmartPtr class for the OdDbBlock2PtParameterEntity class. \sa */ typedef OdSmartPtr OdDbBlockRotationParameterEntityPtr; /** \details This class implements the OdDbBlock2PtGripEntity object in the database. */ class DYNBLOCKS_EXPORT OdDbBlockRotationGripEntity: public OdDbBlockGripEntity { public: ODDB_DECLARE_MEMBERS(OdDbBlockRotationGripEntity); /** \details Builds an instance of the object. */ OdDbBlockRotationGripEntity(); virtual void subViewportDraw(OdGiViewportDraw* pVd) const; }; /** \details The typified smart pointer for the object. This template class is specialization of the OdSmartPtr class for the OdDbBlock2PtGripEntity class. \sa */ typedef OdSmartPtr OdDbBlockRotationGripEntityPtr; #include "TD_PackPop.h" #endif