#include <FWViewContextMenuHandlerGL.h>
Public Types | |
enum | GLViewerAction { kAnnotate, kCameraCenter, kResetCameraCenter, kOrigin, kNone } |
Public Member Functions | |
FWViewContextMenuHandlerGL (FWEveView *v) | |
FWViewContextMenuHandlerGL (const FWViewContextMenuHandlerGL &)=delete | |
const FWViewContextMenuHandlerGL & | operator= (const FWViewContextMenuHandlerGL &)=delete |
void | select (int iEntryIndex, const FWModelId &id, int iX, int iY) override |
~FWViewContextMenuHandlerGL () override | |
Public Member Functions inherited from FWViewContextMenuHandlerBase | |
void | addTo (FWModelContextMenuHandler &, const FWModelId &id) |
FWViewContextMenuHandlerBase () | |
FWViewContextMenuHandlerBase (const FWViewContextMenuHandlerBase &)=delete | |
const FWViewContextMenuHandlerBase & | operator= (const FWViewContextMenuHandlerBase &)=delete |
virtual | ~FWViewContextMenuHandlerBase () |
Private Member Functions | |
void | init (FWViewContextMenuHandlerBase::MenuEntryAdder &, const FWModelId &id) override |
Called when have to add entries to the context menu. More... | |
Private Attributes | |
FWEveView * | m_view |
Definition at line 9 of file FWViewContextMenuHandlerGL.h.
Enumerator | |
---|---|
kAnnotate | |
kCameraCenter | |
kResetCameraCenter | |
kOrigin | |
kNone |
Definition at line 11 of file FWViewContextMenuHandlerGL.h.
FWViewContextMenuHandlerGL::FWViewContextMenuHandlerGL | ( | FWEveView * | v | ) |
Definition at line 21 of file FWViewContextMenuHandlerGL.cc.
|
inlineoverride |
Definition at line 14 of file FWViewContextMenuHandlerGL.h.
|
delete |
|
overrideprivatevirtual |
Called when have to add entries to the context menu.
Implements FWViewContextMenuHandlerBase.
Definition at line 23 of file FWViewContextMenuHandlerGL.cc.
References FWViewContextMenuHandlerBase::MenuEntryAdder::addEntry(), gedGsfElectrons_cfi::enabled, FWViewType::isProjected(), kAnnotate, kCameraCenter, kResetCameraCenter, m_view, AlCaHLTBitMon_ParallelJobs::p, and FWViewBase::typeId().
|
delete |
|
overridevirtual |
Called when a menu item was selected iEntryIndex: the index of the selected menu item. Same as returned from 'addEntry' iX, iY: Screen coordinates of where mouse was clicked
Implements FWViewContextMenuHandlerBase.
Definition at line 36 of file FWViewContextMenuHandlerGL.cc.
References FWEveView::context(), validate-o2o-wbm::f, FWModelId::index(), FWViewType::isProjected(), FWModelId::item(), B2GTnPMonitor_cfi::item, kAnnotate, kCameraCenter, kResetCameraCenter, m_view, FWEventItem::modelData(), mergeVDriftHistosByStation::name, MetAnalyzer::pv(), FWRPZView::resetOrigin(), FWSelectionManager::selected(), fireworks::Context::selectionManager(), FWRPZView::shiftOrigin(), AlCaHLTBitMon_QueryRunRegistry::string, FWViewBase::typeId(), findQualityFiles::v, FWItemValueGetter::valueFor(), FWEventItem::valueGetter(), FWEveView::viewerGL(), x, and y.
|
private |
Definition at line 23 of file FWViewContextMenuHandlerGL.h.