CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes
FWGeometryTableViewBase Class Reference

#include <FWGeometryTableViewBase.h>

Inheritance diagram for FWGeometryTableViewBase:
FWViewBase FWParameterSetterEditorBase FWConfigurableParameterizable FWParameterizable FWConfigurable FWGeometryTableView FWOverlapTableView

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
 
FWEveDigitSetScalableMarkergetMarker ()
 
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
 
FWColorManagerm_colorManager
 
FWColorPopupm_colorPopup
 
FWBoolParameter m_enableHighlight
 
bool m_enableRedraw
 
TEveScene * m_eveScene
 
FWGeoTopNodem_eveTopNode
 
TEveWindowFrame * m_eveWindow
 
TGCompositeFrame * m_frame
 
FWLongParameter m_leafTransparencyFactor
 
FWEveDigitSetScalableMarkerm_marker
 
FWLongParameter m_minLeafTransparency
 
FWLongParameter m_minParentTransparency
 
FWLongParameter m_parentTransparencyFactor
 
FWTableWidgetm_tableWidget
 
FWLongParameter m_topNodeIdx
 
FWViewCombom_viewBox
 
const FWConfigurationm_viewersConfig
 
- Protected Attributes inherited from FWViewBase
FWViewType m_type
 

Private Member Functions

 ClassDef (FWGeometryTableViewBase, 0)
 
 FWGeometryTableViewBase (const FWGeometryTableViewBase &)
 
const FWGeometryTableViewBaseoperator= (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_
 

Detailed Description

Definition at line 43 of file FWGeometryTableViewBase.h.

Constructor & Destructor Documentation

FWGeometryTableViewBase::FWGeometryTableViewBase ( TEveWindowSlot *  iParent,
FWViewType::EType  type,
FWColorManager colMng 
)

Definition at line 160 of file FWGeometryTableViewBase.cc.

FWGeometryTableViewBase::~FWGeometryTableViewBase ( )
virtual

Definition at line 223 of file FWGeometryTableViewBase.cc.

FWGeometryTableViewBase::FWGeometryTableViewBase ( const FWGeometryTableViewBase )
private

Member Function Documentation

void FWGeometryTableViewBase::addTo ( FWConfiguration iTo) const
virtual

Reimplemented from FWConfigurableParameterizable.

Definition at line 608 of file FWGeometryTableViewBase.cc.

void FWGeometryTableViewBase::cdNode ( int  idx)

Definition at line 250 of file FWGeometryTableViewBase.cc.

void FWGeometryTableViewBase::cdTop ( )
virtual

Reimplemented in FWOverlapTableView.

Definition at line 257 of file FWGeometryTableViewBase.cc.

void FWGeometryTableViewBase::cdUp ( )
virtual

Reimplemented in FWOverlapTableView.

Definition at line 264 of file FWGeometryTableViewBase.cc.

void FWGeometryTableViewBase::cellClicked ( Int_t  iRow,
Int_t  iColumn,
Int_t  iButton,
Int_t  iKeyMod,
Int_t  iGlobalX,
Int_t  iGlobalY 
)
virtual

Definition at line 394 of file FWGeometryTableViewBase.cc.

void FWGeometryTableViewBase::checkExpandLevel ( )

Definition at line 291 of file FWGeometryTableViewBase.cc.

void FWGeometryTableViewBase::chosenItem ( int  menuIdx)
virtual

Reimplemented in FWOverlapTableView.

Definition at line 502 of file FWGeometryTableViewBase.cc.

FWGeometryTableViewBase::ClassDef ( FWGeometryTableViewBase  ,
 
)
private
bool FWGeometryTableViewBase::getEnableHighlight ( )
inline

Definition at line 75 of file FWGeometryTableViewBase.h.

References m_enableHighlight, and FWGenericParameter< T >::value().

75 { return m_enableHighlight.value(); }
long FWGeometryTableViewBase::getLeafTransparencyFactor ( ) const
inline
FWEveDigitSetScalableMarker* FWGeometryTableViewBase::getMarker ( )
inline

Definition at line 98 of file FWGeometryTableViewBase.h.

References m_marker.

98 {return m_marker;}
FWEveDigitSetScalableMarker * m_marker
long FWGeometryTableViewBase::getMinLeafTransparency ( ) const
inline
long FWGeometryTableViewBase::getMinParentTransparency ( ) const
inline
long FWGeometryTableViewBase::getParentTransparencyFactor ( ) const
inline
virtual FWGeometryTableManagerBase* FWGeometryTableViewBase::getTableManager ( )
inlinevirtual

Reimplemented in FWOverlapTableView, and FWGeometryTableView.

Definition at line 76 of file FWGeometryTableViewBase.h.

76 { return 0; }
int FWGeometryTableViewBase::getTopNodeIdx ( ) const
inline

Definition at line 96 of file FWGeometryTableViewBase.h.

References m_topNodeIdx, Max(), and FWGenericParameter< T >::value().

Referenced by FWEveDetectorGeo::Paint(), and FWEveOverlap::Paint().

96 { return TMath::Max((int)m_topNodeIdx.value(), 0); }
T Max(T a, T b)
Definition: MathUtil.h:44
void FWGeometryTableViewBase::nodeColorChangeRequested ( Color_t  col)

Definition at line 486 of file FWGeometryTableViewBase.cc.

const FWGeometryTableViewBase& FWGeometryTableViewBase::operator= ( const FWGeometryTableViewBase )
private
void FWGeometryTableViewBase::populate3DViewsFromConfig ( )

Definition at line 310 of file FWGeometryTableViewBase.cc.

void FWGeometryTableViewBase::populateController ( ViewerParameterGUI gui) const
protectedvirtual

Reimplemented from FWViewBase.

Reimplemented in FWOverlapTableView, and FWGeometryTableView.

Definition at line 666 of file FWGeometryTableViewBase.cc.

void FWGeometryTableViewBase::postConst ( )
protected

Definition at line 195 of file FWGeometryTableViewBase.cc.

void FWGeometryTableViewBase::refreshTable3D ( )
virtual

Reimplemented in FWOverlapTableView.

Definition at line 589 of file FWGeometryTableViewBase.cc.

void FWGeometryTableViewBase::reloadColors ( )

Definition at line 652 of file FWGeometryTableViewBase.cc.

virtual void FWGeometryTableViewBase::saveImageTo ( const std::string &  iName) const
inlinevirtual

Implements FWViewBase.

Definition at line 81 of file FWGeometryTableViewBase.h.

81 {}
void FWGeometryTableViewBase::selectView ( int  idx)

Definition at line 341 of file FWGeometryTableViewBase.cc.

void FWGeometryTableViewBase::setBackgroundColor ( )
void FWGeometryTableViewBase::setColumnSelected ( int  idx)
private

Definition at line 370 of file FWGeometryTableViewBase.cc.

void FWGeometryTableViewBase::setPath ( int  parentIdx,
std::string &   
)
virtual

Reimplemented in FWGeometryTableView.

Definition at line 275 of file FWGeometryTableViewBase.cc.

void FWGeometryTableViewBase::setTopNodePathFromConfig ( const FWConfiguration iFrom)
protected

Definition at line 633 of file FWGeometryTableViewBase.cc.

void FWGeometryTableViewBase::transparencyChanged ( )

Definition at line 581 of file FWGeometryTableViewBase.cc.

Member Data Documentation

FWLongParameter FWGeometryTableViewBase::m_autoExpand
protected

Definition at line 112 of file FWGeometryTableViewBase.h.

Referenced by FWGeometryTableView::getAutoExpand().

FWColorManager* FWGeometryTableViewBase::m_colorManager
protected

Definition at line 121 of file FWGeometryTableViewBase.h.

FWColorPopup* FWGeometryTableViewBase::m_colorPopup
protected

Definition at line 126 of file FWGeometryTableViewBase.h.

FWBoolParameter FWGeometryTableViewBase::m_enableHighlight
protected

Definition at line 113 of file FWGeometryTableViewBase.h.

Referenced by getEnableHighlight().

bool FWGeometryTableViewBase::m_enableRedraw
protected

Definition at line 136 of file FWGeometryTableViewBase.h.

TEveScene* FWGeometryTableViewBase::m_eveScene
protected

Definition at line 140 of file FWGeometryTableViewBase.h.

FWGeoTopNode* FWGeometryTableViewBase::m_eveTopNode
protected

Definition at line 139 of file FWGeometryTableViewBase.h.

TEveWindowFrame* FWGeometryTableViewBase::m_eveWindow
protected

Definition at line 128 of file FWGeometryTableViewBase.h.

TGCompositeFrame* FWGeometryTableViewBase::m_frame
protected

Definition at line 129 of file FWGeometryTableViewBase.h.

FWLongParameter FWGeometryTableViewBase::m_leafTransparencyFactor
protected

Definition at line 116 of file FWGeometryTableViewBase.h.

Referenced by getLeafTransparencyFactor().

FWEveDigitSetScalableMarker* FWGeometryTableViewBase::m_marker
protected

Definition at line 138 of file FWGeometryTableViewBase.h.

Referenced by getMarker().

FWLongParameter FWGeometryTableViewBase::m_minLeafTransparency
protected

Definition at line 118 of file FWGeometryTableViewBase.h.

Referenced by getMinLeafTransparency().

FWLongParameter FWGeometryTableViewBase::m_minParentTransparency
protected

Definition at line 117 of file FWGeometryTableViewBase.h.

Referenced by getMinParentTransparency().

FWLongParameter FWGeometryTableViewBase::m_parentTransparencyFactor
protected

Definition at line 115 of file FWGeometryTableViewBase.h.

Referenced by getParentTransparencyFactor().

int FWGeometryTableViewBase::m_tableRowIndexForColorPopup
private

Definition at line 155 of file FWGeometryTableViewBase.h.

FWTableWidget* FWGeometryTableViewBase::m_tableWidget
protected

Definition at line 122 of file FWGeometryTableViewBase.h.

FWLongParameter FWGeometryTableViewBase::m_topNodeIdx
protected

Definition at line 111 of file FWGeometryTableViewBase.h.

Referenced by getTopNodeIdx().

FWViewCombo* FWGeometryTableViewBase::m_viewBox
protected

Definition at line 131 of file FWGeometryTableViewBase.h.

const FWConfiguration* FWGeometryTableViewBase::m_viewersConfig
protected

Definition at line 134 of file FWGeometryTableViewBase.h.