fw4spl
fwDataTools::PickingInfo Struct Reference

Structure to store picking information. More...

#include <PickingInfo.hpp>

Public Types

enum  Modifier { NONE = 0, CTRL = 1, SHIFT = 2 }
 
enum  Event : std::int8_t {
  MOUSE_LEFT_UP = 0, MOUSE_RIGHT_UP, MOUSE_MIDDLE_UP, MOUSE_WHEELFORWARD,
  MOUSE_LEFT_DOWN, MOUSE_RIGHT_DOWN, MOUSE_MIDDLE_DOWN, MOUSE_WHEELBACKWARD,
  MOUSE_MOVE, KEY_PRESS
}
 

Public Attributes

double m_worldPos [3]
 Position clicked in world coordinates.
 
int m_cellId = -1
 Id of the cell.
 
int m_closestPointId = -1
 Id of the closest point.
 
Event m_eventId = Event::MOUSE_LEFT_UP
 Mouse event.
 
std::int8_t m_modifierMask = 0
 Modifier mask.
 
char m_keyPressed = 0
 Key event.
 
::fwCore::HiResClock::HiResClockType m_timestamp
 

Detailed Description

Structure to store picking information.

Definition at line 20 of file PickingInfo.hpp.


The documentation for this struct was generated from the following files: