#include <Fireworks/Core/interface/FWDisplayProperties.h>
Public Member Functions | |
Color_t | color () const |
bool | filterPassed () const |
FWDisplayProperties (Color_t iColor, bool isVisible, bool filetrPassed, Char_t transparency) | |
bool | isVisible () const |
bool | operator!= (const FWDisplayProperties &iRHS) const |
bool | operator== (const FWDisplayProperties &iRHS) const |
void | setColor (Color_t iColor) |
void | setFilterPassed (bool x) |
void | setIsVisible (bool iSet) |
void | setTransparency (Char_t transparency) |
Char_t | transparency () const |
Static Public Attributes | |
static const FWDisplayProperties | defaultProperties |
Private Attributes | |
Color_t | m_color |
bool | m_filterPassed |
bool | m_isVisible |
Char_t | m_transparency |
Description: <one line="" class="" summary>="">
Usage: <usage>
Definition at line 28 of file FWDisplayProperties.h.
FWDisplayProperties::FWDisplayProperties | ( | Color_t | iColor, |
bool | isVisible, | ||
bool | filetrPassed, | ||
Char_t | transparency | ||
) |
Note that I removed the default values to make sure that properties do not get copied around via the not so uncommon paradigm:
FWDisplayProperties new(old.color(), old.isVisible());
or similar which has the drawback of not carring over transparency information.
In general it's a good idea to have a copy and modify approach when changing updating only one value.
Definition at line 23 of file FWDisplayProperties.cc.
|
inline |
Definition at line 52 of file FWDisplayProperties.h.
References m_color.
Referenced by cuy.plotElement::__init__(), cuy.superimposeElement::__init__(), cuy.graphElement::__init__(), FWEventItemsManager::add(), FWDigitSetProxyBuilder::addBox(), FWInteractionList::added(), FWTrackHitsDetailView::addHits(), FWConvTrackHitsDetailView::addHits(), FWTrackHitsDetailView::addModules(), FWConvTrackHitsDetailView::addModules(), FWPFCandidateWithHitsProxyBuilder::build(), FWBeamSpotProxyBuilder::build(), FWPFClusterRPZProxyBuilder::build(), FWTauProxyBuilderBase::buildBaseTau(), FWJetProxyBuilder::buildViewType(), FWCollectionSummaryWidget::colorClicked(), CmsShowModelPopup::colorSetChanged(), CmsShowEDI::colorSetChanged(), FWCollectionSummaryWidget::createColorPopup(), FWProxyBuilderBase::createCompound(), FWCollectionSummaryWidget::displayChanged(), CmsShowEDI::fillEDIFrame(), CmsShowModelPopup::fillModelPopup(), FWInteractionList::itemChanged(), FWCollectionSummaryWidget::itemColorClicked(), FWPFCandidatesLegoProxyBuilder::localModelChanges(), FWCandidateLegoProxyBuilder::localModelChanges(), FWPFPatJetLegoProxyBuilder< T >::localModelChanges(), FWPFClusterLegoProxyBuilder::localModelChanges(), FWPFEcalRecHitLegoProxyBuilder::localModelChanges(), fireworks::makeRhoPhiSuperCluster(), FWInteractionList::modelChanges(), FWDigitSetProxyBuilder::modelChanges(), FWCollectionSummaryWidget::setBackgroundToWhite(), FWCollectionSummaryModelCellRenderer::setData(), FWEventItem::setDefaultDisplayProperties(), fireworks::setupAddElement(), FWPFBlockProxyBuilder::setupClusterElement(), FWProxyBuilderBase::setupElement(), CmsShowModelPopup::updateDisplay(), and CmsShowEDI::updateDisplay().
|
inline |
Definition at line 64 of file FWDisplayProperties.h.
References m_filterPassed.
Referenced by FWCollectionSummaryTableManager::dataChanged(), FWTableViewTableManager::dataChanged(), and FWCollectionSummaryTableManager::numberOfRows().
|
inline |
Definition at line 60 of file FWDisplayProperties.h.
References m_isVisible.
Referenced by FWDigitSetProxyBuilder::addBox(), FWInteractionList::added(), FWPFEcalRecHitRPProxyBuilder::build(), FWSimpleProxyBuilder::build(), FWPFEcalClusterRPZProxyBuilder::build(), FWPFHcalClusterRPZProxyBuilder::build(), FWSimpleProxyBuilder::buildViewType(), FWCollectionSummaryTableManager::buttonReleasedInRowHeader(), FWTableViewTableManager::cellRenderer(), FWModelContextMenuHandler::chosenItem(), FWFromSliceSelector::clear(), FWTableViewTableManager::dataChanged(), FWCollectionSummaryWidget::displayChanged(), FWHistSliceSelector::doSelect(), FWHFTowerSliceSelector::doSelect(), FWHistSliceSelector::doUnselect(), FWHFTowerSliceSelector::doUnselect(), FWCandidateTowerProxyBuilder::fillCaloData(), FWPFCandidateTowerProxyBuilder::fillCaloData(), FWCaloTowerProxyBuilderBase::fillCaloData(), FWHFTowerProxyBuilderBase::fillCaloData(), CmsShowEDI::fillEDIFrame(), CmsShowModelPopup::fillModelPopup(), FWInteractionList::itemChanged(), FWInteractionList::modelChanges(), FWDigitSetProxyBuilder::modelChanges(), FWEventItem::modelInfo(), FWTableViewTableManager::rowHeader(), Vispa.Gui.VispaWidget.VispaWidget::setBodyWidget(), FWCollectionSummaryModelCellRenderer::setData(), FWEventItem::setDefaultDisplayProperties(), FWEventItem::setDisplayProperties(), FWModelContextMenuHandler::showSelectedModelContext(), CmsShowModelPopup::updateDisplay(), CmsShowEDI::updateDisplay(), FWTrackProxyBuilderFullFramework::visibilityModelChanges(), and FWSimpleProxyBuilder::visibilityModelChanges().
|
inline |
Definition at line 79 of file FWDisplayProperties.h.
|
inline |
Definition at line 73 of file FWDisplayProperties.h.
References m_color, m_filterPassed, m_isVisible, and m_transparency.
|
inline |
Definition at line 87 of file FWDisplayProperties.h.
References m_color.
Referenced by CmsShowEDI::changeItemColor(), CmsShowModelPopup::changeModelColor(), CmsShowEDI::changeSelectionColor(), FWModelContextMenuHandler::colorChangeRequested(), FWCollectionSummaryWidget::colorChangeRequested(), FWModelExpressionSelector::select(), and FWEventItem::setDefaultDisplayProperties().
|
inline |
|
inline |
Definition at line 98 of file FWDisplayProperties.h.
References m_isVisible.
Referenced by FWCollectionSummaryTableManager::buttonReleasedInRowHeader(), FWEventItem::modelInfo(), FWEventItem::setDisplayProperties(), FWCollectionSummaryWidget::toggleItemVisible(), CmsShowEDI::toggleItemVisible(), and CmsShowModelPopup::toggleModelVisible().
|
inline |
Notice that transparency in root is in the range [0, 100]
Definition at line 92 of file FWDisplayProperties.h.
References m_transparency, and transparency().
Referenced by CmsShowEDI::changeItemOpacity(), CmsShowModelPopup::changeModelOpacity(), and FWEventItem::setDefaultDisplayProperties().
|
inline |
Definition at line 56 of file FWDisplayProperties.h.
References m_transparency.
Referenced by FWDigitSetProxyBuilder::addBox(), FWInteractionList::added(), FWTauProxyBuilderBase::buildBaseTau(), FWJetProxyBuilder::buildViewType(), FWProxyBuilderBase::createCompound(), CmsShowEDI::fillEDIFrame(), CmsShowModelPopup::fillModelPopup(), FWProxyBuilderBase::increaseComponentTransparency(), FWInteractionList::itemChanged(), FWInteractionList::modelChanges(), FWDigitSetProxyBuilder::modelChanges(), FWEventItem::setDefaultDisplayProperties(), setTransparency(), fireworks::setupAddElement(), FWProxyBuilderBase::setupElement(), CmsShowModelPopup::updateDisplay(), and CmsShowEDI::updateDisplay().
|
static |
Definition at line 32 of file FWDisplayProperties.h.
Referenced by FWGUIEventDataAdder::addNewItem().
|
private |
Definition at line 109 of file FWDisplayProperties.h.
Referenced by color(), operator==(), and setColor().
|
private |
Definition at line 111 of file FWDisplayProperties.h.
Referenced by filterPassed(), operator==(), and setFilterPassed().
|
private |
Definition at line 110 of file FWDisplayProperties.h.
Referenced by isVisible(), operator==(), and setIsVisible().
|
private |
Definition at line 112 of file FWDisplayProperties.h.
Referenced by operator==(), setTransparency(), and transparency().