API Reference > OdDb Classes > OdDbGripData Class > OdDbGripData Constructor > OdDbGripData::OdDbGripData Constructor (OdGePoint3d&, void*, GripOperationPtr, GripOperationPtr, GripRtClkHandler, GripWorldDrawPtr, GripViewportDrawPtr, GripOpStatusPtr, GripToolTipPtr, GripDimensionPtr, GripDimensionPtr, unsigned, OdGePoint3d*, GripInputPointPtr)
OdDbGripData::OdDbGripData Constructor (OdGePoint3d&, void*, GripOperationPtr, GripOperationPtr, GripRtClkHandler, GripWorldDrawPtr, GripViewportDrawPtr, GripOpStatusPtr, GripToolTipPtr, GripDimensionPtr, GripDimensionPtr, unsigned, OdGePoint3d*, GripInputPointPtr)
Syntax
C++
OdDbGripData(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);
Parameters 
Description 
const OdGePoint3d& pt 
[in] Grip point.  
void* AppData 
[in] Application-specific data.  
GripOperationPtr hotGrip 
[in] Function to call when the grip becomes hot.  
GripOperationPtr hoverGrip 
[in] Function to call when the grip is hovered over.  
GripRtClkHandler RtClk 
[in] Function to call when the grip is right-clicked.  
GripWorldDrawPtr wd 
[in] Function to draw grip's graphics.  
GripViewportDrawPtr vd 
[in] Function to draw viewport-specific grip's graphics.  
GripOpStatusPtr stat 
[in] Function that notifies about the edit status of the grip.  
GripToolTipPtr tt 
[in] Function that gets the tooltip string of the grip.  
GripDimensionPtr hoverDim 
[in] Function that gets the dynamic dimensions of the grip when it is hovered over.  
GripDimensionPtr hotGripDim 
[in] Function that gets the dynamic dimensions of the grip when it becomes hot.  
unsigned bitFlags 
[in] Flags used to modify the grip's behaviour. Specified by the GripFlags enumeration.  
OdGePoint3d* altBasePt 
[in] Base point of the grip operation.  
GripInputPointPtr inputPointFunc 
[in] Function to call when on the certain step of the grip editing operation the input point is received. Used for custom entities. 

Constructor. Creates a new object of the OdDbGripData class and sets its data. 

 

Copyright © 2002–2020. Open Design Alliance. All rights reserved.