|
CFx SDK Documentation 2026 SP0
|
#include <GiDrawableSelectPE.h>
Public Member Functions | |
| ODRX_DECLARE_MEMBERS (OdGiDrawableSelectPE) | |
| virtual bool | canSelect (const OdGiPathNode &pathNode, OdGsMarker &nMarkersCovered) const |
| virtual void | select (const OdGiPathNode &pathNode, const OdGePoint2d *pPoly, OdUInt32 nbPolyPts, const OdGeTol &tol, const OdGeMatrix3d &transformWorldToEye, bool bNeedEyeDepth, OdGiDrawablePESelectionReactor *pSelectionReactor, const OdSiShape *pCustomSelectShape=nullptr, const OdGePoint3d *pProjectionStartPoint=nullptr) const |
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 |
Protected Member Functions | |
| OdGiDrawableSelectPE () | |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
| static OdRxObjectPtr | cast (const OdRxObject *pointer) |
| static OdRxClass * | desc () |
| static void | rxInit () |
| static void | rxUninit () |
This class is the protocol extension for all graphical objects, both transient and persistent.
<group OdGi_Classes>
Definition at line 100 of file GiDrawableSelectPE.h.
|
protected |
|
virtual |
Return true if a drawable can perform selection inside 'pathNode' itself.
| pathNode | [in] Currently processing GiDrawable objects graph. |
| nMarkersCovered | [out] Number of markers which is covered by drawables's own selection procedure |
| OdGiDrawableSelectPE::ODRX_DECLARE_MEMBERS | ( | OdGiDrawableSelectPE | ) |
|
virtual |
Runs selection procedure inside pathNode.
| pathNode | [in] Currently processing GiDrawable objects graph. |
| pPoly | [in] A pointer to an array of selection points in the eye coordinate space. |
| nbPolyPts | [in] A quantity of selection points. |
| tol | [in] Tolerance. |
| transformWorldToEye | [in] Transformation matrix from world coordinate systen to the eye coordinate system. |
| bNeedEyeDepth | [in] Indicates that it is need to calculate the depth of the selected sub object in the ECS (eye coordinate system). |
| pSelectionReactor | [in] Selection callback pointer. |
| pCustomSelectShape | [in] Custom shape that represents extents of selection (pyramid in perspective case). |
| pProjectionStartPoint[in] | If specified, detailed objects checking will use vector ( objectPoint - *pProjectionStartPoint) to project objectPoint on selection plane. |