#include <FWGLEventHandler.h>
Definition at line 11 of file FWGLEventHandler.h.
FWGLEventHandler::FWGLEventHandler |
( |
TGWindow * |
w, |
|
|
TObject * |
obj, |
|
|
TEveCaloLego * |
l = 0 |
|
) |
| |
virtual FWGLEventHandler::~FWGLEventHandler |
( |
| ) |
|
|
inlinevirtual |
Bool_t FWGLEventHandler::HandleCrossing |
( |
Event_t * |
event | ) |
|
|
virtual |
Definition at line 84 of file FWGLEventHandler.cc.
References m_viewer.
90 TEveGedEditor::ElementChanged(
m_viewer);
92 return TGLEventHandler::HandleCrossing(
event);
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
Bool_t FWGLEventHandler::HandleFocusChange |
( |
Event_t * |
event | ) |
|
|
virtual |
Definition at line 72 of file FWGLEventHandler.cc.
References m_viewer.
78 TEveGedEditor::ElementChanged(
m_viewer);
80 return TGLEventHandler::HandleFocusChange(
event);
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
Bool_t FWGLEventHandler::HandleKey |
( |
Event_t * |
event | ) |
|
|
virtual |
Definition at line 46 of file FWGLEventHandler.cc.
References event(), PopupContextMenu(), tmp, x, and detailsBasic3DVector::y.
50 gVirtualX->LookupString(
event, tmp,
sizeof(tmp), keysym);
52 if (keysym == kKey_Enter || keysym == kKey_Return || keysym == kKey_Space)
54 if (
event->fType == kGKeyPress)
58 gVirtualX->TranslateCoordinates(fGLViewer->GetGLWidget()->GetId(), gClient->GetDefaultRoot()->GetId(),
59 event->fX,
event->fY,
x,
y, childdum);
61 fGLViewer->RequestSelect(
event->fX,
event->fY);
68 return TEveLegoEventHandler::HandleKey(
event);
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
virtual void PopupContextMenu(TGLPhysicalShape *pshp, Event_t *event, Int_t gx, Int_t gy)
std::vector< std::vector< double > > tmp
void FWGLEventHandler::PopupContextMenu |
( |
TGLPhysicalShape * |
pshp, |
|
|
Event_t * |
event, |
|
|
Int_t |
gx, |
|
|
Int_t |
gy |
|
) |
| |
|
virtual |
Definition at line 19 of file FWGLEventHandler.cc.
References FWGeoTopNodeGLScene::GeoPopupMenu(), m_viewer, and openSelectedModelContextMenu_.
Referenced by HandleKey().
23 if (
event->fState & kKeyShiftMask &&
event->fState & kKeyControlMask)
25 TGLEventHandler::PopupContextMenu(pshp,
event, gx, gy);
31 SelectForClicked(
event);
33 if (pshp->GetLogical())
void GeoPopupMenu(Int_t gx, Int_t gy, TGLViewer *)
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
sigc::signal< void, Int_t, Int_t > openSelectedModelContextMenu_
void FWGLEventHandler::setViewer |
( |
TEveViewer * |
ev | ) |
|
|
inline |
TEveViewer* FWGLEventHandler::m_viewer |
|
private |
sigc::signal<void,Int_t,Int_t> FWGLEventHandler::openSelectedModelContextMenu_ |