CFx SDK Documentation  2023 SP0
Public Member Functions | List of all members
OdDbBaseAnnotationScalePE Class Referenceabstract

#include <DbBaseDatabase.h>

Inheritance diagram for OdDbBaseAnnotationScalePE:
OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdDbBaseAnnotationScalePE)
 
virtual bool scaleRatio (const OdRxObject *obj, double *scale) const =0
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Additional Inherited Members

- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 

Detailed Description

This class is the protocol extension to be used as an annotation scale abstraction, independent of the underlying database.

See also
TD_DbRoot

<group OdDbRoot_Classes>

Definition at line 637 of file DbBaseDatabase.h.

Member Function Documentation

◆ ODRX_DECLARE_MEMBERS()

OdDbBaseAnnotationScalePE::ODRX_DECLARE_MEMBERS ( OdDbBaseAnnotationScalePE  )

◆ scaleRatio()

virtual bool OdDbBaseAnnotationScalePE::scaleRatio ( const OdRxObject obj,
double *  scale 
) const
pure virtual

Returns the scale ratio value for a given viewport.

Parameters
obj[in] Viewport object. scale [out] Scale ratio.

The documentation for this class was generated from the following file: