CFx SDK Documentation  2020SP3
DbAnnotativeObjectPE.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 #ifndef _DBANNOTATIVEOBJECTPE_H_INCLUDED_
25 #define _DBANNOTATIVEOBJECTPE_H_INCLUDED_
26 
27 #include "RxObject.h"
28 
29 class OdDbViewport;
30 
40 {
41 public:
42 
44 
50  virtual bool annotative(const OdDbObject* pObject) const = 0;
51 
62  OdDbObject* pObject,
63  bool bAnnotative ) = 0;
64 
76  OdDbObject* pObject,
77  bool& bUpdated) = 0;
78 
83  virtual bool forceAnnoAllVisible(const OdDbObject* /*pObject*/) const { return false;} ;
84 
89  virtual OdResult setForceAnnoAllVisible(OdDbObject* /*pObj*/, bool /*bForce*/) const {return eNotImplemented;}
90 
95 };
97 
108 {
109 public:
110 
112 
118  virtual bool paperOrientation(OdDbObject* pObject) const = 0;
119 
130  OdDbObject* pObject,
131  const bool bPaperOrientation ) = 0;
132 
137  OdDbObject* /*pObject*/,
138  const OdDbViewport* /*pVport*/ ) const
139  { return eNotImplemented; }
140 };
142 
143 #endif //_DBANNOTATIVEOBJECTPE_H_INCLUDED_
OdResult
OdResult
Definition: OdResult.h:29
OdDbAnnotativeObjectPE
Definition: DbAnnotativeObjectPE.h:40
OdRxObject
Definition: RxObject.h:564
OdDbAnnotativeObjectPE::forceAnnoAllVisible
virtual bool forceAnnoAllVisible(const OdDbObject *) const
Definition: DbAnnotativeObjectPE.h:83
RxObject.h
OdDbAnnotativeObjectPE::setFromStyle
virtual OdResult setFromStyle(OdDbObject *pObject, bool &bUpdated)=0
OdDbPaperOrientationPE::setPaperOrientation
virtual OdResult setPaperOrientation(OdDbObject *pObject, const bool bPaperOrientation)=0
OdDbPaperOrientationPE
Definition: DbAnnotativeObjectPE.h:108
OdDbAnnotativeObjectPE::annotative
virtual bool annotative(const OdDbObject *pObject) const =0
OdSmartPtr
Definition: SmartPtr.h:58
OdDbPaperOrientationPE::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbPaperOrientationPE)
OdDbAnnotativeObjectPE::setAnnotative
virtual OdResult setAnnotative(OdDbObject *pObject, bool bAnnotative)=0
OdDbAnnotativeObjectPE::resetScaleDependentProperties
virtual OdResult resetScaleDependentProperties(OdDbObject *)
Definition: DbAnnotativeObjectPE.h:94
OdDbViewport
Definition: DbViewport.h:49
OdDbPaperOrientationPE::applyPaperOrientationTransform
virtual OdResult applyPaperOrientationTransform(OdDbObject *, const OdDbViewport *) const
Definition: DbAnnotativeObjectPE.h:136
OdDbAnnotativeObjectPE::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbAnnotativeObjectPE)
OdDbPaperOrientationPE::paperOrientation
virtual bool paperOrientation(OdDbObject *pObject) const =0
eNotImplemented
#define eNotImplemented
OdDbAnnotativeObjectPEPtr
OdSmartPtr< OdDbAnnotativeObjectPE > OdDbAnnotativeObjectPEPtr
Definition: DbAnnotativeObjectPE.h:96
OdDbPaperOrientationPEPtr
OdSmartPtr< OdDbPaperOrientationPE > OdDbPaperOrientationPEPtr
Definition: DbAnnotativeObjectPE.h:141
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
OdDbAnnotativeObjectPE::setForceAnnoAllVisible
virtual OdResult setForceAnnoAllVisible(OdDbObject *, bool) const
Definition: DbAnnotativeObjectPE.h:89
OdDbObject
Definition: DbObject.h:211