C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

NO TRANSLATION. More...

#include <vsn_objectpickselection.h>

+ Collaboration diagram for VSN::PickSelectionEvent:

Public Member Functions

 PickSelectionEvent ()
 Default constructor.
 
 PickSelectionEvent (const NodeKey &key, int geoIdx, const NodeKey &geoKey, const NodeKey &geoItemKey, uint primitiveId)
 NO TRANSLATION.
 
 PickSelectionEvent (const PickSelectionEvent &other)
 NO TRANSLATION.
 
ObjectType GetTypeObject () const
 NO TRANSLATION.
 
void SetTypeObject (ObjectType type)
 NO TRANSLATION.
 
NodeKey GetEssenceKey () const
 NO TRANSLATION.
 
uint GetGeometryIdx () const
 NO TRANSLATION.
 
NodeKey GetGeometryKey () const
 NO TRANSLATION.
 
NodeKey GetGeometryItemKey () const
 NO TRANSLATION.
 
uint GetPrimitiveId () const
 NO TRANSLATION.
 
MbPath GetMathPath () const
 NO TRANSLATION.
 
void SetMathPath (const MbPath &path)
 NO TRANSLATION.
 
uint32 GetMathPrimitive () const
 NO TRANSLATION.
 
void SetMathPrimitive (uint32 id)
 NO TRANSLATION.
 
PickSelectionEventoperator= (const PickSelectionEvent &other)
 Copy operator.
 
bool Control () const
 True if Ctrl key is currently pressed.
 
bool Shift () const
 True if Shift key is currently pressed.
 
bool Alt () const
 True if Alt key is currently pressed.
 
bool LeftAlt () const
 True if the left Alt key is pressed.
 
bool LeftControl () const
 True if the left Ctrl key is pressed.
 
bool LeftShift () const
 True if the left Shift key is pressed.
 
bool RightAlt () const
 True if the right Alt key is pressed.
 
bool RightControl () const
 True if the right Ctrl key is pressed.
 
bool RightShift () const
 True if the right Shift key is pressed.
 
bool LButton () const
 True if the left mouse button is pressed.
 
bool MButton () const
 True if the middle mouse button is pressed.
 
bool RButton () const
 True if the right mouse button is pressed.
 
unsigned int GetFlags () const
 Returns ProcessEvent bit flags like mb_LButton for special events of Shift and Ctrl keys as well as left, middle and right mouse buttons.
 
void SetFlags (int flags)
 This method sets bitwise flags that shows the state of mouse buttons, Shift and Ctrl keys. More...
 
PointI GetCursorPos () const
 NO TRANSLATION.
 
void SetCursorPos (const PointI &pnt)
 NO TRANSLATION.
 

Protected Attributes

PointI m_cursorPos
 NO TRANSLATION.
 
unsigned int m_flags
 Flags indicate which of mouse buttons is pressed and if Shift and Ctrl keyboard keys are pressed.
 

Detailed Description

NO TRANSLATION.

NO TRANSLATION.

Member Function Documentation

◆ SetFlags()

void VSN::PickSelectionEvent::SetFlags ( int  flags)
inline

This method sets bitwise flags that shows the state of mouse buttons, Shift and Ctrl keys.

Parameters
[in]flags- Bitwise flags for mouse and key states. For example, if both Shift key and left mouse button are pressed, pass mb_Shift|mb_LButton.

The documentation for this class was generated from the following file: