|
CFx SDK Documentation
2022 SP0
|
#include <GiDrawable.h>
Public Member Functions | |
| ODRX_DECLARE_MEMBERS (OdGiDrawableOverrule) | |
| OdGiDrawableOverrule () | |
| virtual OdUInt32 | setAttributes (const OdGiDrawable *pSubject, OdGiDrawableTraits *traits) |
| virtual bool | worldDraw (const OdGiDrawable *pSubject, OdGiWorldDraw *wd) |
| virtual void | viewportDraw (const OdGiDrawable *pSubject, OdGiViewportDraw *vd) |
| virtual OdUInt32 | viewportDrawLogicalFlags (const OdGiDrawable *pSubject, OdGiViewportDraw *vd) |
| virtual OdUInt32 | regenSupportFlags (const OdGiDrawable *pSubject) |
Public Member Functions inherited from OdRxOverrule | |
| ODRX_DECLARE_MEMBERS (OdRxOverrule) | |
| virtual | ~OdRxOverrule () |
| virtual bool | isApplicable (const OdRxObject *pOverruledSubject) const =0 |
Public Member Functions inherited from OdRxObject | |
| ODRX_HEAP_OPERATORS () | |
| OdRxObject () | |
| virtual | ~OdRxObject () |
| virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
| virtual OdRxObject * | x (const OdRxClass *pClass) const |
| virtual OdRxClass * | isA () 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 OdRxOverrule | |
| static OdResult | addOverrule (OdRxClass *pClass, OdRxOverrule *pOverrule, bool bAddAtLast=false) |
| static OdResult | removeOverrule (OdRxClass *pClass, OdRxOverrule *pOverrule) |
| static void | setIsOverruling (bool bIsOverruling) |
| static bool | isOverruling () |
| static bool | hasOverrule (const OdRxObject *pSubject, OdRxClass *pOverruleClass) |
Static Public Member Functions inherited from OdRxObject | |
| static OdRxObjectPtr | cast (const OdRxObject *pointer) |
| static OdRxClass * | desc () |
This class overrules a subset of drawable linked operations which a drawable object specifies. It is used as a base class for classes derived from OdGiDrawable to change their behavior. Each default implementation calls the corresponding method of the target class.
Corresponding C++ library: TD_Gi <group OdGi_Classes>
Definition at line 234 of file GiDrawable.h.
| OdGiDrawableOverrule::OdGiDrawableOverrule | ( | ) |
Constructor creates an instance of this class.
| OdGiDrawableOverrule::ODRX_DECLARE_MEMBERS | ( | OdGiDrawableOverrule | ) |
|
virtual |
Overrules the regen support flags.
| pSubject | [in] A raw pointer to the drawable object. |
|
virtual |
Overrules the OdGiDrawable::setAttributes() method and calls it in the default implementation.
| pSubject | [in] A raw pointer to the drawable object. |
| traits | [in] A pointer to the graphics traits. |
|
virtual |
Overrules the OdGiDrawable::viewportDraw() method and calls it in the default implementation.
| pSubject | [in] A raw pointer to the drawable object. |
| vd | [in] A pointer to the Gi viewport drawable object. |
|
virtual |
Overrules the OdGiDrawable::viewportDrawLogicalFlags() method and calls it in the default implementation.
| pSubject | [in] A raw pointer to the drawable object. |
| vd | [in] A pointer to the Gi viewport drawable object. |
|
virtual |
Overrules the OdGiDrawable::worldDraw() method and calls it in the default implementation.
| pSubject | [in] A raw pointer to the drawable object. |
| wd | [in] A pointer to the Gi world drawable object. |