27#ifndef _ODDBGRIP_INCLUDED_
28#define _ODDBGRIP_INCLUDED_
69class OdDbCustomOsnapMode;
364 OdDbGripData* pThis, OdDbStub* entId,
bool& changedPoint,
366 OdDbStub* viewportId,
bool pointComputed,
int history,
966 , m_pGripOpStatFunc(0)
969 , m_pInputPointFunc(0)
971 , m_pHoverDimensionFunc(0)
972 , m_pHotGripDimensionFunc(0)
979 m_pAppData = srcData.
appData();
983 m_pRtClk = srcData.
rtClk();
1004 : m_pAppData(AppData)
1005 , m_pAppDataClass(0)
1007 , m_pAltBasePt(altBasePt)
1008 , m_pHotGripFunc(hotGrip)
1009 , m_pHoverFunc(hoverGrip)
1011 , m_pViewportDraw(vd)
1012 , m_pGripOpStatFunc(stat)
1013 , m_pToolTipFunc(tt)
1014 , m_bitFlags(bitFlags)
1015 , m_pInputPointFunc(inputPointFunc)
1017 , m_pHoverDimensionFunc(hoverDim)
1018 , m_pHotGripDimensionFunc(hotGripDim)
1032 : m_pAppData(AppData)
1033 , m_pAppDataClass(pAppDataClass)
1035 , m_pAltBasePt(altBasePt)
1036 , m_pHotGripFunc(hotGrip)
1037 , m_pHoverFunc(hoverGrip)
1039 , m_pViewportDraw(vd)
1040 , m_pGripOpStatFunc(stat)
1041 , m_pToolTipFunc(tt)
1042 , m_bitFlags(bitFlags)
1043 , m_pInputPointFunc(inputPointFunc)
1045 , m_pHoverDimensionFunc(hoverDim)
1046 , m_pHotGripDimensionFunc(hotGripDim)
1053 m_pAppData = rightSide.
appData();
1057 m_pRtClk = rightSide.
rtClk();
1084 m_pAppData = pAppData;
1085 m_pAppDataClass = pAppDataClass;
1086 m_pHotGripFunc = hotGrip;
1087 m_pHoverFunc = hoverGrip;
1090 m_pViewportDraw = vd;
1091 m_pGripOpStatFunc = stat;
1093 m_pHoverDimensionFunc = hoverDim;
1094 m_pHotGripDimensionFunc = hotGripDim;
1096 m_pAltBasePt = altBasePt;
1117 m_pAppData = pAppData;
1122 return m_pAppDataClass;
1127 m_pAppDataClass = appDataClass;
1132 return m_pHotGripFunc;
1137 m_pHotGripFunc = pf;
1142 return m_pHoverFunc;
1152 return m_pWorldDraw;
1162 return m_pViewportDraw;
1167 m_pViewportDraw = pf;
1172 return m_pGripOpStatFunc;
1177 m_pGripOpStatFunc = pf;
1182 return m_pToolTipFunc;
1187 m_pToolTipFunc = pf;
1192 return m_pAltBasePt;
1197 m_pAltBasePt = altBasePt;
1329 return m_pHoverDimensionFunc;
1334 m_pHoverDimensionFunc = pf;
1339 return m_pHotGripDimensionFunc;
1344 m_pHotGripDimensionFunc = pf;
1359 return m_pInputPointFunc;
1364 m_pInputPointFunc = pf;
OdArray< OdDbGripData > OdDbGripDataArray
OdResult(* GripOperationPtr)(OdDbGripData *pThis, OdDbStub *entId, int iContextFlags)
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(* GripDimensionPtr)(OdDbGripData *pThis, OdDbStub *entId, double dimScale, OdDbDimDataPtrArray &dimData)
void(* GripOpStatusPtr)(OdDbGripData *pThis, OdDbStub *entId, OdDbGripOperations::GripStatus status)
void(* ContextMenuItemIndexPtr)(unsigned itemIndex)
bool(* GripWorldDrawPtr)(OdDbGripData *pThis, OdGiWorldDraw *pWd, OdDbStub *entId, OdDbGripOperations::DrawType type, OdGePoint3d *imageGripPoint, double dGripSize)
OdArray< OdDbDimData *, OdMemoryAllocator< OdDbDimData * > > OdDbDimDataPtrArray
void(* GripViewportDrawPtr)(OdDbGripData *pThis, OdGiViewportDraw *pWd, OdDbStub *entId, OdDbGripOperations::DrawType type, OdGePoint3d *imageGripPoint, int gripSize)
OdArray< void *, OdMemoryAllocator< void * > > OdDbVoidPtrArray
const OdChar *(* GripToolTipPtr)(OdDbGripData *pThis)
OdArray< OdDbGripDataPtr > OdDbGripDataPtrArray
OdSmartPtr< OdDbCustomOsnapMode > OdDbCustomOsnapModePtr
OdSharedPtr< OdDbGripData > OdDbGripDataPtr
OdResult(* GripRtClkHandler)(OdDbGripDataArray &hotGrips, const OdDbStubPtrArray &ents, OdString &menuName, ODHMENU &menu, ContextMenuItemIndexPtr &cb)
void setHotGripDimensionFunc(GripDimensionPtr pf)
bool areModeKeywordsDisabled() const
void disableModeKeywords(bool disable)
GripDimensionPtr hoverDimensionFunc() const
GripOperationPtr hoverFunc() const
void setHoverFunc(GripOperationPtr pf)
bool gripIsPerViewport() const
bool isRubberBandLineDisabled() const
void setForcedPickOn(bool on)
unsigned bitFlags() const
bool mapGripHotToRtClk() const
void setToolTipFunc(GripToolTipPtr pf)
void setBitFlags(unsigned flags)
bool gizmosEnabled() const
void setWorldDraw(GripWorldDrawPtr pf)
GripOperationPtr hotGripFunc() const
void setRtClk(GripRtClkHandler pf)
OdRxClass * appDataOdRxClass() 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)
void setGripOpStatFunc(GripOpStatusPtr pf)
GripViewportDrawPtr viewportDraw() const
GripDimensionPtr hotGripDimensionFunc() const
void setHotGripFunc(GripOperationPtr pf)
void setAppData(void *pAppData)
void setInputPointFunc(GripInputPointPtr pf)
OdDbGripData & operator=(const OdDbGripData &)
void setHoverDimensionFunc(GripDimensionPtr pf)
GripToolTipPtr toolTipFunc() const
void setGripIsPerViewport(bool on)
void setTriggerGrip(bool trigger)
GripRtClkHandler rtClk() const
GripInputPointPtr inputPointFunc() const
void setMapGripHotToRtClk(bool on)
void disableRubberBandLine(bool disable)
GripWorldDrawPtr worldDraw() const
void setAppDataOdRxClass(OdRxClass *pClass)
void setAlternateBasePoint(OdGePoint3d *altBasePt)
bool skipWhenShared() const
bool forcedPickOn() const
bool drawAtDragImageGripPoint() const
void setViewportDraw(GripViewportDrawPtr pf)
GripOpStatusPtr gripOpStatFunc() const
void setSkipWhenShared(bool skip)
void setGripPoint(const OdGePoint3d &pt)
const OdGePoint3d & gripPoint() const
void setDrawAtDragImageGripPoint(bool atDragPoint)
OdGePoint3d * alternateBasePoint() const
void setGizmosEnabled(bool on)
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
GLuint GLsizei GLsizei GLint GLenum * type
@ kDrawAtDragImageGripPoint