|
CFx SDK Documentation 2024 SP0
|
#include <DbEntityOverrule.h>
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 subentity linked operations which an entity specifies. It is used as a base class for classes derived from OdDbEntity to change their behavior. Each default implementation calls the corresponding method of the target class.
Corresponding C++ library: TD_Db <group OdDb_Classes>
Definition at line 280 of file DbEntityOverrule.h.
| OdDbSubentityOverrule::OdDbSubentityOverrule | ( | ) |
Constructor creates an instance of this class.
|
virtual |
Overrules OdDbEntity::subAddSubentPaths() method and calls it in the default implementation. This method returns eOk if successful.
| pSubject | [in] A raw pointer to an entity. |
| paths | [in] An array of full subentity path objects identifying the subentities to be added to the entity. |
|
virtual |
Overrules OdDbEntity::subDeleteSubentPaths() method and calls it in the default implementation. This method returns eOk if successful.
| pSubject | [in] A raw pointer to an entity. |
| paths | [in] An array of full subentity path objects identifying the subentities to be deleted from the entity. |
|
virtual |
Overrules the OdDbEntity::subGetCompoundObjectTransform() method and calls it in the default implementation. This method returns eOk if successful.
| pSubject | [in] A raw pointer to an entity. |
| xMat | [out] A transformation matrix to be filled for nested objects. |
|
virtual |
Overrules OdDbEntity::subGetGripPointsAtSubentPath() method and calls it in the default implementation. This method returns eOk if successful.
| pSubject | [in] A raw pointer to an entity. |
| path | [in] A full subentity path object identifying the subentity. |
| grips | [in] An array of pointers to dynamically allocated grip data objects. |
| curViewUnitSize | [in] A size of one drawing unit in the current viewport (in pixels). |
| gripSize | [in] A size of current grip point (in pixels). |
| curViewDir | [in] A vector that specifies the view direction in the current viewport. |
| bitFlags | [in] Mask of one or more flags specified by the OdDbGripOperations::GetGripPointsFlags enumeration. |
|
virtual |
Overrules the OdDbEntity::subGetGsMarkersAtSubentPath() method and calls it in the default implementation. This method returns eOk if successful.
| pSubject | [in] A raw pointer to an entity. |
| subPath | [in] A full subentity path object identifying the subentity. |
| gsMarkers | [out] An array with GSMarkers for the subentities. |
|
virtual |
Overrules OdDbEntity::subGetSubentClassId() method and calls it in the default implementation. This method returns eOk if successful.
| pSubject | [in] A raw pointer to an entity. |
| path | [in] A full subentity path object identifying the subentity. |
| clsId | [out] A pointer to the class description structure whose contents are set for the subentity. |
|
virtual |
Overrules OdDbEntity::subGetSubentPathGeomExtents() method and calls it in the default implementation. This method returns eOk if successful.
| pSubject | [in] A raw pointer to an entity. |
| path | [in] A full subentity path object identifying the subentity. |
| extents | [out] An extents object in which subentity extents should be saved. |
|
virtual |
Overrules the OdDbEntity::subGetSubentPathsAtGsMarker() method and calls it in the default implementation. This method returns eOk if successful.
| pSubject | [in] A raw pointer to an entity. |
| type | [in] A subentity type specified by the OdDb::SubentType enumeration. |
| gsMark | [in] GS marker representing a specific subentity. |
| pickPoint | [in] WCS coordinates of the point picked during the selection of the entity. |
| viewXform | [in] A transformation matrix to transform from WCS to DCS. |
| subentPaths | [out] An array of full subentity path objects identifying the subentities generated from the GS marker. |
| pEntAndInsertStack | [in] An array of object IDs that are the nested containers of the subentity. |
|
virtual |
Overrules OdDbEntity::subMoveGripPointsAtSubentPaths() method and calls it in the default implementation. This method returns eOk if successful.
| pSubject | [in] A raw pointer to an entity. |
| paths | [in] An array of full subentity path objects identifying the subentities to be moved. |
| gripAppData | [in] An array of pointers referring to each grip point to be moved. |
| offset | [in] A vector that indicates the direction and magnitude of the translation to be applied to the grips. |
| bitFlags | [in] Mask of one or more flags specified by the OdDbGripOperations::GetGripPointsFlags enumeration. |
| OdDbSubentityOverrule::ODRX_DECLARE_MEMBERS | ( | OdDbSubentityOverrule | ) |
|
virtual |
Overrules OdDbEntity::subentGripStatus() method and calls it in the default implementation. This method returns eOk if successful.
| pSubject | [in] A raw pointer to an entity. |
| status | [in] A status of the grip operation specified by the OdDb::GripStat enumeration. |
| path | [in] A full subentity path object identifying the subentity whose grip status is to be changed. |
|
virtual |
Overrules the OdDbEntity::subentPtr() method and calls it in the default implementation. This method returns a smart pointer to the subentity if successful.
| pSubject | [in] A raw pointer to an entity. |
| id | [in] A full subentity path object identifying the subentity. |
|
virtual |
Overrules OdDbEntity::subTransformSubentPathsBy() method and calls it in the default implementation. This method returns eOk if successful.
| pSubject | [in] A raw pointer to an entity. |
| paths | [in] An array of full subentity path objects identifying the subentities to be transformed. |
| xform | [in] A transformation matrix to be applied to each subentity. |