CFx SDK Documentation  2020SP3
DbGrip.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 
25 
26 
27 #ifndef _ODDBGRIP_INCLUDED_
28 #define _ODDBGRIP_INCLUDED_
30 #include "TD_PackPush.h"
31 #include "Ge/GePoint3d.h"
32 #include "SharedPtr.h"
33 #include "DbStubPtrArray.h"
34 #include "GsMarkerArray.h"
35 
36 class OdDbGripData;
37 template <class T> class OdSharedPtr;
39 
44 
46 
47 class OdDbDimData;
49 
50 class OdGiWorldDraw;
51 class OdGiViewportDraw;
52 class OdGiViewport;
53 class OdDbGripData;
54 class OdDbCustomOsnapMode;
55 typedef void* ODHMENU;
56 
61 
63 
70 namespace OdDb
71 {
72  enum DragStat
73  {
75  kDragEnd = 1,
76  kDragAbort = 2
77  };
78 
79  enum GripStat
80  {
84  };
85 }
86 
88 {
89  enum DrawType
90  {
91  kWarmGrip = 0,
95  };
96 
98  {
108  kPopUpMenu
109  };
110 
112  {
117  kTriggerGrip = 0x010,
120  kGizmosEnabled = 0x080,
121  kGripIsPerViewport = 0x100
122  };
123 
125  {
126  kSharedGrip = 0x01,
127  kMultiHotGrip = 0x02
128  };
129 
131  {
134  kDynamicDimMode = 0x04
135  };
136 
138  {
139  kOsnapped = 0x01,
140  kPolar = 0x02,
141  kOtrack = 0x04,
142  kZdir = 0x08,
143  kKeyboard = 0x10
144  };
145 }
146 
147 namespace OdDb
148 {
150  {
151  kOsMaskEnd = 0x000001,
152  kOsMaskMid = 0x000002,
153  kOsMaskCen = 0x000004,
154  kOsMaskNode = 0x000008,
155  kOsMaskQuad = 0x000010,
156  kOsMaskInt = 0x000020,
157  kOsMaskIns = 0x000040,
158  kOsMaskPerp = 0x000080,
159  kOsMaskTan = 0x000100,
160  kOsMaskNear = 0x000200,
161  kOsMaskQuick = 0x000400,
162  kOsMaskApint = 0x000800,
163  kOsMaskImmediate = 0x010000,
164  kOsMaskAllowTan = 0x020000,
165  kOsMaskDisablePerp = 0x040000,
167  kOsMaskRelPolar = 0x100000,
168  kOsMaskNoneOverride = 0x200000
169  };
170 }
171 
172 typedef bool (*GripWorldDrawPtr)(
173  OdDbGripData* pThis,
174  OdGiWorldDraw* pWd,
175  OdDbStub* entId,
177  OdGePoint3d* imageGripPoint,
178  double dGripSize );
179 
181  OdDbGripData* pThis,
182  OdGiViewportDraw* pWd,
183  OdDbStub* entId,
185  OdGePoint3d* imageGripPoint,
186  int gripSize );
187 
189  OdDbGripData* pThis,
190  OdDbStub* entId,
191  int iContextFlags );
192 
194  OdDbGripData* pThis,
195  OdDbStub* entId,
197 
198 typedef const OdChar* (*GripToolTipPtr)( OdDbGripData* pThis );
199 
200 typedef void (*ContextMenuItemIndexPtr)( unsigned itemIndex );
201 
203  OdDbGripData* pThis,
204  OdDbStub* entId,
205  double dimScale,
206  OdDbDimDataPtrArray& dimData );
207 
209  OdDbGripDataArray& hotGrips,
210  const OdDbStubPtrArray& ents,
211  OdString& menuName, ODHMENU& menu,
213 
215  OdDbGripData* pThis, OdDbStub* entId, bool& changedPoint,
216  OdGePoint3d& newPoint, const OdGiViewport& viewContext,
217  OdDbStub* viewportId, bool pointComputed, int history,
218  const OdGePoint3d& lastPoint, const OdGePoint3d& rawPoint,
219  const OdGePoint3d& grippedPoint, const OdGePoint3d& cartesianSnappedPoint,
220  const OdGePoint3d& osnappedPoint, OdDb::OsnapMask osnapMask,
221  const OdArray<OdDbCustomOsnapModePtr>& customOsnapModes,
222  OdDb::OsnapMask osnapOverrides,
223  const OdArray<OdDbCustomOsnapModePtr>& customOsnapOverrides,
224  const OdDbStubPtrArray& pickedEntities,
225  const OdArray<OdDbStubPtrArray>& nestedPickedEntities,
226  const OdGsMarkerArray& gsSelectionMark,
227  const OdDbStubPtrArray& keyPointEntities,
228  const OdArray<OdDbStubPtrArray>& nestedKeyPointEntities,
229  const OdGsMarkerArray& keyPointGsSelectionMark,
230  const OdArray<OdSharedPtr<OdGeCurve3d> >& alignmentPaths, const OdGePoint3d& computedPoint);
231 
241 {
242 public:
244 
245  OdDbGripData();
246 
247  OdDbGripData(const OdDbGripData&);
248 
249  OdDbGripData(const OdGePoint3d& pt, void* AppData,
250  GripOperationPtr hotGrip, GripOperationPtr hoverGrip,
253  GripToolTipPtr tt, GripDimensionPtr hoverDim,
254  GripDimensionPtr hotGripDim,
255  unsigned bitFlags, OdGePoint3d* altBasePt,
257 
258  OdDbGripData(const OdGePoint3d& pt, void* AppData,
259  OdRxClass* pAppDataClass,
260  GripOperationPtr hotGrip, GripOperationPtr hoverGrip,
263  GripToolTipPtr tt, GripDimensionPtr hoverDim,
264  GripDimensionPtr hotGripDim,
265  unsigned bitFlags, OdGePoint3d* altBasePt,
267 
268  void setAllData(const OdGePoint3d& pt, void* AppData,
269  GripOperationPtr hotGrip, GripOperationPtr hoverGrip,
272  GripToolTipPtr tt, GripDimensionPtr hoverDim,
273  GripDimensionPtr hotGripDim,
274  unsigned bitFlags, OdGePoint3d* altBasePt,
276  OdRxClass* pAppDataClass);
277 
279 
280  const OdGePoint3d& gripPoint() const;
281  void setGripPoint( const OdGePoint3d& pt );
282 
283  void* appData() const;
284  void setAppData( void* pAppData );
285 
286  OdRxClass* appDataOdRxClass() const;
287  void setAppDataOdRxClass(OdRxClass* pClass);
288 
290  void setHotGripFunc( GripOperationPtr pf );
291 
292  GripOperationPtr hoverFunc() const;
293  void setHoverFunc( GripOperationPtr pf );
294 
295  GripWorldDrawPtr worldDraw() const;
296  void setWorldDraw( GripWorldDrawPtr pf );
297 
300 
303 
304  GripToolTipPtr toolTipFunc() const;
305  void setToolTipFunc( GripToolTipPtr pf );
306 
308  void setAlternateBasePoint( OdGePoint3d* altBasePt );
309 
310  unsigned bitFlags() const;
311  void setBitFlags( unsigned flags );
312 
313  bool skipWhenShared() const;
314  void setSkipWhenShared( bool skip );
315 
316  bool isRubberBandLineDisabled() const;
317  void disableRubberBandLine( bool disable );
318 
319  bool areModeKeywordsDisabled() const;
320  void disableModeKeywords( bool disable );
321 
322  bool drawAtDragImageGripPoint() const;
323  void setDrawAtDragImageGripPoint( bool atDragPoint );
324 
325  bool triggerGrip() const;
326  void setTriggerGrip( bool trigger );
327 
328  bool forcedPickOn() const;
329  void setForcedPickOn( bool on );
330 
331  bool mapGripHotToRtClk() const;
332  void setMapGripHotToRtClk( bool on );
333 
334  bool gizmosEnabled() const;
335  void setGizmosEnabled( bool on );
336 
337  bool gripIsPerViewport() const;
338  void setGripIsPerViewport(bool on);
339 
342 
345 
346  GripRtClkHandler rtClk() const;
347  void setRtClk( GripRtClkHandler pf );
348 
351 
352 private:
353  void* m_pAppData;
354  OdRxClass* m_pAppDataClass;
355  OdGePoint3d m_gripPt;
356  OdGePoint3d* m_pAltBasePt;
357  GripOperationPtr m_pHotGripFunc;
358  GripOperationPtr m_pHoverFunc;
359  GripWorldDrawPtr m_pWorldDraw;
360  GripViewportDrawPtr m_pViewportDraw;
361  GripOpStatusPtr m_pGripOpStatFunc;
362  GripToolTipPtr m_pToolTipFunc;
363  unsigned m_bitFlags;
364  GripInputPointPtr m_pInputPointFunc;
365  GripRtClkHandler m_pRtClk;
366  GripDimensionPtr m_pHoverDimensionFunc;
367  GripDimensionPtr m_pHotGripDimensionFunc;
368 };
369 
370 //
371 // Inline methods
372 //
373 
375  : m_pAppData(0)
376  , m_pAppDataClass(0)
377  , m_pAltBasePt(0)
378  , m_pHotGripFunc(0)
379  , m_pHoverFunc(0)
380  , m_pWorldDraw(0)
381  , m_pViewportDraw(0)
382  , m_pGripOpStatFunc(0)
383  , m_pToolTipFunc(0)
384  , m_bitFlags(0)
385  , m_pInputPointFunc(0)
386  , m_pRtClk(0)
387  , m_pHoverDimensionFunc(0)
388  , m_pHotGripDimensionFunc(0)
389 {
390 }
391 
393 {
394  m_gripPt = srcData.gripPoint();
395  m_pAppData = srcData.appData();
396  m_pAppDataClass = srcData.appDataOdRxClass();
397  m_pHotGripFunc = srcData.hotGripFunc();
398  m_pHoverFunc = srcData.hoverFunc();
399  m_pRtClk = srcData.rtClk();
400  m_pWorldDraw = srcData.worldDraw();
401  m_pViewportDraw = srcData.viewportDraw();
402  m_pGripOpStatFunc = srcData.gripOpStatFunc();
403  m_pToolTipFunc = srcData.toolTipFunc();
404  m_pHoverDimensionFunc = srcData.hoverDimensionFunc();
405  m_pHotGripDimensionFunc = srcData.hotGripDimensionFunc();
406  m_bitFlags = srcData.bitFlags();
407  m_pAltBasePt = srcData.alternateBasePoint();
408  m_pInputPointFunc = srcData.inputPointFunc();
409 }
410 
411 inline
412 OdDbGripData::OdDbGripData(const OdGePoint3d& pt, void* AppData,
413  GripOperationPtr hotGrip, GripOperationPtr hoverGrip,
416  GripToolTipPtr tt, GripDimensionPtr hoverDim,
417  GripDimensionPtr hotGripDim,
418  unsigned bitFlags, OdGePoint3d* altBasePt,
419  GripInputPointPtr inputPointFunc)
420  : m_pAppData(AppData)
421  , m_pAppDataClass(0)
422  , m_gripPt(pt)
423  , m_pAltBasePt(altBasePt)
424  , m_pHotGripFunc(hotGrip)
425  , m_pHoverFunc(hoverGrip)
426  , m_pWorldDraw(wd)
427  , m_pViewportDraw(vd)
428  , m_pGripOpStatFunc(stat)
429  , m_pToolTipFunc(tt)
430  , m_bitFlags(bitFlags)
431  , m_pInputPointFunc(inputPointFunc)
432  , m_pRtClk(RtClk)
433  , m_pHoverDimensionFunc(hoverDim)
434  , m_pHotGripDimensionFunc(hotGripDim)
435 {
436 }
437 
438 inline
439 OdDbGripData::OdDbGripData(const OdGePoint3d& pt, void* AppData,
440  OdRxClass* pAppDataClass,
441  GripOperationPtr hotGrip, GripOperationPtr hoverGrip,
444  GripToolTipPtr tt, GripDimensionPtr hoverDim,
445  GripDimensionPtr hotGripDim,
446  unsigned bitFlags, OdGePoint3d* altBasePt,
447  GripInputPointPtr inputPointFunc)
448  : m_pAppData(AppData)
449  , m_pAppDataClass(pAppDataClass)
450  , m_gripPt(pt)
451  , m_pAltBasePt(altBasePt)
452  , m_pHotGripFunc(hotGrip)
453  , m_pHoverFunc(hoverGrip)
454  , m_pWorldDraw(wd)
455  , m_pViewportDraw(vd)
456  , m_pGripOpStatFunc(stat)
457  , m_pToolTipFunc(tt)
458  , m_bitFlags(bitFlags)
459  , m_pInputPointFunc(inputPointFunc)
460  , m_pRtClk(RtClk)
461  , m_pHoverDimensionFunc(hoverDim)
462  , m_pHotGripDimensionFunc(hotGripDim)
463 {
464 }
465 
467 {
468  m_gripPt = rightSide.gripPoint();
469  m_pAppData = rightSide.appData();
470  m_pAppDataClass = rightSide.appDataOdRxClass();
471  m_pHotGripFunc = rightSide.hotGripFunc();
472  m_pHoverFunc = rightSide.hoverFunc();
473  m_pRtClk = rightSide.rtClk();
474  m_pWorldDraw = rightSide.worldDraw();
475  m_pViewportDraw = rightSide.viewportDraw();
476  m_pGripOpStatFunc = rightSide.gripOpStatFunc();
477  m_pToolTipFunc = rightSide.toolTipFunc();
478  m_pHoverDimensionFunc = rightSide.hoverDimensionFunc();
479  m_pHotGripDimensionFunc = rightSide.hotGripDimensionFunc();
480  m_bitFlags = rightSide.bitFlags();
481  m_pAltBasePt = rightSide.alternateBasePoint();
482  m_pInputPointFunc = rightSide.inputPointFunc();
483 
484  return *this;
485 }
486 
487 
488 inline void
489 OdDbGripData::setAllData(const OdGePoint3d& pt, void* pAppData,
490  GripOperationPtr hotGrip, GripOperationPtr hoverGrip,
493  GripToolTipPtr tt, GripDimensionPtr hoverDim,
494  GripDimensionPtr hotGripDim,
495  unsigned bitFlags, OdGePoint3d* altBasePt,
496  GripInputPointPtr inputPointFunc,
497  OdRxClass* pAppDataClass)
498 {
499  m_gripPt = pt;
500  m_pAppData = pAppData;
501  m_pAppDataClass = pAppDataClass;
502  m_pHotGripFunc = hotGrip;
503  m_pHoverFunc = hoverGrip;
504  m_pRtClk = RtClk;
505  m_pWorldDraw = wd;
506  m_pViewportDraw = vd;
507  m_pGripOpStatFunc = stat;
508  m_pToolTipFunc= tt;
509  m_pHoverDimensionFunc = hoverDim;
510  m_pHotGripDimensionFunc = hotGripDim;
511  m_bitFlags = bitFlags;
512  m_pAltBasePt = altBasePt;
513  m_pInputPointFunc = inputPointFunc;
514 }
515 
517 {
518  return m_gripPt;
519 }
520 
521 inline void OdDbGripData::setGripPoint( const OdGePoint3d& pt )
522 {
523  m_gripPt = pt;
524 }
525 
526 inline void* OdDbGripData::appData() const
527 {
528  return m_pAppData;
529 }
530 
531 inline void OdDbGripData::setAppData( void* pAppData )
532 {
533  m_pAppData = pAppData;
534 }
535 
537 {
538  return m_pAppDataClass;
539 }
540 
542 {
543  m_pAppDataClass = appDataClass;
544 }
545 
547 {
548  return m_pHotGripFunc;
549 }
550 
552 {
553  m_pHotGripFunc = pf;
554 }
555 
557 {
558  return m_pHoverFunc;
559 }
560 
562 {
563  m_pHoverFunc = pf;
564 }
565 
567 {
568  return m_pWorldDraw;
569 }
570 
572 {
573  m_pWorldDraw = pf;
574 }
575 
577 {
578  return m_pViewportDraw;
579 }
580 
582 {
583  m_pViewportDraw = pf;
584 }
585 
587 {
588  return m_pGripOpStatFunc;
589 }
590 
592 {
593  m_pGripOpStatFunc = pf;
594 }
595 
597 {
598  return m_pToolTipFunc;
599 }
600 
602 {
603  m_pToolTipFunc = pf;
604 }
605 
607 {
608  return m_pAltBasePt;
609 }
610 
612 {
613  m_pAltBasePt = altBasePt;
614 }
615 
616 inline unsigned OdDbGripData::bitFlags() const
617 {
618  return m_bitFlags;
619 }
620 
621 inline void OdDbGripData::setBitFlags( unsigned flags )
622 {
623  m_bitFlags = flags;
624 }
625 
626 inline bool OdDbGripData::skipWhenShared() const
627 {
628  return 0 != (m_bitFlags & OdDbGripOperations::kSkipWhenShared);
629 }
630 
631 inline void OdDbGripData::setSkipWhenShared( bool skip )
632 {
633  if (skip)
635  else
637 }
638 
640 {
641  return 0 != (m_bitFlags & OdDbGripOperations::kDisableRubberBandLine);
642 }
643 
644 inline void OdDbGripData::disableRubberBandLine( bool disable )
645 {
646  if (disable)
648  else
650 }
651 
653 {
654  return 0 != (m_bitFlags & OdDbGripOperations::kDisableModeKeywords);
655 }
656 
657 inline void OdDbGripData::disableModeKeywords( bool disable )
658 {
659  if (disable)
661  else
663 }
664 
666 {
667  return 0 != (m_bitFlags & OdDbGripOperations::kDrawAtDragImageGripPoint);
668 }
669 
670 inline void OdDbGripData::setDrawAtDragImageGripPoint( bool atDragPoint )
671 {
672  if (atDragPoint)
674  else
676 }
677 
678 inline bool OdDbGripData::triggerGrip() const
679 {
680  return 0 != (m_bitFlags & OdDbGripOperations::kTriggerGrip);
681 }
682 
683 inline void OdDbGripData::setTriggerGrip( bool trigger )
684 {
685  if (trigger)
687  else
689 }
690 
691 inline bool OdDbGripData::forcedPickOn() const
692 {
693  return 0 != (m_bitFlags & OdDbGripOperations::kTurnOnForcedPick);
694 }
695 
696 inline void OdDbGripData::setForcedPickOn( bool on )
697 {
698  if (on)
700  else
702 }
703 
705 {
706  return 0 != (m_bitFlags & OdDbGripOperations::kMapGripHotToRtClk);
707 }
708 
710 {
711  if (on)
713  else
715 }
716 
717 inline bool OdDbGripData::gizmosEnabled() const
718 {
719  return 0 != (m_bitFlags & OdDbGripOperations::kGizmosEnabled);
720 }
721 
722 inline void OdDbGripData::setGizmosEnabled( bool on )
723 {
724  if (on)
726  else
727  m_bitFlags &= ~OdDbGripOperations::kGizmosEnabled;
728 }
729 
731 {
732  return 0 != (m_bitFlags & OdDbGripOperations::kGripIsPerViewport);
733 }
734 
736 {
737  if (on)
739  else
741 }
742 
744 {
745  return m_pHoverDimensionFunc;
746 }
747 
749 {
750  m_pHoverDimensionFunc = pf;
751 }
752 
754 {
755  return m_pHotGripDimensionFunc;
756 }
757 
759 {
760  m_pHotGripDimensionFunc = pf;
761 }
762 
764 {
765  return m_pRtClk;
766 }
767 
769 {
770  m_pRtClk = pf;
771 }
772 
774 {
775  return m_pInputPointFunc;
776 }
777 
779 {
780  m_pInputPointFunc = pf;
781 }
782 
783 #include "TD_PackPop.h"
784 
785 #endif // _ODDBGRIP_INCLUDED_
OdDbGripOperations::kHotGrip
@ kHotGrip
Definition: DbGrip.h:93
OdDbGripDataPtr
OdSharedPtr< OdDbGripData > OdDbGripDataPtr
Definition: DbGrip.h:37
OdDbGripData::setForcedPickOn
void setForcedPickOn(bool on)
Definition: DbGrip.h:696
OdDbGripData::setMapGripHotToRtClk
void setMapGripHotToRtClk(bool on)
Definition: DbGrip.h:709
OdResult
OdResult
Definition: OdResult.h:29
OdDbGripOperations::kWarmGrip
@ kWarmGrip
Definition: DbGrip.h:91
OdDb::kOsMaskNode
@ kOsMaskNode
Definition: DbGrip.h:154
OdDbGripOperations
Definition: DbGrip.h:88
OdDbGripData::worldDraw
GripWorldDrawPtr worldDraw() const
Definition: DbGrip.h:566
OdString
Definition: OdString.h:95
GripToolTipPtr
const OdChar *(* GripToolTipPtr)(OdDbGripData *pThis)
Definition: DbGrip.h:198
ContextMenuItemIndexPtr
void(* ContextMenuItemIndexPtr)(unsigned itemIndex)
Definition: DbGrip.h:200
OdDbGripData::setGripOpStatFunc
void setGripOpStatFunc(GripOpStatusPtr pf)
Definition: DbGrip.h:591
OdDbGripData::setWorldDraw
void setWorldDraw(GripWorldDrawPtr pf)
Definition: DbGrip.h:571
OdDbGripData::isRubberBandLineDisabled
bool isRubberBandLineDisabled() const
Definition: DbGrip.h:639
OdDbGripOperations::kDynamicDimMode
@ kDynamicDimMode
Definition: DbGrip.h:134
OdDbGripData::setGripIsPerViewport
void setGripIsPerViewport(bool on)
Definition: DbGrip.h:735
OdDbGripData::toolTipFunc
GripToolTipPtr toolTipFunc() const
Definition: DbGrip.h:596
OdDbGripData::setToolTipFunc
void setToolTipFunc(GripToolTipPtr pf)
Definition: DbGrip.h:601
OdDbGripOperations::GetGripPointsFlags
GetGripPointsFlags
Definition: DbGrip.h:131
OdDbGripOperations::GripContextFlags
GripContextFlags
Definition: DbGrip.h:125
OdDbGripData::disableModeKeywords
void disableModeKeywords(bool disable)
Definition: DbGrip.h:657
type
GLuint GLsizei GLsizei GLint GLenum * type
Definition: gles2_ext.h:274
OdDbGripData::setHoverFunc
void setHoverFunc(GripOperationPtr pf)
Definition: DbGrip.h:561
OdDb::kOsMaskDisablePerp
@ kOsMaskDisablePerp
Definition: DbGrip.h:165
OdDbGripDataArray
OdArray< OdDbGripData > OdDbGripDataArray
Definition: DbGrip.h:60
GripDimensionPtr
void(* GripDimensionPtr)(OdDbGripData *pThis, OdDbStub *entId, double dimScale, OdDbDimDataPtrArray &dimData)
Definition: DbGrip.h:202
OdDb::kDragAbort
@ kDragAbort
Definition: DbGrip.h:76
OdSharedPtr
Definition: SharedPtr.h:49
OdGiViewport
Definition: GiViewport.h:51
OdDbGripData::setGripPoint
void setGripPoint(const OdGePoint3d &pt)
Definition: DbGrip.h:521
OdDbGripOperations::kGripStart
@ kGripStart
Definition: DbGrip.h:99
OdDb::kOsMaskTan
@ kOsMaskTan
Definition: DbGrip.h:159
OdDbGripOperations::MoveGripPointsFlags
MoveGripPointsFlags
Definition: DbGrip.h:138
OdDb::DragStat
DragStat
Definition: DbGrip.h:73
OdDbGripOperations::kDrawAtDragImageGripPoint
@ kDrawAtDragImageGripPoint
Definition: DbGrip.h:116
OdDb::kOsMaskAllowTan
@ kOsMaskAllowTan
Definition: DbGrip.h:164
OdDbCustomOsnapModePtr
OdSmartPtr< OdDbCustomOsnapMode > OdDbCustomOsnapModePtr
Definition: DbGrip.h:62
OdDbGripOperations::kDisableRubberBandLine
@ kDisableRubberBandLine
Definition: DbGrip.h:114
OdDbGripData::skipWhenShared
bool skipWhenShared() const
Definition: DbGrip.h:626
OdArray
Definition: OdArray.h:591
TD_PackPop.h
OdDbGripData::hotGripFunc
GripOperationPtr hotGripFunc() const
Definition: DbGrip.h:546
OdDb::kGripsToBeDeleted
@ kGripsToBeDeleted
Definition: DbGrip.h:82
OdDb::kOsMaskApint
@ kOsMaskApint
Definition: DbGrip.h:162
OdDbGripData::alternateBasePoint
OdGePoint3d * alternateBasePoint() const
Definition: DbGrip.h:606
OdDbGripData::ODRX_HEAP_OPERATORS
ODRX_HEAP_OPERATORS()
OdDbGripData::OdDbGripData
OdDbGripData()
Definition: DbGrip.h:374
GripOperationPtr
OdResult(* GripOperationPtr)(OdDbGripData *pThis, OdDbStub *entId, int iContextFlags)
Definition: DbGrip.h:188
OdDbGripData::setBitFlags
void setBitFlags(unsigned flags)
Definition: DbGrip.h:621
OdDb::kOsMaskInt
@ kOsMaskInt
Definition: DbGrip.h:156
OdDb::kDragStart
@ kDragStart
Definition: DbGrip.h:74
OdDbGripOperations::kMapGripHotToRtClk
@ kMapGripHotToRtClk
Definition: DbGrip.h:119
OdDbGripData::triggerGrip
bool triggerGrip() const
Definition: DbGrip.h:678
OdDb::kOsMaskMid
@ kOsMaskMid
Definition: DbGrip.h:152
OdDbGripData::viewportDraw
GripViewportDrawPtr viewportDraw() const
Definition: DbGrip.h:576
OdDb::kOsMaskEnd
@ kOsMaskEnd
Definition: DbGrip.h:151
OdDbVoidPtrArray
OdArray< void *, OdMemoryAllocator< void * > > OdDbVoidPtrArray
Definition: DbGrip.h:45
OdDbGripData::hoverDimensionFunc
GripDimensionPtr hoverDimensionFunc() const
Definition: DbGrip.h:743
OdDbGripData::appData
void * appData() const
Definition: DbGrip.h:526
OdRxClass
Definition: RxObject.h:865
OdDbGripData::inputPointFunc
GripInputPointPtr inputPointFunc() const
Definition: DbGrip.h:773
OdDb::kDragEnd
@ kDragEnd
Definition: DbGrip.h:75
OdDb::kOsMaskPerp
@ kOsMaskPerp
Definition: DbGrip.h:158
OdSmartPtr
Definition: SmartPtr.h:58
OdGePoint3d
Definition: GePoint3d.h:55
OdDb::kGripsDone
@ kGripsDone
Definition: DbGrip.h:81
OdDbGripOperations::kSharedGrip
@ kSharedGrip
Definition: DbGrip.h:126
OdDbDimData
Definition: DbDimData.h:53
GePoint3d.h
OdDbGripOperations::kDragImageGrip
@ kDragImageGrip
Definition: DbGrip.h:94
OdDbGripOperations::GripFlags
GripFlags
Definition: DbGrip.h:112
OdDbGripData::setHoverDimensionFunc
void setHoverDimensionFunc(GripDimensionPtr pf)
Definition: DbGrip.h:748
OdDbGripDataPtrArray
OdArray< OdDbGripDataPtr > OdDbGripDataPtrArray
Definition: DbGrip.h:43
OdDbGripOperations::kDimFocusChanged
@ kDimFocusChanged
Definition: DbGrip.h:107
OdDb::GripStat
GripStat
Definition: DbGrip.h:80
OdDbGripData::setRtClk
void setRtClk(GripRtClkHandler pf)
Definition: DbGrip.h:768
OdDbGripData::setAppData
void setAppData(void *pAppData)
Definition: DbGrip.h:531
OdDbGripOperations::kStretch
@ kStretch
Definition: DbGrip.h:102
OdDbGripData::gripIsPerViewport
bool gripIsPerViewport() const
Definition: DbGrip.h:730
OdChar
wchar_t OdChar
Definition: OdPlatformSettings.h:745
OdDbGripData::drawAtDragImageGripPoint
bool drawAtDragImageGripPoint() const
Definition: DbGrip.h:665
OdDbGripData::setHotGripDimensionFunc
void setHotGripDimensionFunc(GripDimensionPtr pf)
Definition: DbGrip.h:758
SharedPtr.h
GripViewportDrawPtr
void(* GripViewportDrawPtr)(OdDbGripData *pThis, OdGiViewportDraw *pWd, OdDbStub *entId, OdDbGripOperations::DrawType type, OdGePoint3d *imageGripPoint, int gripSize)
Definition: DbGrip.h:180
OdDb::kOsMaskRelPolar
@ kOsMaskRelPolar
Definition: DbGrip.h:167
ODHMENU
void * ODHMENU
Definition: DbGrip.h:54
OdDbGripData::rtClk
GripRtClkHandler rtClk() const
Definition: DbGrip.h:763
OdDbGripData::setHotGripFunc
void setHotGripFunc(GripOperationPtr pf)
Definition: DbGrip.h:551
OdDbGripData::setAppDataOdRxClass
void setAppDataOdRxClass(OdRxClass *pClass)
Definition: DbGrip.h:541
OdDb::kOsMaskQuick
@ kOsMaskQuick
Definition: DbGrip.h:161
OdDbGripOperations::kGripAbort
@ kGripAbort
Definition: DbGrip.h:101
OdDbDimDataPtrArray
OdArray< OdDbDimData *, OdMemoryAllocator< OdDbDimData * > > OdDbDimDataPtrArray
Definition: DbGrip.h:47
OdDbGripData::disableRubberBandLine
void disableRubberBandLine(bool disable)
Definition: DbGrip.h:644
OdDbGripOperations::kHoverGrip
@ kHoverGrip
Definition: DbGrip.h:92
OdDb::kOsMaskImmediate
@ kOsMaskImmediate
Definition: DbGrip.h:163
OdDbGripOperations::kGripPointsOnly
@ kGripPointsOnly
Definition: DbGrip.h:132
OdDbGripOperations::kDisableModeKeywords
@ kDisableModeKeywords
Definition: DbGrip.h:115
OdDbGripData::setAlternateBasePoint
void setAlternateBasePoint(OdGePoint3d *altBasePt)
Definition: DbGrip.h:611
OdDbGripOperations::kScale
@ kScale
Definition: DbGrip.h:105
OdDbGripOperations::kTurnOnForcedPick
@ kTurnOnForcedPick
Definition: DbGrip.h:118
OdDbGripData::appDataOdRxClass
OdRxClass * appDataOdRxClass() const
Definition: DbGrip.h:536
GripWorldDrawPtr
bool(* GripWorldDrawPtr)(OdDbGripData *pThis, OdGiWorldDraw *pWd, OdDbStub *entId, OdDbGripOperations::DrawType type, OdGePoint3d *imageGripPoint, double dGripSize)
Definition: DbGrip.h:172
OdDbGripOperations::kGripIsPerViewport
@ kGripIsPerViewport
Definition: DbGrip.h:121
OdGiWorldDraw
Definition: GiWorldDraw.h:44
GsMarkerArray.h
GripOpStatusPtr
void(* GripOpStatusPtr)(OdDbGripData *pThis, OdDbStub *entId, OdDbGripOperations::GripStatus status)
Definition: DbGrip.h:193
OdDbGripOperations::kZdir
@ kZdir
Definition: DbGrip.h:142
OdDbGripData
Definition: DbGrip.h:241
OdDbGripOperations::kTriggerGrip
@ kTriggerGrip
Definition: DbGrip.h:117
OdDbGripData::setGizmosEnabled
void setGizmosEnabled(bool on)
Definition: DbGrip.h:722
OdDbGripData::gizmosEnabled
bool gizmosEnabled() const
Definition: DbGrip.h:717
OdDbGripOperations::kPolar
@ kPolar
Definition: DbGrip.h:140
OdDbGripData::hoverFunc
GripOperationPtr hoverFunc() const
Definition: DbGrip.h:556
OdDbGripOperations::kCyclableGripsOnly
@ kCyclableGripsOnly
Definition: DbGrip.h:133
OdDbGripOperations::DrawType
DrawType
Definition: DbGrip.h:90
OdDb::kOsMaskNoneOverride
@ kOsMaskNoneOverride
Definition: DbGrip.h:168
GripRtClkHandler
OdResult(* GripRtClkHandler)(OdDbGripDataArray &hotGrips, const OdDbStubPtrArray &ents, OdString &menuName, ODHMENU &menu, ContextMenuItemIndexPtr &cb)
Definition: DbGrip.h:208
OdDbGripOperations::kMove
@ kMove
Definition: DbGrip.h:103
OdDbGripData::bitFlags
unsigned bitFlags() const
Definition: DbGrip.h:616
OdDbGripData::areModeKeywordsDisabled
bool areModeKeywordsDisabled() const
Definition: DbGrip.h:652
OdDbGripData::hotGripDimensionFunc
GripDimensionPtr hotGripDimensionFunc() const
Definition: DbGrip.h:753
OdDbGripOperations::kKeyboard
@ kKeyboard
Definition: DbGrip.h:143
OdDb
Definition: Db2dPolyline.h:50
OdDb::kOsMaskQuad
@ kOsMaskQuad
Definition: DbGrip.h:155
OdDbGripOperations::GripStatus
GripStatus
Definition: DbGrip.h:98
GripInputPointPtr
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)
Definition: DbGrip.h:214
OdDbGripOperations::kMultiHotGrip
@ kMultiHotGrip
Definition: DbGrip.h:127
OdDb::OsnapMask
OsnapMask
Definition: DbGrip.h:150
OdDbGripOperations::kGripEnd
@ kGripEnd
Definition: DbGrip.h:100
OdDb::kOsMaskNear
@ kOsMaskNear
Definition: DbGrip.h:160
OdDbGripOperations::kRotate
@ kRotate
Definition: DbGrip.h:104
OdDbGripOperations::kOsnapped
@ kOsnapped
Definition: DbGrip.h:139
OdDbGripData::setSkipWhenShared
void setSkipWhenShared(bool skip)
Definition: DbGrip.h:631
OdDbGripData::operator=
OdDbGripData & operator=(const OdDbGripData &)
Definition: DbGrip.h:466
OdDbGripData::setTriggerGrip
void setTriggerGrip(bool trigger)
Definition: DbGrip.h:683
OdDbGripOperations::kGizmosEnabled
@ kGizmosEnabled
Definition: DbGrip.h:120
OdDbGripData::setDrawAtDragImageGripPoint
void setDrawAtDragImageGripPoint(bool atDragPoint)
Definition: DbGrip.h:670
OdDbGripOperations::kMirror
@ kMirror
Definition: DbGrip.h:106
OdDbGripData::setViewportDraw
void setViewportDraw(GripViewportDrawPtr pf)
Definition: DbGrip.h:581
OdDb::kOsMaskIns
@ kOsMaskIns
Definition: DbGrip.h:157
OdDbGripData::gripPoint
const OdGePoint3d & gripPoint() const
Definition: DbGrip.h:516
DbStubPtrArray.h
OdDbGripData::setInputPointFunc
void setInputPointFunc(GripInputPointPtr pf)
Definition: DbGrip.h:778
OdDb::kDimDataToBeDeleted
@ kDimDataToBeDeleted
Definition: DbGrip.h:83
OdDbGripData::gripOpStatFunc
GripOpStatusPtr gripOpStatFunc() const
Definition: DbGrip.h:586
OdDb::kOsMaskRelCartesian
@ kOsMaskRelCartesian
Definition: DbGrip.h:166
OdDbGripOperations::kOtrack
@ kOtrack
Definition: DbGrip.h:141
void
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
OdDbGripData::forcedPickOn
bool forcedPickOn() const
Definition: DbGrip.h:691
OdDbGripData::mapGripHotToRtClk
bool mapGripHotToRtClk() const
Definition: DbGrip.h:704
OdGiViewportDraw
Definition: GiViewportDraw.h:50
OdDb::kOsMaskCen
@ kOsMaskCen
Definition: DbGrip.h:153
OdDbGripOperations::kSkipWhenShared
@ kSkipWhenShared
Definition: DbGrip.h:113
OdDbGripOperations::kPopUpMenu
@ kPopUpMenu
Definition: DbGrip.h:108
OdDbGripData::setAllData
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)
Definition: DbGrip.h:489