#include <gepetto/gui/selection-event.hh>
◆ Type
Enumerator |
---|
FromOsgWindow | |
FromBodyTree | |
◆ SelectionEvent() [1/2]
gepetto::gui::SelectionEvent::SelectionEvent |
( |
const Type & | t, |
|
|
NodePtr_t | node = NodePtr_t(), |
|
|
Qt::KeyboardModifiers | modKey = Qt::NoModifier ) |
|
inline |
◆ SelectionEvent() [2/2]
gepetto::gui::SelectionEvent::SelectionEvent |
( |
const Type & | t, |
|
|
Qt::KeyboardModifiers | modKey ) |
|
inline |
◆ done
void gepetto::gui::SelectionEvent::done |
( |
| ) |
|
|
slot |
User must call this in slots using SelectionEvent. This decreases the internal counter and destroys the object when it reaches zero. This is thread-safe.
◆ hasIntersection
bool gepetto::gui::SelectionEvent::hasIntersection |
( |
| ) |
|
|
inlineslot |
◆ modKey [1/2]
Qt::KeyboardModifiers gepetto::gui::SelectionEvent::modKey |
( |
| ) |
const |
|
inlineslot |
◆ modKey() [2/2]
void gepetto::gui::SelectionEvent::modKey |
( |
const Qt::KeyboardModifiers & | m | ) |
|
|
inline |
◆ node()
const NodePtr_t & gepetto::gui::SelectionEvent::node |
( |
| ) |
const |
|
inline |
◆ nodeName
QString gepetto::gui::SelectionEvent::nodeName |
( |
| ) |
const |
|
inlineslot |
◆ normal
QVector3D gepetto::gui::SelectionEvent::normal |
( |
bool | local | ) |
const |
|
inlineslot |
◆ point
QVector3D gepetto::gui::SelectionEvent::point |
( |
bool | local | ) |
const |
|
inlineslot |
◆ primitiveIndex
const unsigned int & gepetto::gui::SelectionEvent::primitiveIndex |
( |
| ) |
const |
|
inlineslot |
◆ setCounter()
void gepetto::gui::SelectionEvent::setCounter |
( |
int | c | ) |
|
|
inline |
Set this to the number of slots that will receive the event.
- Warning
- Not thread-safe
◆ setupIntersection()
void gepetto::gui::SelectionEvent::setupIntersection |
( |
const osgUtil::LineSegmentIntersector::Intersection & | it | ) |
|
◆ type
Type gepetto::gui::SelectionEvent::type |
( |
| ) |
const |
|
inlineslot |
The documentation for this class was generated from the following file: