CFx SDK Documentation
2023 SP0
|
#include <DbGripPoints.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdDbGripPointsPE) | |
virtual OdResult | getGripPoints (const OdDbEntity *pEntity, OdGePoint3dArray &gripPoints) const |
virtual OdResult | moveGripPointsAt (OdDbEntity *pEntity, const OdIntArray &indices, const OdGeVector3d &offset) |
virtual OdResult | getGripPoints (const OdDbEntity *pEntity, OdDbGripDataPtrArray &grips, const double curViewUnitSize, const int gripSize, const OdGeVector3d &curViewDir, const int bitFlags) const |
virtual OdResult | moveGripPointsAt (OdDbEntity *pEntity, const OdDbVoidPtrArray &grips, const OdGeVector3d &offset, int bitFlags) |
virtual OdResult | getStretchPoints (const OdDbEntity *pEntity, OdGePoint3dArray &stretchPoints) const |
virtual OdResult | moveStretchPointsAt (OdDbEntity *pEntity, const OdIntArray &indices, const OdGeVector3d &offset) |
virtual OdResult | getOsnapPoints (const OdDbEntity *pEntity, OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &xWorldToEye, OdGePoint3dArray &snapPoints) const |
virtual OdResult | getOsnapPoints (const OdDbEntity *pEntity, OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &xWorldToEye, OdGePoint3dArray &snapPoints, const OdGeMatrix3d &insert) const |
virtual OdResult | getGripPointsAtSubentPath (const OdDbEntity *pEntity, const OdDbFullSubentPath &path, OdDbGripDataPtrArray &grips, const double curViewUnitSize, const int gripSize, const OdGeVector3d &curViewDir, const OdUInt32 bitflags) const |
virtual OdResult | moveGripPointsAtSubentPaths (OdDbEntity *pEntity, const OdDbFullSubentPathArray &paths, const OdDbVoidPtrArray &gripAppData, const OdGeVector3d &offset, const OdUInt32 bitflags) |
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 OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
This class is the Grip Points Protocol Extension class.
<group OdDb_Classes>
Definition at line 43 of file DbGripPoints.h.
|
virtual |
Returns OdDbGripData objects for grip points of this entity.
pEntity | [in] Pointer to the entity. |
grips | [in/out] Receives an array of OdDbGripData objects. |
|
virtual |
Returns all grip points of the specified entity.
pEntity | [in] Pointer to the entity. |
gripPoints | [in/out] Receives an array of WCS grip points. |
|
virtual |
Gets the grip points and supporting information about the grips for a subentity.
pEntity | [in] Pointer to the entity. |
path | [in] The OdDbFullSubentPath to the subentity. |
grips | [in/out] Receives an array of pointers of OdDbGripData objects, one object for each grip point in the subentity. |
curViewUnitSize | [in] The size (in pixels) of one drawing unit in the current viewport. |
gripSize | [in] The current grip size (in pixels). |
curViewDir | [in] The view direction in the current viewport. |
bitflags | [in] The bitmap of one or more flags specified by the GetGripPointsFlags enumeration. |
|
virtual |
Returns all appropriate object snap points of the specified entity.
pEntity | [in] Pointer to the entity. |
osnapMode | [in] The object snap mode being queried. |
gsSelectionMark | [in] The GS marker of the subentity being queried. |
pickPoint | [in] The WCS point being queried. |
lastPoint | [in] The WCS point picked before pickPoint. |
viewXform | [in] The WCS->DCS transformation matrix. |
ucs | [in] The WCS->UCS transformation matrix. |
snapPoints | [in/out] Receives an array of UCS object snap points. |
osnapMode must be one of the following:
Value Description OdDb::kOsModeEnd 1 Endpoint OdDb::kOsModeMid 2 Midpoint OdDb::kOsModeCen 3 Center OdDb::kOsModeNode 4 Node OdDb::kOsModeQuad 5 Quadrant OdDb::kOsModeIntersec 6 Intersection OdDb::kOsModeIns 7 Insertion point OdDb::kOsModePerp 8 Perpendicular OdDb::kOsModeTan 9 Tangent OdDb::kOsModeNear 10 Nearest OdDb::kOsModeApint 11 Apparent intersection OdDb::kOsModePar 12 Parallel OdDb::kOsModeStart 13 Unknown
The default implementation of this function returns eNotImplemented.
|
virtual |
Returns all appropriate object snap points of the specified entity.
pEntity | [in] Pointer to the entity. |
osnapMode | [in] The object snap mode being queried. |
gsSelectionMark | [in] The GS marker of the subentity being queried. |
pickPoint | [in] The WCS point being queried. |
lastPoint | [in] The WCS point picked before pickPoint. |
viewXform | [in] The WCS->DCS transformation matrix. |
ucs | [in] The WCS->UCS transformation matrix. |
snapPoints | [in/out] Receives an array of UCS object snap points. |
insert | [in] Current insertion matrix |
osnapMode must be one of the following:
Value Description OdDb::kOsModeEnd 1 Endpoint OdDb::kOsModeMid 2 Midpoint OdDb::kOsModeCen 3 Center OdDb::kOsModeNode 4 Node OdDb::kOsModeQuad 5 Quadrant OdDb::kOsModeIntersec 6 Intersection OdDb::kOsModeIns 7 Insertion point OdDb::kOsModePerp 8 Perpendicular OdDb::kOsModeTan 9 Tangent OdDb::kOsModeNear 10 Nearest OdDb::kOsModeApint 11 Apparent intersection OdDb::kOsModePar 12 Parallel OdDb::kOsModeStart 13 Unknown
The default implementation of this function returns eNotImplemented.
|
virtual |
Returns all stretch points of the specified entity.
pEntity | [in] Pointer to the entity. |
stretchPoints | [in/out] Receives an array of WCS stretch points. |
Returns eOk if successful, or an appropriate error code if not. The default implementation of this function returns eNotImplemented.
|
virtual |
Moves the specified grip points of this entity.
pEntity | [in] Pointer to the entity. |
grips | [in] Array of OdDbGripData identifiers. |
offset | [in] The direction and magnitude of the grip points offset (WCS). |
|
virtual |
Moves the specified grip points of the specified entity.
pEntity | [in] Pointer to the entity. |
indices | [in] Array of indicies. |
offset | [in] The direction and magnitude of the grip points offset (WCS). |
|
virtual |
Applies a vector offset to one or more grip points exposed by subentities on the object.
pEntity | [in] Pointer to the entity. |
paths | [in] The array of OdDbFullSubentPath objects. |
gripAppData | [in] The array of pointers of OdDbGripData objects. |
offset | [in] The vector (in WCS coordinates) indicating the direction and magnitude of the translation. |
bitflags | [in] The bitmap of one or more flags specified by the GetGripPointsFlags enumeration. |
|
virtual |
Moves the specified stretch points of this entity.
pEntity | [in] Pointer to the entity. |
indices | [in] Array of indicies. |
offset | [in] The direction and magnitude of the stretch points offset (WCS). |
Returns eOk if successful, or an appropriate error code if not. The default implementation of this function returns eNotImplemented.
OdDbGripPointsPE::ODRX_DECLARE_MEMBERS | ( | OdDbGripPointsPE | ) |