#include <FWGeometryTableView.h>
Public Types | |
enum | EMode { kNode, kVolume } |
Public Types inherited from FWParameterizable | |
typedef std::vector < FWParameterBase * > ::const_iterator | const_iterator |
Public Member Functions | |
virtual void | addTo (FWConfiguration &) const |
void | cdNode (int) |
void | cdTop () |
void | cdUp () |
void | cellClicked (Int_t iRow, Int_t iColumn, Int_t iButton, Int_t iKeyMod, Int_t iGlobalX, Int_t iGlobalY) |
void | chosenItem (int) |
void | filterListCallback () |
void | filterTextEntryCallback () |
FWGeometryTableView (TEveWindowSlot *, FWColorManager *, TGeoNode *, TObjArray *) | |
int | getAutoExpand () const |
std::string | getFilter () const |
bool | getIgnoreVisLevelWhenFilter () const |
FWGeometryTableManager * | getTableManager () |
int | getTopNodeIdx () const |
int | getVisLevel () const |
bool | getVolumeMode () const |
void | nodeColorChangeRequested (Color_t) |
void | populate3DViewsFromConfig () |
void | printTable () |
virtual void | saveImageTo (const std::string &iName) const |
void | selectView (int) |
void | setBackgroundColor () |
virtual void | setFrom (const FWConfiguration &) |
void | setPath (int, std::string &) |
void | updateFilter (std::string &) |
virtual | ~FWGeometryTableView () |
Public Member Functions inherited from FWViewBase | |
virtual FWViewContextMenuHandlerBase * | contextMenuHandler () const |
void | destroy () |
FWViewBase (FWViewType::EType, unsigned int iVersion=1) | |
virtual void | populateController (ViewerParameterGUI &) const |
void | promptForSaveImageTo (TGFrame *) const |
FWViewType::EType | typeId () const |
const std::string & | typeName () const |
Public Member Functions inherited from FWConfigurableParameterizable | |
FWConfigurableParameterizable (unsigned int iVersion=1) | |
unsigned int | version () const |
virtual | ~FWConfigurableParameterizable () |
Public Member Functions inherited from FWParameterizable | |
void | add (FWParameterBase *) |
const_iterator | begin () const |
const_iterator | end () const |
FWParameterizable () | |
virtual | ~FWParameterizable () |
Public Member Functions inherited from FWConfigurable | |
FWConfigurable () | |
virtual | ~FWConfigurable () |
Public Member Functions inherited from FWParameterSetterEditorBase | |
FWParameterSetterEditorBase () | |
virtual void | updateEditor () |
virtual | ~FWParameterSetterEditorBase () |
Private Member Functions | |
void | autoExpandChanged () |
ClassDef (FWGeometryTableView, 0) | |
FWGeometryTableView (const FWGeometryTableView &) | |
void | loadGeometry () |
void | makeSetter (TGCompositeFrame *frame, FWParameterBase *param) |
void | modeChanged () |
const FWGeometryTableView & | operator= (const FWGeometryTableView &) |
void | refreshTable3D () |
void | resetSetters () |
Private Attributes | |
FWLongParameter | m_autoExpand |
FWColorManager * | m_colorManager |
FWColorPopup * | m_colorPopup |
FWGeoTopNode * | m_eveTopNode |
TEveWindowFrame * | m_eveWindow |
FWStringParameter | m_filter |
FWGUIValidatingTextEntry * | m_filterEntry |
FWGeoMaterialValidator * | m_filterValidator |
TGCompositeFrame * | m_frame |
FWEnumParameter | m_mode |
std::vector< boost::shared_ptr < FWParameterSetterBase > > | m_setters |
TGCompositeFrame * | m_settersFrame |
FWGeometryTableManager * | m_tableManager |
FWTableWidget * | m_tableWidget |
FWLongParameter | m_topNodeIdx |
FWViewCombo * | m_viewBox |
const FWConfiguration * | m_viewersConfig |
FWLongParameter | m_visLevel |
FWBoolParameter | m_visLevelFilter |
Additional Inherited Members | |
Public Attributes inherited from FWViewBase | |
sigc::signal< void, const FWViewBase * > | beingDestroyed_ |
sigc::signal< void, Int_t, Int_t > | openSelectedModelContextMenu_ |
Protected Member Functions inherited from FWViewBase | |
virtual | ~FWViewBase () |
Protected Attributes inherited from FWViewBase | |
FWViewType | m_type |
Definition at line 46 of file FWGeometryTableView.h.
FWGeometryTableView::FWGeometryTableView | ( | TEveWindowSlot * | iParent, |
FWColorManager * | colMng, | ||
TGeoNode * | tn, | ||
TObjArray * | volumes | ||
) |
Definition at line 211 of file FWGeometryTableView.cc.
References FWEnumParameter::addEntry(), autoExpandChanged(), cdTop(), FWGenericParameter< T >::changed_, FWTableWidget::disableGrowInWidth(), FWGUIValidatingTextEntry::getListBox(), FWGeometryTableManager::loadGeometry(), m_autoExpand, m_eveWindow, m_filterEntry, m_filterValidator, m_frame, m_mode, m_settersFrame, m_tableManager, m_tableWidget, m_viewBox, m_visLevel, m_visLevelFilter, modeChanged(), refreshTable3D(), resetSetters(), FWTableWidget::SetBackgroundColor(), FWTableWidget::SetHeaderBackgroundColor(), FWTableWidget::SetLineSeparatorColor(), FWGUIValidatingTextEntry::setMaxListBoxHeight(), and FWGUIValidatingTextEntry::setValidator().
|
virtual |
Definition at line 311 of file FWGeometryTableView.cc.
References m_eveTopNode, m_eveWindow, m_frame, m_tableManager, and x.
|
private |
|
virtual |
Reimplemented from FWConfigurableParameterizable.
Definition at line 334 of file FWGeometryTableView.cc.
References FWConfiguration::addKeyValue(), FWConfigurableParameterizable::addTo(), m_eveTopNode, and n.
|
private |
Definition at line 768 of file FWGeometryTableView.cc.
References FWGeometryTableManager::checkExpandLevel(), m_tableManager, and FWGeometryTableManager::redrawTable().
Referenced by FWGeometryTableView().
void FWGeometryTableView::cdNode | ( | int | idx | ) |
Definition at line 647 of file FWGeometryTableView.cc.
References FWGeometryTableManager::getNodePath(), m_tableManager, L1TEmulatorMonitor_cff::p, and setPath().
Referenced by chosenItem(), and setFrom().
void FWGeometryTableView::cdTop | ( | ) |
Definition at line 654 of file FWGeometryTableView.cc.
References m_tableManager, path(), FWGeometryTableManager::refEntries(), and setPath().
Referenced by FWGeometryTableView().
void FWGeometryTableView::cdUp | ( | ) |
Definition at line 661 of file FWGeometryTableView.cc.
References FWGeometryTableManager::getNodePath(), getTopNodeIdx(), m_tableManager, L1TEmulatorMonitor_cff::p, FWGeometryTableManager::refEntries(), and setPath().
void FWGeometryTableView::cellClicked | ( | Int_t | iRow, |
Int_t | iColumn, | ||
Int_t | iButton, | ||
Int_t | iKeyMod, | ||
Int_t | iGlobalX, | ||
Int_t | iGlobalY | ||
) |
Definition at line 472 of file FWGeometryTableView.cc.
References FWColorManager::backgroundColorIndex(), colors, FWTableManagerBase::dataChanged(), FWColorManager::fillLimitedColors(), FWGeometryTableManager::firstColumnClicked(), FWGeometryTableManager::getVisibility(), FWGeometryTableManager::getVisibilityChld(), FWColorPopup::InitContent(), FWColorManager::kBlackIndex, kCamera, FWGeometryTableManager::kColor, kInspectMaterial, kInspectShape, FWGeometryTableManager::kName, kSetTopNode, kSetTopNodeCam, kTableDebug, FWGeometryTableManager::kVisChild, kVisOff, kVisOn, FWGeometryTableManager::kVisSelf, m_colorManager, m_colorPopup, m_eveTopNode, m_tableManager, FWColorPopup::PlacePopup(), FWGeometryTableManager::refSelected(), FWColorPopup::ResetColors(), FWColorPopup::SetName(), FWGeometryTableManager::setSelection(), FWGeometryTableManager::setVisibility(), and FWGeometryTableManager::setVisibilityChld().
void FWGeometryTableView::chosenItem | ( | int | x | ) |
Definition at line 548 of file FWGeometryTableView.cc.
References cdNode(), FWGeometryTableManager::getNodeMatrix(), kCamera, kInspectMaterial, kInspectShape, kSetTopNode, kSetTopNodeCam, kTableDebug, kVisOff, kVisOn, FWGeometryTableManager::NodeInfo::m_node, FWGeometryTableManager::m_selectedIdx, m_tableManager, mergeVDriftHistosByStation::name, FWGeometryTableManager::printMaterials(), refreshTable3D(), FWGeometryTableManager::refSelected(), FWGeometryTableManager::setDaughtersSelfVisibility(), and v.
|
private |
void FWGeometryTableView::filterListCallback | ( | ) |
Definition at line 712 of file FWGeometryTableView.cc.
References FWGUIValidatingTextEntry::getListBox(), list(), m_filterEntry, m_filterValidator, FWGeoMaterialValidator::m_list, and updateFilter().
void FWGeometryTableView::filterTextEntryCallback | ( | ) |
Definition at line 697 of file FWGeometryTableView.cc.
References funct::exp(), fwLog, FWGeoMaterialValidator::isStringValid(), fwlog::kError, m_filterEntry, m_filterValidator, and updateFilter().
|
inline |
Definition at line 78 of file FWGeometryTableView.h.
References m_autoExpand, and FWGenericParameter< T >::value().
Referenced by FWGeometryTableManager::checkExpandLevel(), FWGeometryTableManager::importChildren(), and FWGeometryTableManager::loadGeometry().
|
inline |
Definition at line 77 of file FWGeometryTableView.h.
References m_filter, and FWGenericParameter< T >::value().
Referenced by FWGeoTopNode::Paint(), and FWGeometryTableManager::updateFilter().
|
inline |
Definition at line 80 of file FWGeometryTableView.h.
References m_visLevelFilter, and FWGenericParameter< T >::value().
Referenced by FWGeoTopNode::paintChildNodesRecurse().
|
inline |
Definition at line 83 of file FWGeometryTableView.h.
References m_tableManager.
Referenced by FWGeoTopNode::FWGeoTopNode(), FWGeoTopNode::Paint(), and FWGeoTopNode::paintChildNodesRecurse().
|
inline |
Definition at line 82 of file FWGeometryTableView.h.
References m_topNodeIdx, and FWGenericParameter< T >::value().
Referenced by cdUp(), FWGeoTopNode::Paint(), FWGeometryTableManager::recalculateVisibility(), and FWGeometryTableManager::updateFilter().
|
inline |
Definition at line 79 of file FWGeometryTableView.h.
References m_visLevel, and FWGenericParameter< T >::value().
Referenced by FWGeoTopNode::Paint().
|
inline |
Definition at line 76 of file FWGeometryTableView.h.
References m_mode, and FWGenericParameter< T >::value().
Referenced by FWGeometryTableManager::cellRenderer(), FWGeometryTableManager::getTitles(), FWGeometryTableManager::getVisibility(), FWGeometryTableManager::getVisibilityChld(), FWGeoTopNode::paintShape(), FWGeometryTableManager::recalculateVisibility(), FWGeometryTableManager::setVisibility(), and FWGeometryTableManager::setVisibilityChld().
|
private |
|
private |
Definition at line 420 of file FWGeometryTableView.cc.
References m_frame, m_setters, and FWParameterSetterBase::makeSetterFor().
Referenced by resetSetters().
|
private |
Definition at line 758 of file FWGeometryTableView.cc.
References m_tableManager, refreshTable3D(), and FWGeometryTableManager::updateFilter().
Referenced by FWGeometryTableView().
void FWGeometryTableView::nodeColorChangeRequested | ( | Color_t | col | ) |
Definition at line 629 of file FWGeometryTableView.cc.
References FWGeometryTableManager::NodeInfo::m_color, FWGeometryTableManager::NodeInfo::m_node, m_tableManager, refreshTable3D(), and FWGeometryTableManager::refSelected().
|
private |
void FWGeometryTableView::populate3DViewsFromConfig | ( | ) |
Definition at line 368 of file FWGeometryTableView.cc.
References FWConfiguration::keyValues(), m_eveTopNode, m_viewBox, m_viewersConfig, asciidump::s, and FWViewCombo::setElement().
Referenced by FWGUIManager::setFrom().
void FWGeometryTableView::printTable | ( | ) |
Definition at line 638 of file FWGeometryTableView.cc.
References m_tableManager, and FWGeometryTableManager::printChildren().
|
private |
Definition at line 775 of file FWGeometryTableView.cc.
References m_eveTopNode, m_tableManager, and FWGeometryTableManager::redrawTable().
Referenced by chosenItem(), FWGeometryTableView(), modeChanged(), nodeColorChangeRequested(), setPath(), and updateFilter().
|
private |
Definition at line 396 of file FWGeometryTableView.cc.
References f, m_autoExpand, m_frame, m_mode, m_setters, m_settersFrame, m_visLevel, m_visLevelFilter, and makeSetter().
Referenced by FWGeometryTableView(), and setFrom().
|
inlinevirtual |
void FWGeometryTableView::selectView | ( | int | idx | ) |
Definition at line 435 of file FWGeometryTableView.cc.
References m_eveTopNode, m_viewBox, FWViewCombo::setElement(), and v.
void FWGeometryTableView::setBackgroundColor | ( | ) |
Definition at line 615 of file FWGeometryTableView.cc.
References FWColorManager::backgroundColorIndex(), FWColorManager::kWhiteIndex, m_colorManager, m_tableManager, m_tableWidget, FWTableWidget::SetBackgroundColor(), FWGeometryTableManager::setBackgroundToWhite(), and FWTableWidget::SetLineSeparatorColor().
Referenced by python.Vispa.Plugins.EdmBrowser.EventContentView.LabelItem::__init__().
|
virtual |
Reimplemented from FWConfigurableParameterizable.
Definition at line 353 of file FWGeometryTableView.cc.
References FWParameterizable::begin(), cdNode(), FWParameterizable::end(), m_filter, m_filterEntry, m_topNodeIdx, m_viewersConfig, resetSetters(), FWGenericParameter< T >::value(), and FWConfiguration::valueForKey().
void FWGeometryTableView::setPath | ( | int | parentIdx, |
std::string & | path | ||
) |
Definition at line 672 of file FWGeometryTableView.cc.
References FWGeometryTableManager::checkExpandLevel(), m_eveTopNode, m_tableManager, m_topNodeIdx, FWGeometryTableManager::redrawTable(), refreshTable3D(), FWGenericParameter< T >::set(), FWGeometryTableManager::topGeoNodeChanged(), and FWGeometryTableManager::updateFilter().
Referenced by cdNode(), cdTop(), and cdUp().
void FWGeometryTableView::updateFilter | ( | std::string & | exp | ) |
Definition at line 727 of file FWGeometryTableView.cc.
References FWGeometryTableManager::checkExpandLevel(), i, m_filter, m_filterEntry, m_filterValidator, FWGeoMaterialValidator::m_list, m_tableManager, FWGeometryTableManager::refEntries(), refreshTable3D(), FWGenericParameter< T >::set(), FWGeometryTableManager::setVisibility(), FWGeometryTableManager::setVisibilityChld(), FWGeometryTableManager::updateFilter(), and FWGenericParameter< T >::value().
Referenced by filterListCallback(), and filterTextEntryCallback().
|
private |
Definition at line 103 of file FWGeometryTableView.h.
Referenced by FWGeometryTableView(), getAutoExpand(), and resetSetters().
|
private |
Definition at line 109 of file FWGeometryTableView.h.
Referenced by cellClicked(), and setBackgroundColor().
|
private |
Definition at line 116 of file FWGeometryTableView.h.
Referenced by cellClicked().
|
private |
Definition at line 114 of file FWGeometryTableView.h.
Referenced by addTo(), cellClicked(), populate3DViewsFromConfig(), refreshTable3D(), selectView(), setPath(), and ~FWGeometryTableView().
|
private |
Definition at line 118 of file FWGeometryTableView.h.
Referenced by FWGeometryTableView(), and ~FWGeometryTableView().
|
private |
Definition at line 102 of file FWGeometryTableView.h.
Referenced by getFilter(), setFrom(), and updateFilter().
|
private |
Definition at line 123 of file FWGeometryTableView.h.
Referenced by filterListCallback(), filterTextEntryCallback(), FWGeometryTableView(), setFrom(), and updateFilter().
|
private |
Definition at line 124 of file FWGeometryTableView.h.
Referenced by filterListCallback(), filterTextEntryCallback(), FWGeometryTableView(), and updateFilter().
|
private |
Definition at line 119 of file FWGeometryTableView.h.
Referenced by FWGeometryTableView(), makeSetter(), resetSetters(), and ~FWGeometryTableView().
|
private |
Definition at line 101 of file FWGeometryTableView.h.
Referenced by FWGeometryTableView(), getVolumeMode(), and resetSetters().
|
private |
Definition at line 129 of file FWGeometryTableView.h.
Referenced by makeSetter(), and resetSetters().
|
private |
Definition at line 113 of file FWGeometryTableView.h.
Referenced by FWGeometryTableView(), and resetSetters().
|
private |
Definition at line 111 of file FWGeometryTableView.h.
Referenced by autoExpandChanged(), cdNode(), cdTop(), cdUp(), cellClicked(), chosenItem(), FWGeometryTableView(), getTableManager(), modeChanged(), nodeColorChangeRequested(), printTable(), refreshTable3D(), setBackgroundColor(), setPath(), updateFilter(), and ~FWGeometryTableView().
|
private |
Definition at line 110 of file FWGeometryTableView.h.
Referenced by FWGeometryTableView(), and setBackgroundColor().
|
private |
Definition at line 106 of file FWGeometryTableView.h.
Referenced by getTopNodeIdx(), setFrom(), and setPath().
|
private |
Definition at line 121 of file FWGeometryTableView.h.
Referenced by FWGeometryTableView(), populate3DViewsFromConfig(), and selectView().
|
private |
Definition at line 126 of file FWGeometryTableView.h.
Referenced by populate3DViewsFromConfig(), and setFrom().
|
private |
Definition at line 104 of file FWGeometryTableView.h.
Referenced by FWGeometryTableView(), getVisLevel(), and resetSetters().
|
private |
Definition at line 105 of file FWGeometryTableView.h.
Referenced by FWGeometryTableView(), getIgnoreVisLevelWhenFilter(), and resetSetters().