#include <FWGeometryTableViewBase.h>
Classes | |
class | FWViewCombo |
Public Member Functions | |
virtual void | addTo (FWConfiguration &) const |
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 () |
virtual void | saveImageTo (const std::string &iName) const |
void | selectView (int) |
void | setBackgroundColor () |
virtual void | setPath (int, std::string &) |
void | transparencyChanged () |
virtual | ~FWGeometryTableViewBase () |
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) | |
virtual void | setFrom (const FWConfiguration &) |
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 () |
Protected Member Functions | |
virtual void | populateController (ViewerParameterGUI &) const |
void | postConst () |
void | setTopNodePathFromConfig (const FWConfiguration &iFrom) |
Protected Member Functions inherited from FWViewBase | |
virtual | ~FWViewBase () |
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 43 of file FWGeometryTableViewBase.h.
FWGeometryTableViewBase::FWGeometryTableViewBase | ( | TEveWindowSlot * | iParent, |
FWViewType::EType | type, | ||
FWColorManager * | colMng | ||
) |
Definition at line 160 of file FWGeometryTableViewBase.cc.
References FWGenericParameter< T >::changed_, m_eveWindow, m_frame, m_leafTransparencyFactor, m_minLeafTransparency, m_minParentTransparency, m_parentTransparencyFactor, and refreshTable3D().
|
virtual |
Definition at line 223 of file FWGeometryTableViewBase.cc.
References getTableManager(), m_eveWindow, and m_frame.
|
private |
|
virtual |
Reimplemented from FWConfigurableParameterizable.
Definition at line 608 of file FWGeometryTableViewBase.cc.
References FWConfiguration::addKeyValue(), FWConfigurableParameterizable::addTo(), relval_steps::k, m_eveTopNode, FWGeoTopNode::m_scene, and alignCSCRings::s.
void FWGeometryTableViewBase::cdNode | ( | int | idx | ) |
Definition at line 250 of file FWGeometryTableViewBase.cc.
References FWGeometryTableManagerBase::getNodePath(), getTableManager(), AlCaHLTBitMon_ParallelJobs::p, setPath(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by chosenItem(), and FWGeometryTableView::setFrom().
|
virtual |
Reimplemented in FWOverlapTableView.
Definition at line 257 of file FWGeometryTableViewBase.cc.
References getTableManager(), cmsHarvester::path, FWGeometryTableManagerBase::refEntries(), setPath(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by FWOverlapTableView::cdTop(), and FWGeometryTableView::FWGeometryTableView().
|
virtual |
Reimplemented in FWOverlapTableView.
Definition at line 264 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 394 of file FWGeometryTableViewBase.cc.
References FWColorManager::backgroundColorIndex(), FWGeometryTableManagerBase::cancelEditor(), colors, FWColorManager::fillLimitedColors(), FWGeometryTableManagerBase::firstColumnClicked(), getTableManager(), customizeTrackingMonitorSeedNumber::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 291 of file FWGeometryTableViewBase.cc.
References getTableManager(), 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 502 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, X, and Gflash::Z.
Referenced by FWOverlapTableView::chosenItem().
|
private |
|
inline |
Definition at line 75 of file FWGeometryTableViewBase.h.
References m_enableHighlight, and FWGenericParameter< T >::value().
|
inline |
Definition at line 104 of file FWGeometryTableViewBase.h.
References m_leafTransparencyFactor, and FWGenericParameter< T >::value().
Referenced by FWGeoTopNode::wrapTransparency().
|
inline |
Definition at line 98 of file FWGeometryTableViewBase.h.
References m_marker.
Referenced by FWOverlapTableManager::addOverlapEntry(), and FWOverlapTableManager::importOverlaps().
|
inline |
Definition at line 106 of file FWGeometryTableViewBase.h.
References m_minLeafTransparency, and FWGenericParameter< T >::value().
|
inline |
Definition at line 105 of file FWGeometryTableViewBase.h.
References m_minParentTransparency, and FWGenericParameter< T >::value().
|
inline |
Definition at line 103 of file FWGeometryTableViewBase.h.
References m_parentTransparencyFactor, and FWGenericParameter< T >::value().
Referenced by FWGeoTopNode::wrapTransparency().
|
inlinevirtual |
Reimplemented in FWOverlapTableView, and FWGeometryTableView.
Definition at line 76 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 96 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 486 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 310 of file FWGeometryTableViewBase.cc.
References fwLog, fwlog::kError, FWConfiguration::keyValues(), m_eveScene, m_eveTopNode, m_marker, m_viewBox, m_viewersConfig, FWGeometryTableViewBase::FWViewCombo::setElement(), and lumiContext::sname.
Referenced by FWGUIManager::setFrom().
|
protectedvirtual |
Reimplemented from FWViewBase.
Reimplemented in FWOverlapTableView, and FWGeometryTableView.
Definition at line 666 of file FWGeometryTableViewBase.cc.
References ViewerParameterGUI::getTabContainer(), m_minLeafTransparency, m_minParentTransparency, and ViewerParameterGUI::requestTab().
Referenced by FWOverlapTableView::populateController().
|
protected |
Definition at line 195 of file FWGeometryTableViewBase.cc.
References FWTableWidget::body(), FWTableWidget::disableGrowInWidth(), idDealer::editor, 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 589 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 652 of file FWGeometryTableViewBase.cc.
References FWParameterizable::begin(), getTableManager(), i, FWGeometryTableManagerBase::refEntries(), and refreshTable3D().
|
inlinevirtual |
void FWGeometryTableViewBase::selectView | ( | int | idx | ) |
Definition at line 341 of file FWGeometryTableViewBase.cc.
References m_eveScene, m_eveTopNode, m_marker, m_viewBox, and FWGeometryTableViewBase::FWViewCombo::setElement().
void FWGeometryTableViewBase::setBackgroundColor | ( | ) |
Definition at line 470 of file FWGeometryTableViewBase.cc.
References FWColorManager::backgroundColorIndex(), getTableManager(), FWColorManager::kWhiteIndex, m_colorManager, m_tableWidget, FWTableWidget::SetBackgroundColor(), FWGeometryTableManagerBase::setBackgroundToWhite(), and FWTableWidget::SetLineSeparatorColor().
Referenced by Vispa.Plugins.EdmBrowser.EventContentView.LabelItem::__init__().
|
private |
Definition at line 370 of file FWGeometryTableViewBase.cc.
References getTableManager(), 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 275 of file FWGeometryTableViewBase.cc.
References asciidump::at, checkExpandLevel(), FWGeoTopNode::clearSelection(), getTableManager(), getTopNodeIdx(), m_eveTopNode, m_topNodeIdx, refreshTable3D(), FWGenericParameter< T >::set(), and FWGeometryTableManagerBase::setLevelOffset().
Referenced by cdNode(), cdTop(), and cdUp().
|
protected |
Definition at line 633 of file FWGeometryTableViewBase.cc.
References fwLog, getTableManager(), fwlog::kWarning, m_topNodeIdx, FWParameterBase::name(), FWGeometryTableManagerBase::refEntries(), alignCSCRings::s, FWGenericParameter< T >::set(), FWConfiguration::value(), relativeConstraints::value, and FWConfiguration::valueForKey().
Referenced by FWGeometryTableView::setFrom().
void FWGeometryTableViewBase::transparencyChanged | ( | ) |
Definition at line 581 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 136 of file FWGeometryTableViewBase.h.
Referenced by FWGeometryTableView::autoExpandCallback(), FWOverlapTableView::refreshTable3D(), refreshTable3D(), FWOverlapTableView::setFrom(), and FWGeometryTableView::setFrom().
|
protected |
Definition at line 140 of file FWGeometryTableViewBase.h.
Referenced by FWGeometryTableView::FWGeometryTableView(), FWOverlapTableView::FWOverlapTableView(), populate3DViewsFromConfig(), and selectView().
|
protected |
Definition at line 139 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 138 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 155 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 134 of file FWGeometryTableViewBase.h.
Referenced by populate3DViewsFromConfig(), FWOverlapTableView::setFrom(), and FWGeometryTableView::setFrom().