CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
FWFromSliceSelector Class Reference

#include <Fireworks/Calo/interface/FWFromSliceSelector.h>

Inheritance diagram for FWFromSliceSelector:
FWHFTowerSliceSelector FWHGTowerSliceSelector FWHistSliceSelector FWCaloTowerSliceSelector FWCandidateTowerSliceSelector FWPFCandidateTowerSliceSelector

Public Member Functions

FWModelChangeManagerchangeManager () const
 
void clear ()
 
virtual void doSelect (const TEveCaloData::CellId_t &)
 
virtual void doUnselect (const TEveCaloData::CellId_t &)
 
 FWFromSliceSelector (const FWEventItem *)
 
void reset ()
 
virtual ~FWFromSliceSelector ()
 

Protected Attributes

const FWEventItemm_item
 

Detailed Description

Description: [one line class summary]

Usage: <usage>

Definition at line 31 of file FWFromSliceSelector.h.

Constructor & Destructor Documentation

FWFromSliceSelector::FWFromSliceSelector ( const FWEventItem iItem)

Definition at line 30 of file FWFromSliceSelector.cc.

30  :
31 m_item(iItem)
32 {
33 }
const FWEventItem * m_item
FWFromSliceSelector::~FWFromSliceSelector ( )
virtual

Definition at line 35 of file FWFromSliceSelector.cc.

36 {
37 }

Member Function Documentation

FWModelChangeManager * FWFromSliceSelector::changeManager ( ) const

Definition at line 68 of file FWFromSliceSelector.cc.

References FWEventItem::changeManager(), and m_item.

Referenced by FWFromTEveCaloDataSelector::addSliceSelector(), and doUnselect().

68  {
69  return m_item->changeManager();
70 }
FWModelChangeManager * changeManager() const
Definition: FWEventItem.h:132
const FWEventItem * m_item
void FWFromSliceSelector::clear ( void  )

Definition at line 44 of file FWFromSliceSelector.cc.

References diffTreeTool::index, FWEventItem::ModelInfo::isSelected(), FWDisplayProperties::isVisible(), FWEventItem::ModelInfo::m_displayProperties, m_item, FWEventItem::modelInfo(), FWEventItem::size(), findQualityFiles::size, and FWEventItem::unselect().

Referenced by Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), FWFromTEveCaloDataSelector::doSelect(), doUnselect(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and Vispa.Views.PropertyView.PropertyView::updateContent().

45 {
46  if (!m_item) return;
47 
48  int size = static_cast<int>(m_item->size());
49  for(int index=0; index < size; ++index)
50  {
54  }
55  }
56 }
size
Write out results.
bool isSelected() const
Definition: FWEventItem.h:71
void unselect(int iIndex) const
Definition: FWEventItem.cc:241
const FWEventItem * m_item
FWDisplayProperties m_displayProperties
Definition: FWEventItem.h:61
size_t size() const
Definition: FWEventItem.cc:550
ModelInfo modelInfo(int iIndex) const
Definition: FWEventItem.cc:537
virtual void FWFromSliceSelector::doSelect ( const TEveCaloData::CellId_t &  )
inlinevirtual

Reimplemented in FWHFTowerSliceSelector, FWHGTowerSliceSelector, and FWHistSliceSelector.

Definition at line 37 of file FWFromSliceSelector.h.

37 {}
virtual void FWFromSliceSelector::doUnselect ( const TEveCaloData::CellId_t &  )
inlinevirtual

Reimplemented in FWHFTowerSliceSelector, FWHGTowerSliceSelector, and FWHistSliceSelector.

Definition at line 38 of file FWFromSliceSelector.h.

References changeManager(), clear(), and reset().

38 {}
void FWFromSliceSelector::reset ( void  )

Definition at line 59 of file FWFromSliceSelector.cc.

References m_item.

Referenced by doUnselect().

60 {
61  m_item = nullptr;
62 }
const FWEventItem * m_item

Member Data Documentation

const FWEventItem* FWFromSliceSelector::m_item
protected