#include <FWGeometryTableViewBase.h>
Classes | |
class | FWViewCombo |
Public Member Functions | |
void | addTo (FWConfiguration &) const override |
void | cdNode (int) |
virtual void | cdTop () |
virtual void | cdUp () |
virtual void | cellClicked (Int_t iRow, Int_t iColumn, Int_t iButton, Int_t iKeyMod, Int_t iGlobalX, Int_t iGlobalY) |
void | checkExpandLevel () |
virtual void | chosenItem (int) |
FWGeometryTableViewBase (TEveWindowSlot *, FWViewType::EType, FWColorManager *) | |
bool | getEnableHighlight () |
long | getLeafTransparencyFactor () const |
FWEveDigitSetScalableMarker * | getMarker () |
long | getMinLeafTransparency () const |
long | getMinParentTransparency () const |
long | getParentTransparencyFactor () const |
virtual FWGeometryTableManagerBase * | getTableManager () |
int | getTopNodeIdx () const |
void | nodeColorChangeRequested (Color_t) |
void | populate3DViewsFromConfig () |
virtual void | refreshTable3D () |
void | reloadColors () |
void | saveImageTo (const std::string &iName) const override |
void | selectView (int) |
void | setBackgroundColor () |
virtual void | setPath (int, std::string &) |
void | transparencyChanged () |
~FWGeometryTableViewBase () override | |
Public Member Functions inherited from FWViewBase | |
virtual FWViewContextMenuHandlerBase * | contextMenuHandler () const |
void | destroy () |
FWViewBase (FWViewType::EType, unsigned int iVersion=1) | |
void | promptForSaveImageTo (TGFrame *) const |
FWViewType::EType | typeId () const |
const std::string & | typeName () const |
Public Member Functions inherited from FWConfigurableParameterizable | |
FWConfigurableParameterizable (unsigned int iVersion=1) | |
void | setFrom (const FWConfiguration &) override |
unsigned int | version () const |
~FWConfigurableParameterizable () override | |
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 () |
Protected Member Functions | |
void | populateController (ViewerParameterGUI &) const override |
void | postConst () |
void | setTopNodePathFromConfig (const FWConfiguration &iFrom) |
Protected Member Functions inherited from FWViewBase | |
~FWViewBase () override | |
Protected Attributes | |
FWLongParameter | m_autoExpand |
FWColorManager * | m_colorManager |
FWColorPopup * | m_colorPopup |
FWBoolParameter | m_enableHighlight |
bool | m_enableRedraw |
TEveScene * | m_eveScene |
FWGeoTopNode * | m_eveTopNode |
TEveWindowFrame * | m_eveWindow |
TGCompositeFrame * | m_frame |
FWLongParameter | m_leafTransparencyFactor |
FWEveDigitSetScalableMarker * | m_marker |
FWLongParameter | m_minLeafTransparency |
FWLongParameter | m_minParentTransparency |
FWLongParameter | m_parentTransparencyFactor |
FWTableWidget * | m_tableWidget |
FWLongParameter | m_topNodeIdx |
FWViewCombo * | m_viewBox |
const FWConfiguration * | m_viewersConfig |
Protected Attributes inherited from FWViewBase | |
FWViewType | m_type |
Private Member Functions | |
ClassDef (FWGeometryTableViewBase, 0) | |
FWGeometryTableViewBase (const FWGeometryTableViewBase &) | |
const FWGeometryTableViewBase & | operator= (const FWGeometryTableViewBase &) |
void | setColumnSelected (int idx) |
Private Attributes | |
int | m_tableRowIndexForColorPopup |
Additional Inherited Members | |
Public Types inherited from FWParameterizable | |
typedef std::vector< FWParameterBase * >::const_iterator | const_iterator |
Public Attributes inherited from FWViewBase | |
sigc::signal< void, const FWViewBase * > | beingDestroyed_ |
sigc::signal< void, Int_t, Int_t > | openSelectedModelContextMenu_ |
Definition at line 41 of file FWGeometryTableViewBase.h.
FWGeometryTableViewBase::FWGeometryTableViewBase | ( | TEveWindowSlot * | iParent, |
FWViewType::EType | type, | ||
FWColorManager * | colMng | ||
) |
Definition at line 148 of file FWGeometryTableViewBase.cc.
References FWGenericParameter< T >::changed_, m_eveWindow, m_frame, m_leafTransparencyFactor, m_minLeafTransparency, m_minParentTransparency, m_parentTransparencyFactor, and refreshTable3D().
|
override |
Definition at line 210 of file FWGeometryTableViewBase.cc.
References amptDefault_cfi::frame, getTableManager(), m_eveWindow, and m_frame.
|
private |
|
overridevirtual |
Reimplemented from FWConfigurableParameterizable.
Definition at line 552 of file FWGeometryTableViewBase.cc.
References FWConfiguration::addKeyValue(), FWConfigurableParameterizable::addTo(), dqmdumpme::k, m_eveTopNode, FWGeoTopNode::m_scene, and alignCSCRings::s.
void FWGeometryTableViewBase::cdNode | ( | int | idx | ) |
Definition at line 231 of file FWGeometryTableViewBase.cc.
References FWGeometryTableManagerBase::getNodePath(), getTableManager(), charmTagsComputerCvsB_cfi::idx, AlCaHLTBitMon_ParallelJobs::p, setPath(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by chosenItem(), and FWGeometryTableView::setFrom().
|
virtual |
Reimplemented in FWOverlapTableView.
Definition at line 237 of file FWGeometryTableViewBase.cc.
References getTableManager(), castor_dqm_sourceclient_file_cfg::path, FWGeometryTableManagerBase::refEntries(), setPath(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FWOverlapTableView::cdTop(), and FWGeometryTableView::FWGeometryTableView().
|
virtual |
Reimplemented in FWOverlapTableView.
Definition at line 243 of file FWGeometryTableViewBase.cc.
References FWGeometryTableManagerBase::getNodePath(), getTableManager(), getTopNodeIdx(), AlCaHLTBitMon_ParallelJobs::p, FWGeometryTableManagerBase::refEntries(), setPath(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FWOverlapTableView::cdUp().
|
virtual |
Definition at line 360 of file FWGeometryTableViewBase.cc.
References FWColorManager::backgroundColorIndex(), FWGeometryTableManagerBase::cancelEditor(), colors, FWColorManager::fillLimitedColors(), FWGeometryTableManagerBase::firstColumnClicked(), getTableManager(), charmTagsComputerCvsB_cfi::idx, FWColorPopup::InitContent(), FWColorManager::kBlackIndex, m_colorManager, m_colorPopup, m_eveTopNode, m_tableRowIndexForColorPopup, m_tableWidget, FWColorPopup::PlacePopup(), FWGeoTopNode::popupMenu(), FWGeometryTableManagerBase::refEntries(), refreshTable3D(), FWColorPopup::ResetColors(), FWGeometryTableManagerBase::rowToIndex(), setColumnSelected(), FWColorPopup::SetName(), FWGeometryTableManagerBase::setVisibility(), FWGeometryTableManagerBase::setVisibilityChld(), FWGeometryTableManagerBase::showEditor(), FWGeometryTableManagerBase::NodeInfo::switchBit(), x, and y.
void FWGeometryTableViewBase::checkExpandLevel | ( | ) |
Definition at line 266 of file FWGeometryTableViewBase.cc.
References getTableManager(), mps_fire::i, FWGeometryTableManagerBase::kExpanded, m_autoExpand, m_topNodeIdx, FWGeometryTableManagerBase::refEntries(), and FWGenericParameter< T >::value().
Referenced by FWGeometryTableView::autoExpandCallback(), FWOverlapTableView::recalculate(), FWGeometryTableView::setFrom(), FWGeometryTableView::setPath(), and setPath().
|
virtual |
Reimplemented in FWOverlapTableView.
Definition at line 452 of file FWGeometryTableViewBase.cc.
References FWGeometryTableManagerBase::applyColorTranspToDaughters(), cdNode(), gather_cfg::cout, FWGeoTopNode::getFirstSelectedTableIndex(), FWGeometryTableManagerBase::getNodePath(), getTableManager(), FWGeoTopNode::kApplyChldCol, FWGeoTopNode::kApplyChldColRec, FWGeoTopNode::kCamera, FWGeoTopNode::kPrintMaterial, FWGeoTopNode::kPrintPath, FWGeoTopNode::kPrintShape, FWGeoTopNode::kSetTopNode, FWGeoTopNode::kSetTopNodeCam, FWGeoTopNode::kVisChldOff, FWGeoTopNode::kVisChldOn, FWGeoTopNode::kVisSelfOff, m_eveTopNode, FWGeometryTableManagerBase::NodeInfo::m_node, FWGeometryTableManagerBase::refEntry(), refreshTable3D(), FWGeoTopNode::s_pickedCamera3DCenter, FWGeoTopNode::s_pickedViewer, FWGeometryTableManagerBase::setDaughtersSelfVisibility(), FWGeometryTableManagerBase::setVisibility(), AlCaHLTBitMon_QueryRunRegistry::string, findQualityFiles::v, X, DOFs::Y, and DOFs::Z.
Referenced by FWOverlapTableView::chosenItem().
|
private |
|
inline |
Definition at line 77 of file FWGeometryTableViewBase.h.
References m_enableHighlight, and FWGenericParameter< T >::value().
|
inline |
Definition at line 105 of file FWGeometryTableViewBase.h.
References m_leafTransparencyFactor, and FWGenericParameter< T >::value().
Referenced by FWGeoTopNode::wrapTransparency().
|
inline |
Definition at line 99 of file FWGeometryTableViewBase.h.
References m_marker.
Referenced by FWOverlapTableManager::addOverlapEntry(), and FWOverlapTableManager::importOverlaps().
|
inline |
Definition at line 107 of file FWGeometryTableViewBase.h.
References m_minLeafTransparency, and FWGenericParameter< T >::value().
|
inline |
Definition at line 106 of file FWGeometryTableViewBase.h.
References m_minParentTransparency, and FWGenericParameter< T >::value().
|
inline |
Definition at line 104 of file FWGeometryTableViewBase.h.
References m_parentTransparencyFactor, and FWGenericParameter< T >::value().
Referenced by FWGeoTopNode::wrapTransparency().
|
inlinevirtual |
Reimplemented in FWGeometryTableView, and FWOverlapTableView.
Definition at line 78 of file FWGeometryTableViewBase.h.
Referenced by cdNode(), cdTop(), cdUp(), cellClicked(), checkExpandLevel(), chosenItem(), nodeColorChangeRequested(), postConst(), refreshTable3D(), reloadColors(), setBackgroundColor(), setColumnSelected(), setPath(), setTopNodePathFromConfig(), transparencyChanged(), and ~FWGeometryTableViewBase().
|
inline |
Definition at line 97 of file FWGeometryTableViewBase.h.
References m_topNodeIdx, Max(), and FWGenericParameter< T >::value().
Referenced by FWOverlapTableManager::addOverlapEntry(), cdUp(), FWOverlapTableManager::cellRenderer(), FWGeoMaterialValidator::fillOptions(), FWOverlapTableManager::importOverlaps(), FWEveDetectorGeo::Paint(), FWEveOverlap::Paint(), FWOverlapTableView::recalculate(), FWGeometryTableManager::recalculateVisibility(), FWOverlapTableManager::recalculateVisibility(), FWOverlapTableView::refreshTable3D(), FWGeometryTableView::setPath(), setPath(), and FWGeometryTableView::updateVisibilityTopNode().
void FWGeometryTableViewBase::nodeColorChangeRequested | ( | Color_t | col | ) |
Definition at line 438 of file FWGeometryTableViewBase.cc.
References cuy::col, getTableManager(), FWGeometryTableManagerBase::NodeInfo::m_color, FWGeometryTableManagerBase::NodeInfo::m_node, m_tableRowIndexForColorPopup, FWGeometryTableManagerBase::refEntries(), and refreshTable3D().
|
private |
void FWGeometryTableViewBase::populate3DViewsFromConfig | ( | ) |
Definition at line 284 of file FWGeometryTableViewBase.cc.
References fwLog, fwlog::kError, FWConfiguration::keyValues(), m_eveScene, m_eveTopNode, m_marker, m_viewBox, m_viewersConfig, FWGeometryTableViewBase::FWViewCombo::setElement(), and findQualityFiles::v.
Referenced by FWGUIManager::setFrom().
|
overrideprotectedvirtual |
Reimplemented from FWViewBase.
Reimplemented in FWOverlapTableView, and FWGeometryTableView.
Definition at line 607 of file FWGeometryTableViewBase.cc.
References ViewerParameterGUI::addParam(), ViewerParameterGUI::getTabContainer(), m_minLeafTransparency, m_minParentTransparency, ViewerParameterGUI::requestTab(), and ViewerParameterGUI::separator().
Referenced by FWOverlapTableView::populateController().
|
protected |
Definition at line 183 of file FWGeometryTableViewBase.cc.
References FWTableWidget::body(), FWTableWidget::disableGrowInWidth(), getTableManager(), m_eveWindow, m_frame, m_tableWidget, FWTableWidget::SetBackgroundColor(), FWGeometryTableManagerBase::setCellValueEditor(), FWTableWidget::SetHeaderBackgroundColor(), and FWTableWidget::SetLineSeparatorColor().
Referenced by FWGeometryTableView::FWGeometryTableView(), and FWOverlapTableView::FWOverlapTableView().
|
virtual |
Reimplemented in FWOverlapTableView.
Definition at line 535 of file FWGeometryTableViewBase.cc.
References getTableManager(), m_enableRedraw, m_eveTopNode, FWGeoTopNode::m_scene, and FWGeometryTableManagerBase::redrawTable().
Referenced by cellClicked(), FWGeometryTableView::checkRegionOfInterest(), chosenItem(), FWGeometryTableView::FWGeometryTableView(), FWGeometryTableViewBase(), FWOverlapTableView::FWOverlapTableView(), nodeColorChangeRequested(), FWOverlapTableView::refreshTable3D(), reloadColors(), FWGeometryTableView::setFrom(), FWGeometryTableView::setPath(), setPath(), transparencyChanged(), FWGeometryTableView::updateFilter(), and FWGeometryTableView::updateVisibilityTopNode().
void FWGeometryTableViewBase::reloadColors | ( | ) |
Definition at line 594 of file FWGeometryTableViewBase.cc.
References FWParameterizable::begin(), getTableManager(), mps_fire::i, FWGeometryTableManagerBase::refEntries(), and refreshTable3D().
|
inlineoverridevirtual |
void FWGeometryTableViewBase::selectView | ( | int | idx | ) |
Definition at line 312 of file FWGeometryTableViewBase.cc.
References charmTagsComputerCvsB_cfi::idx, m_eveScene, m_eveTopNode, m_marker, m_viewBox, FWGeometryTableViewBase::FWViewCombo::setElement(), and findQualityFiles::v.
void FWGeometryTableViewBase::setBackgroundColor | ( | ) |
Definition at line 423 of file FWGeometryTableViewBase.cc.
References FWColorManager::backgroundColorIndex(), getTableManager(), FWColorManager::kWhiteIndex, m_colorManager, m_tableWidget, FWTableWidget::SetBackgroundColor(), FWGeometryTableManagerBase::setBackgroundToWhite(), and FWTableWidget::SetLineSeparatorColor().
|
private |
Definition at line 339 of file FWGeometryTableViewBase.cc.
References getTableManager(), charmTagsComputerCvsB_cfi::idx, FWGeometryTableManagerBase::kSelected, m_eveTopNode, FWGeometryTableManagerBase::redrawTable(), FWGeometryTableManagerBase::refEntry(), FWGeoTopNode::selectPhysicalFromTable(), FWGeometryTableManagerBase::NodeInfo::setBit(), FWGeoTopNode::UnHighlighted(), and FWGeoTopNode::UnSelected().
Referenced by cellClicked().
|
virtual |
Reimplemented in FWGeometryTableView.
Definition at line 252 of file FWGeometryTableViewBase.cc.
References checkExpandLevel(), FWGeoTopNode::clearSelection(), getTableManager(), getTopNodeIdx(), m_eveTopNode, m_topNodeIdx, refreshTable3D(), FWGenericParameter< T >::set(), and FWGeometryTableManagerBase::setLevelOffset().
|
protected |
Definition at line 573 of file FWGeometryTableViewBase.cc.
References fwLog, getTableManager(), fwlog::kWarning, m_topNodeIdx, FWParameterBase::name(), FWGeometryTableManagerBase::refEntries(), alignCSCRings::s, FWGenericParameter< T >::set(), and FWConfiguration::valueForKey().
Referenced by FWGeometryTableView::setFrom().
void FWGeometryTableViewBase::transparencyChanged | ( | ) |
Definition at line 528 of file FWGeometryTableViewBase.cc.
References FWGeometryTableManagerBase::applyTransparencyFromEditor(), getTableManager(), and refreshTable3D().
|
protected |
Definition at line 112 of file FWGeometryTableViewBase.h.
Referenced by checkExpandLevel(), FWGeometryTableView::FWGeometryTableView(), FWGeometryTableView::getAutoExpand(), and FWGeometryTableView::populateController().
|
protected |
Definition at line 121 of file FWGeometryTableViewBase.h.
Referenced by cellClicked(), and setBackgroundColor().
|
protected |
Definition at line 126 of file FWGeometryTableViewBase.h.
Referenced by cellClicked().
|
protected |
Definition at line 113 of file FWGeometryTableViewBase.h.
Referenced by getEnableHighlight().
|
protected |
Definition at line 135 of file FWGeometryTableViewBase.h.
Referenced by FWGeometryTableView::autoExpandCallback(), FWOverlapTableView::refreshTable3D(), refreshTable3D(), FWOverlapTableView::setFrom(), and FWGeometryTableView::setFrom().
|
protected |
Definition at line 139 of file FWGeometryTableViewBase.h.
Referenced by FWGeometryTableView::FWGeometryTableView(), FWOverlapTableView::FWOverlapTableView(), populate3DViewsFromConfig(), and selectView().
|
protected |
Definition at line 138 of file FWGeometryTableViewBase.h.
Referenced by addTo(), cellClicked(), FWGeometryTableView::checkRegionOfInterest(), FWOverlapTableView::chosenItem(), chosenItem(), FWGeometryTableView::FWGeometryTableView(), FWOverlapTableView::FWOverlapTableView(), FWOverlapTableView::getEveGeoElement(), populate3DViewsFromConfig(), refreshTable3D(), selectView(), setColumnSelected(), FWGeometryTableView::setPath(), and setPath().
|
protected |
Definition at line 128 of file FWGeometryTableViewBase.h.
Referenced by FWGeometryTableViewBase(), postConst(), and ~FWGeometryTableViewBase().
|
protected |
Definition at line 129 of file FWGeometryTableViewBase.h.
Referenced by FWGeometryTableView::FWGeometryTableView(), FWGeometryTableViewBase(), FWOverlapTableView::FWOverlapTableView(), postConst(), and ~FWGeometryTableViewBase().
|
protected |
Definition at line 116 of file FWGeometryTableViewBase.h.
Referenced by FWGeometryTableViewBase(), and getLeafTransparencyFactor().
|
protected |
Definition at line 137 of file FWGeometryTableViewBase.h.
Referenced by FWOverlapTableView::drawPoints(), FWOverlapTableView::FWOverlapTableView(), getMarker(), FWOverlapTableView::pointSize(), populate3DViewsFromConfig(), FWOverlapTableView::refreshTable3D(), selectView(), and FWOverlapTableView::~FWOverlapTableView().
|
protected |
Definition at line 118 of file FWGeometryTableViewBase.h.
Referenced by FWGeometryTableViewBase(), getMinLeafTransparency(), FWGeometryTableView::populateController(), and populateController().
|
protected |
Definition at line 117 of file FWGeometryTableViewBase.h.
Referenced by FWGeometryTableViewBase(), getMinParentTransparency(), FWGeometryTableView::populateController(), and populateController().
|
protected |
Definition at line 115 of file FWGeometryTableViewBase.h.
Referenced by FWGeometryTableViewBase(), and getParentTransparencyFactor().
|
private |
Definition at line 154 of file FWGeometryTableViewBase.h.
Referenced by cellClicked(), and nodeColorChangeRequested().
|
protected |
Definition at line 122 of file FWGeometryTableViewBase.h.
Referenced by cellClicked(), postConst(), and setBackgroundColor().
|
protected |
Definition at line 111 of file FWGeometryTableViewBase.h.
Referenced by FWOverlapTableView::cdTop(), checkExpandLevel(), getTopNodeIdx(), FWGeometryTableView::setFrom(), FWGeometryTableView::setPath(), setPath(), and setTopNodePathFromConfig().
|
protected |
Definition at line 131 of file FWGeometryTableViewBase.h.
Referenced by FWGeometryTableView::FWGeometryTableView(), FWOverlapTableView::FWOverlapTableView(), populate3DViewsFromConfig(), and selectView().
|
protected |
Definition at line 133 of file FWGeometryTableViewBase.h.
Referenced by populate3DViewsFromConfig(), FWOverlapTableView::setFrom(), and FWGeometryTableView::setFrom().