CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
27 #ifndef _ODDBGRIP_INCLUDED_
28 #define _ODDBGRIP_INCLUDED_
30 #include "TD_PackPush.h"
54 class OdDbCustomOsnapMode;
215 OdDbGripData* pThis, OdDbStub* entId,
bool& changedPoint,
217 OdDbStub* viewportId,
bool pointComputed,
int history,
382 , m_pGripOpStatFunc(0)
385 , m_pInputPointFunc(0)
387 , m_pHoverDimensionFunc(0)
388 , m_pHotGripDimensionFunc(0)
395 m_pAppData = srcData.
appData();
399 m_pRtClk = srcData.
rtClk();
420 : m_pAppData(AppData)
423 , m_pAltBasePt(altBasePt)
424 , m_pHotGripFunc(hotGrip)
425 , m_pHoverFunc(hoverGrip)
427 , m_pViewportDraw(vd)
428 , m_pGripOpStatFunc(stat)
430 , m_bitFlags(bitFlags)
431 , m_pInputPointFunc(inputPointFunc)
433 , m_pHoverDimensionFunc(hoverDim)
434 , m_pHotGripDimensionFunc(hotGripDim)
448 : m_pAppData(AppData)
449 , m_pAppDataClass(pAppDataClass)
451 , m_pAltBasePt(altBasePt)
452 , m_pHotGripFunc(hotGrip)
453 , m_pHoverFunc(hoverGrip)
455 , m_pViewportDraw(vd)
456 , m_pGripOpStatFunc(stat)
458 , m_bitFlags(bitFlags)
459 , m_pInputPointFunc(inputPointFunc)
461 , m_pHoverDimensionFunc(hoverDim)
462 , m_pHotGripDimensionFunc(hotGripDim)
469 m_pAppData = rightSide.
appData();
473 m_pRtClk = rightSide.
rtClk();
500 m_pAppData = pAppData;
501 m_pAppDataClass = pAppDataClass;
502 m_pHotGripFunc = hotGrip;
503 m_pHoverFunc = hoverGrip;
506 m_pViewportDraw = vd;
507 m_pGripOpStatFunc = stat;
509 m_pHoverDimensionFunc = hoverDim;
510 m_pHotGripDimensionFunc = hotGripDim;
512 m_pAltBasePt = altBasePt;
533 m_pAppData = pAppData;
538 return m_pAppDataClass;
543 m_pAppDataClass = appDataClass;
548 return m_pHotGripFunc;
578 return m_pViewportDraw;
583 m_pViewportDraw = pf;
588 return m_pGripOpStatFunc;
593 m_pGripOpStatFunc = pf;
598 return m_pToolTipFunc;
613 m_pAltBasePt = altBasePt;
745 return m_pHoverDimensionFunc;
750 m_pHoverDimensionFunc = pf;
755 return m_pHotGripDimensionFunc;
760 m_pHotGripDimensionFunc = pf;
775 return m_pInputPointFunc;
780 m_pInputPointFunc = pf;
785 #endif // _ODDBGRIP_INCLUDED_
OdSharedPtr< OdDbGripData > OdDbGripDataPtr
void setForcedPickOn(bool on)
void setMapGripHotToRtClk(bool on)
GripWorldDrawPtr worldDraw() const
const OdChar *(* GripToolTipPtr)(OdDbGripData *pThis)
void(* ContextMenuItemIndexPtr)(unsigned itemIndex)
void setGripOpStatFunc(GripOpStatusPtr pf)
void setWorldDraw(GripWorldDrawPtr pf)
bool isRubberBandLineDisabled() const
void setGripIsPerViewport(bool on)
GripToolTipPtr toolTipFunc() const
void setToolTipFunc(GripToolTipPtr pf)
void disableModeKeywords(bool disable)
GLuint GLsizei GLsizei GLint GLenum * type
void setHoverFunc(GripOperationPtr pf)
OdArray< OdDbGripData > OdDbGripDataArray
void(* GripDimensionPtr)(OdDbGripData *pThis, OdDbStub *entId, double dimScale, OdDbDimDataPtrArray &dimData)
void setGripPoint(const OdGePoint3d &pt)
@ kDrawAtDragImageGripPoint
OdSmartPtr< OdDbCustomOsnapMode > OdDbCustomOsnapModePtr
bool skipWhenShared() const
GripOperationPtr hotGripFunc() const
OdGePoint3d * alternateBasePoint() const
OdResult(* GripOperationPtr)(OdDbGripData *pThis, OdDbStub *entId, int iContextFlags)
void setBitFlags(unsigned flags)
GripViewportDrawPtr viewportDraw() const
OdArray< void *, OdMemoryAllocator< void * > > OdDbVoidPtrArray
GripDimensionPtr hoverDimensionFunc() const
GripInputPointPtr inputPointFunc() const
void setHoverDimensionFunc(GripDimensionPtr pf)
OdArray< OdDbGripDataPtr > OdDbGripDataPtrArray
void setRtClk(GripRtClkHandler pf)
void setAppData(void *pAppData)
bool gripIsPerViewport() const
bool drawAtDragImageGripPoint() const
void setHotGripDimensionFunc(GripDimensionPtr pf)
void(* GripViewportDrawPtr)(OdDbGripData *pThis, OdGiViewportDraw *pWd, OdDbStub *entId, OdDbGripOperations::DrawType type, OdGePoint3d *imageGripPoint, int gripSize)
GripRtClkHandler rtClk() const
void setHotGripFunc(GripOperationPtr pf)
void setAppDataOdRxClass(OdRxClass *pClass)
OdArray< OdDbDimData *, OdMemoryAllocator< OdDbDimData * > > OdDbDimDataPtrArray
void disableRubberBandLine(bool disable)
void setAlternateBasePoint(OdGePoint3d *altBasePt)
OdRxClass * appDataOdRxClass() const
bool(* GripWorldDrawPtr)(OdDbGripData *pThis, OdGiWorldDraw *pWd, OdDbStub *entId, OdDbGripOperations::DrawType type, OdGePoint3d *imageGripPoint, double dGripSize)
void(* GripOpStatusPtr)(OdDbGripData *pThis, OdDbStub *entId, OdDbGripOperations::GripStatus status)
void setGizmosEnabled(bool on)
bool gizmosEnabled() const
GripOperationPtr hoverFunc() const
OdResult(* GripRtClkHandler)(OdDbGripDataArray &hotGrips, const OdDbStubPtrArray &ents, OdString &menuName, ODHMENU &menu, ContextMenuItemIndexPtr &cb)
unsigned bitFlags() const
bool areModeKeywordsDisabled() const
GripDimensionPtr hotGripDimensionFunc() const
OdResult(* GripInputPointPtr)(OdDbGripData *pThis, OdDbStub *entId, bool &changedPoint, OdGePoint3d &newPoint, const OdGiViewport &viewContext, OdDbStub *viewportId, bool pointComputed, int history, const OdGePoint3d &lastPoint, const OdGePoint3d &rawPoint, const OdGePoint3d &grippedPoint, const OdGePoint3d &cartesianSnappedPoint, const OdGePoint3d &osnappedPoint, OdDb::OsnapMask osnapMask, const OdArray< OdDbCustomOsnapModePtr > &customOsnapModes, OdDb::OsnapMask osnapOverrides, const OdArray< OdDbCustomOsnapModePtr > &customOsnapOverrides, const OdDbStubPtrArray &pickedEntities, const OdArray< OdDbStubPtrArray > &nestedPickedEntities, const OdGsMarkerArray &gsSelectionMark, const OdDbStubPtrArray &keyPointEntities, const OdArray< OdDbStubPtrArray > &nestedKeyPointEntities, const OdGsMarkerArray &keyPointGsSelectionMark, const OdArray< OdSharedPtr< OdGeCurve3d > > &alignmentPaths, const OdGePoint3d &computedPoint)
void setSkipWhenShared(bool skip)
OdDbGripData & operator=(const OdDbGripData &)
void setTriggerGrip(bool trigger)
void setDrawAtDragImageGripPoint(bool atDragPoint)
void setViewportDraw(GripViewportDrawPtr pf)
const OdGePoint3d & gripPoint() const
void setInputPointFunc(GripInputPointPtr pf)
GripOpStatusPtr gripOpStatFunc() const
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
bool forcedPickOn() const
bool mapGripHotToRtClk() const
void setAllData(const OdGePoint3d &pt, void *AppData, GripOperationPtr hotGrip, GripOperationPtr hoverGrip, GripRtClkHandler RtClk, GripWorldDrawPtr wd, GripViewportDrawPtr vd, GripOpStatusPtr stat, GripToolTipPtr tt, GripDimensionPtr hoverDim, GripDimensionPtr hotGripDim, unsigned bitFlags, OdGePoint3d *altBasePt, GripInputPointPtr inputPointFunc, OdRxClass *pAppDataClass)