#include <Fireworks/Core/interface/FWGeometryTableView.h>
Public Types | |
enum | EFiterType { kFilterMaterialName, kFilterMaterialTitle, kFilterShapeName, kFilterShapeClassName } |
enum | EMode { kNode, kVolume } |
enum | EProximityAlgo { kBBoxCenter, kBBoxSurface } |
Public Types inherited from FWParameterizable | |
typedef std::vector< FWParameterBase * >::const_iterator | const_iterator |
Public Member Functions | |
void | autoExpandCallback () |
void | checkRegionOfInterest () |
bool | drawTopNode () const |
void | filterListCallback () |
void | filterTextEntryCallback () |
FWGeometryTableView (TEveWindowSlot *iParent, FWColorManager *colMng) | |
int | getAutoExpand () const |
std::string | getFilter () const |
int | getFilterType () const |
bool | getIgnoreVisLevelWhenFilter () const |
FWGeometryTableManagerBase * | getTableManager () override |
int | getVisLevel () const |
bool | getVolumeMode () const |
bool | isSelectedByRegion () const |
void | populateController (ViewerParameterGUI &) const override |
void | setFrom (const FWConfiguration &) override |
void | setPath (int, std::string &) override |
void | updateFilter (std::string &) |
void | updateVisibilityTopNode () |
~FWGeometryTableView () override | |
Public Member Functions inherited from FWGeometryTableViewBase | |
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 |
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 () |
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) | |
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 () |
Private Member Functions | |
ClassDefOverride (FWGeometryTableView, 0) | |
FWGeometryTableView (const FWGeometryTableView &) | |
const FWGeometryTableView & | operator= (const FWGeometryTableView &) |
Description: [one line class summary]
Usage: <usage>
Definition at line 28 of file FWGeometryTableView.h.
Enumerator | |
---|---|
kFilterMaterialName | |
kFilterMaterialTitle | |
kFilterShapeName | |
kFilterShapeClassName |
Definition at line 32 of file FWGeometryTableView.h.
FWGeometryTableView::FWGeometryTableView | ( | TEveWindowSlot * | iParent, |
FWColorManager * | colMng | ||
) |
Definition at line 123 of file FWGeometryTableView.cc.
References FWEnumParameter::addEntry(), autoExpandCallback(), FWGeometryTableViewBase::cdTop(), FWGenericParameter< T >::changed_, checkRegionOfInterest(), FWGeometryTableViewManager::getGeoMangeur(), FWGUIValidatingTextEntry::getListBox(), trackingPlots::hp, kBBoxCenter, kBBoxSurface, kFilterMaterialName, kFilterMaterialTitle, kFilterShapeClassName, kFilterShapeName, kNode, kVolume, FWGeometryTableManager::loadGeometry(), FWGeometryTableViewBase::m_autoExpand, m_disableTopNode, FWGeometryTableViewBase::m_eveScene, FWGeoTopNodeGLScene::m_eveTopNode, FWGeometryTableViewBase::m_eveTopNode, m_filterEntry, m_filterType, m_filterTypeSetter, m_filterValidator, FWGeometryTableViewBase::m_frame, m_mode, m_proximityAlgo, m_regionRadius, FWGeoTopNode::m_scene, m_selectRegion, m_tableManager, FWGeometryTableViewBase::m_viewBox, m_visLevel, m_visLevelFilter, FWParameterSetterBase::makeSetterFor(), FWGeometryTableViewBase::postConst(), FWGeometryTableViewBase::refreshTable3D(), FWGUIValidatingTextEntry::setMaxListBoxHeight(), FWGUIValidatingTextEntry::setValidator(), and updateVisibilityTopNode().
|
override |
Definition at line 224 of file FWGeometryTableView.cc.
|
private |
void FWGeometryTableView::autoExpandCallback | ( | ) |
Definition at line 245 of file FWGeometryTableView.cc.
References FWGeometryTableViewBase::checkExpandLevel(), getTableManager(), FWGeometryTableViewBase::m_enableRedraw, and FWGeometryTableManagerBase::redrawTable().
Referenced by FWGeometryTableView().
void FWGeometryTableView::checkRegionOfInterest | ( | ) |
Definition at line 341 of file FWGeometryTableView.cc.
References FWGeometryTableManager::checkRegionOfInterest(), fwLog, fwlog::kError, fwlog::kInfo, fwlog::kWarning, FWGeometryTableViewBase::m_eveTopNode, m_proximityAlgo, m_regionRadius, m_selectRegion, m_tableManager, FWGeometryTableViewBase::refreshTable3D(), FWGeometryTableManager::resetRegionOfInterest(), findQualityFiles::v, FWGenericParameter< T >::value(), and viewIsChecked().
Referenced by FWGeometryTableView().
|
private |
|
inline |
Definition at line 52 of file FWGeometryTableView.h.
References m_disableTopNode, and FWGenericParameter< T >::value().
Referenced by FWGeometryTableManager::loadGeometry().
void FWGeometryTableView::filterListCallback | ( | ) |
Definition at line 260 of file FWGeometryTableView.cc.
References JetChargeProducer_cfi::exp, m_filterEntry, AlCaHLTBitMon_QueryRunRegistry::string, and updateFilter().
void FWGeometryTableView::filterTextEntryCallback | ( | ) |
Definition at line 253 of file FWGeometryTableView.cc.
References JetChargeProducer_cfi::exp, m_filterEntry, AlCaHLTBitMon_QueryRunRegistry::string, and updateFilter().
|
inline |
Definition at line 46 of file FWGeometryTableView.h.
References FWGeometryTableViewBase::m_autoExpand, and FWGenericParameter< T >::value().
Referenced by FWGeometryTableManager::importChildren(), and FWGeometryTableManager::loadGeometry().
|
inline |
Definition at line 45 of file FWGeometryTableView.h.
References m_filter, and FWGenericParameter< T >::value().
Referenced by FWEveDetectorGeo::Paint(), and FWGeometryTableManager::updateFilter().
|
inline |
Definition at line 50 of file FWGeometryTableView.h.
References m_filterType, and FWGenericParameter< T >::value().
Referenced by FWGeoMaterialValidator::addDaughtersRec(), and FWGeometryTableManager::loadGeometry().
|
inline |
Definition at line 48 of file FWGeometryTableView.h.
References m_visLevelFilter, and FWGenericParameter< T >::value().
Referenced by FWEveDetectorGeo::paintChildNodesRecurse().
|
overridevirtual |
Reimplemented from FWGeometryTableViewBase.
Definition at line 242 of file FWGeometryTableView.cc.
References m_tableManager.
Referenced by autoExpandCallback(), FWGeoMaterialValidator::fillOptions(), FWEveDetectorGeo::GetHighlightTooltip(), FWEveDetectorGeo::Paint(), setPath(), FWEveDetectorGeo::tableManager(), and updateVisibilityTopNode().
|
inline |
Definition at line 47 of file FWGeometryTableView.h.
References m_visLevel, and FWGenericParameter< T >::value().
Referenced by FWEveDetectorGeo::Paint().
|
inline |
Definition at line 44 of file FWGeometryTableView.h.
References kVolume, m_mode, and FWGenericParameter< T >::value().
Referenced by FWGeometryTableManager::cellName(), FWGeometryTableManager::getVisibility(), FWGeometryTableManager::getVisibilityChld(), FWEveDetectorGeo::Paint(), FWEveDetectorGeo::paintChildNodesRecurse(), FWGeometryTableManager::recalculateVisibility(), FWGeometryTableManager::setVisibility(), and FWGeometryTableManager::setVisibilityChld().
|
inline |
Definition at line 61 of file FWGeometryTableView.h.
References m_selectRegion, and FWGenericParameter< T >::value().
Referenced by FWEveDetectorGeo::paintChildNodesRecurse().
|
private |
|
overridevirtual |
Reimplemented from FWGeometryTableViewBase.
Definition at line 291 of file FWGeometryTableView.cc.
References ViewerParameterGUI::addParam(), ViewerParameterGUI::getTabContainer(), FWGeometryTableViewBase::m_autoExpand, m_disableTopNode, FWGeometryTableViewBase::m_minLeafTransparency, FWGeometryTableViewBase::m_minParentTransparency, m_mode, m_proximityAlgo, m_regionRadius, m_selectRegion, m_visLevel, m_visLevelFilter, ViewerParameterGUI::requestTab(), and ViewerParameterGUI::separator().
|
overridevirtual |
Reimplemented from FWConfigurableParameterizable.
Definition at line 372 of file FWGeometryTableView.cc.
References FWParameterizable::begin(), FWGeometryTableViewBase::cdNode(), FWGeometryTableViewBase::checkExpandLevel(), FWParameterizable::end(), FWGeometryTableViewBase::m_enableRedraw, m_filter, m_filterEntry, m_filterType, m_filterTypeSetter, m_tableManager, FWGeometryTableViewBase::m_topNodeIdx, FWGeometryTableViewBase::m_viewersConfig, FWParameterBase::name(), FWGeometryTableViewBase::refreshTable3D(), FWGeometryTableViewBase::setTopNodePathFromConfig(), FWGeometryTableManager::updateFilter(), FWGenericParameter< T >::value(), and FWConfiguration::valueForKey().
|
overridevirtual |
Reimplemented from FWGeometryTableViewBase.
Definition at line 227 of file FWGeometryTableView.cc.
References FWGeometryTableViewBase::checkExpandLevel(), FWGeoTopNode::clearSelection(), getTableManager(), FWGeometryTableViewBase::getTopNodeIdx(), FWGeometryTableManagerBase::kVisNodeSelf, m_disableTopNode, FWGeometryTableViewBase::m_eveTopNode, FWGeometryTableViewBase::m_topNodeIdx, FWGeometryTableManagerBase::refEntries(), FWGeometryTableViewBase::refreshTable3D(), FWGenericParameter< T >::set(), FWGeometryTableManagerBase::setLevelOffset(), and FWGenericParameter< T >::value().
void FWGeometryTableView::updateFilter | ( | std::string & | exp | ) |
Definition at line 268 of file FWGeometryTableView.cc.
References JetChargeProducer_cfi::exp, mps_fire::i, m_filter, m_filterEntry, m_filterType, m_tableManager, FWGeometryTableManagerBase::refEntries(), FWGeometryTableViewBase::refreshTable3D(), FWGenericParameter< T >::set(), FWGeometryTableManager::setVisibility(), FWGeometryTableManager::setVisibilityChld(), FWGeometryTableManager::updateFilter(), and FWGenericParameter< T >::value().
Referenced by filterListCallback(), and filterTextEntryCallback().
void FWGeometryTableView::updateVisibilityTopNode | ( | ) |
Definition at line 402 of file FWGeometryTableView.cc.
References getTableManager(), FWGeometryTableViewBase::getTopNodeIdx(), FWGeometryTableManagerBase::kVisNodeSelf, m_disableTopNode, FWGeometryTableManagerBase::refEntries(), FWGeometryTableViewBase::refreshTable3D(), and FWGenericParameter< T >::value().
Referenced by FWGeometryTableView().
|
private |
Definition at line 78 of file FWGeometryTableView.h.
Referenced by drawTopNode(), FWGeometryTableView(), populateController(), setPath(), and updateVisibilityTopNode().
|
private |
Definition at line 81 of file FWGeometryTableView.h.
Referenced by getFilter(), setFrom(), and updateFilter().
|
private |
Definition at line 73 of file FWGeometryTableView.h.
Referenced by filterListCallback(), filterTextEntryCallback(), FWGeometryTableView(), setFrom(), and updateFilter().
|
private |
Definition at line 82 of file FWGeometryTableView.h.
Referenced by FWGeometryTableView(), getFilterType(), setFrom(), and updateFilter().
|
private |
Definition at line 89 of file FWGeometryTableView.h.
Referenced by FWGeometryTableView(), and setFrom().
|
private |
Definition at line 74 of file FWGeometryTableView.h.
Referenced by FWGeometryTableView().
|
private |
Definition at line 77 of file FWGeometryTableView.h.
Referenced by FWGeometryTableView(), getVolumeMode(), and populateController().
|
private |
Definition at line 87 of file FWGeometryTableView.h.
Referenced by checkRegionOfInterest(), FWGeometryTableView(), and populateController().
|
private |
Definition at line 86 of file FWGeometryTableView.h.
Referenced by checkRegionOfInterest(), FWGeometryTableView(), and populateController().
|
private |
Definition at line 85 of file FWGeometryTableView.h.
Referenced by checkRegionOfInterest(), FWGeometryTableView(), isSelectedByRegion(), and populateController().
|
private |
Definition at line 71 of file FWGeometryTableView.h.
Referenced by checkRegionOfInterest(), FWGeometryTableView(), getTableManager(), setFrom(), and updateFilter().
|
private |
Definition at line 79 of file FWGeometryTableView.h.
Referenced by FWGeometryTableView(), getVisLevel(), and populateController().
|
private |
Definition at line 83 of file FWGeometryTableView.h.
Referenced by FWGeometryTableView(), getIgnoreVisLevelWhenFilter(), and populateController().