CMS 3D CMS Logo

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

#include <Fireworks/Core/interface/FWGeometryTableView.h>

Inheritance diagram for FWGeometryTableView:
FWGeometryTableViewBase FWViewBase FWParameterSetterEditorBase FWConfigurableParameterizable FWParameterizable FWConfigurable

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
 
virtual
FWGeometryTableManagerBase
getTableManager ()
 
int getVisLevel () const
 
bool getVolumeMode () const
 
bool isSelectedByRegion () const
 
virtual void populateController (ViewerParameterGUI &) const
 
virtual void setFrom (const FWConfiguration &)
 
virtual void setPath (int, std::string &)
 
void updateFilter (std::string &)
 
void updateVisibilityTopNode ()
 
virtual ~FWGeometryTableView ()
 
- Public Member Functions inherited from FWGeometryTableViewBase
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
 
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 ()
 
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)
 
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 ()
 

Private Member Functions

 ClassDef (FWGeometryTableView, 0)
 
 FWGeometryTableView (const FWGeometryTableView &)
 
const FWGeometryTableViewoperator= (const FWGeometryTableView &)
 

Private Attributes

FWBoolParameter m_disableTopNode
 
FWStringParameter m_filter
 
FWGUIValidatingTextEntrym_filterEntry
 
FWEnumParameter m_filterType
 
boost::shared_ptr
< FWParameterSetterBase
m_filterTypeSetter
 
FWGeoMaterialValidatorm_filterValidator
 
FWEnumParameter m_mode
 
FWEnumParameter m_proximityAlgo
 
FWDoubleParameter m_regionRadius
 
FWBoolParameter m_selectRegion
 
FWGeometryTableManagerm_tableManager
 
FWLongParameter m_visLevel
 
FWBoolParameter m_visLevelFilter
 

Additional Inherited Members

- Public Attributes inherited from FWViewBase
sigc::signal< void, const
FWViewBase * > 
beingDestroyed_
 
sigc::signal< void, Int_t, Int_t > openSelectedModelContextMenu_
 
- Protected Member Functions inherited from FWGeometryTableViewBase
void postConst ()
 
void setTopNodePathFromConfig (const FWConfiguration &iFrom)
 
- Protected Member Functions inherited from FWViewBase
virtual ~FWViewBase ()
 
- Protected Attributes inherited from FWGeometryTableViewBase
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
 

Detailed Description

Description: [one line class summary]

Usage: <usage>

Definition at line 28 of file FWGeometryTableView.h.

Member Enumeration Documentation

Enumerator
kNode 
kVolume 

Definition at line 31 of file FWGeometryTableView.h.

Enumerator
kBBoxCenter 
kBBoxSurface 

Definition at line 32 of file FWGeometryTableView.h.

Constructor & Destructor Documentation

FWGeometryTableView::FWGeometryTableView ( TEveWindowSlot *  iParent,
FWColorManager colMng 
)

Definition at line 132 of file FWGeometryTableView.cc.

FWGeometryTableView::~FWGeometryTableView ( )
virtual

Definition at line 237 of file FWGeometryTableView.cc.

FWGeometryTableView::FWGeometryTableView ( const FWGeometryTableView )
private

Member Function Documentation

void FWGeometryTableView::autoExpandCallback ( )

Definition at line 260 of file FWGeometryTableView.cc.

void FWGeometryTableView::checkRegionOfInterest ( )

Definition at line 366 of file FWGeometryTableView.cc.

FWGeometryTableView::ClassDef ( FWGeometryTableView  ,
 
)
private
bool FWGeometryTableView::drawTopNode ( ) const
inline

Definition at line 53 of file FWGeometryTableView.h.

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

53 { return ! m_disableTopNode.value(); }
FWBoolParameter m_disableTopNode
void FWGeometryTableView::filterListCallback ( )

Definition at line 276 of file FWGeometryTableView.cc.

void FWGeometryTableView::filterTextEntryCallback ( )

Definition at line 268 of file FWGeometryTableView.cc.

int FWGeometryTableView::getAutoExpand ( ) const
inline
std::string FWGeometryTableView::getFilter ( ) const
inline

Definition at line 46 of file FWGeometryTableView.h.

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

Referenced by FWEveDetectorGeo::Paint().

46 { return m_filter.value(); }
FWStringParameter m_filter
int FWGeometryTableView::getFilterType ( ) const
inline

Definition at line 51 of file FWGeometryTableView.h.

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

51 { return m_filterType.value(); }
FWEnumParameter m_filterType
bool FWGeometryTableView::getIgnoreVisLevelWhenFilter ( ) const
inline
FWGeometryTableManagerBase * FWGeometryTableView::getTableManager ( )
virtual
int FWGeometryTableView::getVisLevel ( ) const
inline

Definition at line 48 of file FWGeometryTableView.h.

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

Referenced by FWEveDetectorGeo::Paint().

48 { return m_visLevel.value(); }
FWLongParameter m_visLevel
bool FWGeometryTableView::getVolumeMode ( ) const
inline
bool FWGeometryTableView::isSelectedByRegion ( ) const
inline

Definition at line 62 of file FWGeometryTableView.h.

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

Referenced by FWEveDetectorGeo::paintChildNodesRecurse().

62 { return m_selectRegion.value(); }
FWBoolParameter m_selectRegion
const FWGeometryTableView& FWGeometryTableView::operator= ( const FWGeometryTableView )
private
void FWGeometryTableView::populateController ( ViewerParameterGUI gui) const
virtual

Reimplemented from FWGeometryTableViewBase.

Definition at line 311 of file FWGeometryTableView.cc.

void FWGeometryTableView::setFrom ( const FWConfiguration iFrom)
virtual

Reimplemented from FWConfigurableParameterizable.

Definition at line 404 of file FWGeometryTableView.cc.

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

Reimplemented from FWGeometryTableViewBase.

Definition at line 241 of file FWGeometryTableView.cc.

void FWGeometryTableView::updateFilter ( std::string &  exp)

Definition at line 285 of file FWGeometryTableView.cc.

void FWGeometryTableView::updateVisibilityTopNode ( )

Definition at line 438 of file FWGeometryTableView.cc.

Member Data Documentation

FWBoolParameter FWGeometryTableView::m_disableTopNode
private

Definition at line 79 of file FWGeometryTableView.h.

Referenced by drawTopNode().

FWStringParameter FWGeometryTableView::m_filter
private

Definition at line 82 of file FWGeometryTableView.h.

Referenced by getFilter().

FWGUIValidatingTextEntry* FWGeometryTableView::m_filterEntry
private

Definition at line 74 of file FWGeometryTableView.h.

FWEnumParameter FWGeometryTableView::m_filterType
private

Definition at line 83 of file FWGeometryTableView.h.

Referenced by getFilterType().

boost::shared_ptr<FWParameterSetterBase> FWGeometryTableView::m_filterTypeSetter
private

Definition at line 91 of file FWGeometryTableView.h.

FWGeoMaterialValidator* FWGeometryTableView::m_filterValidator
private

Definition at line 75 of file FWGeometryTableView.h.

FWEnumParameter FWGeometryTableView::m_mode
private

Definition at line 78 of file FWGeometryTableView.h.

Referenced by getVolumeMode().

FWEnumParameter FWGeometryTableView::m_proximityAlgo
private

Definition at line 88 of file FWGeometryTableView.h.

FWDoubleParameter FWGeometryTableView::m_regionRadius
private

Definition at line 87 of file FWGeometryTableView.h.

FWBoolParameter FWGeometryTableView::m_selectRegion
private

Definition at line 86 of file FWGeometryTableView.h.

Referenced by isSelectedByRegion().

FWGeometryTableManager* FWGeometryTableView::m_tableManager
private

Definition at line 72 of file FWGeometryTableView.h.

FWLongParameter FWGeometryTableView::m_visLevel
private

Definition at line 80 of file FWGeometryTableView.h.

Referenced by getVisLevel().

FWBoolParameter FWGeometryTableView::m_visLevelFilter
private

Definition at line 84 of file FWGeometryTableView.h.

Referenced by getIgnoreVisLevelWhenFilter().