CMS 3D CMS Logo

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

#include <CmsShowCommonPopup.h>

Inheritance diagram for CmsShowCommonPopup:
FWParameterSetterEditorBase

Public Member Functions

void changeGeomColor (Color_t)
 
void changeGeomTransparency2D (int)
 
void changeGeomTransparency3D (int)
 
void changeSelectionColorSet (Color_t)
 
 ClassDef (CmsShowCommonPopup, 0)
 
virtual void CloseWindow ()
 
 CmsShowCommonPopup (CmsShowCommon *, const TGWindow *p=0, UInt_t w=1, UInt_t h=1)
 
void colorSetChanged ()
 
TGComboBox * getCombo ()
 
void permuteColors ()
 
void randomizeColors ()
 
void setPaletteGUI ()
 
void switchBackground ()
 
virtual ~CmsShowCommonPopup ()
 
- Public Member Functions inherited from FWParameterSetterEditorBase
 FWParameterSetterEditorBase ()
 
virtual void updateEditor ()
 
virtual ~FWParameterSetterEditorBase ()
 

Private Member Functions

 CmsShowCommonPopup (const CmsShowCommonPopup &)
 
void getColorSetColors (int &hci, int &sci)
 
TGFrame * makeSetter (TGCompositeFrame *frame, FWParameterBase *param)
 
const CmsShowCommonPopupoperator= (const CmsShowCommonPopup &)
 

Private Attributes

TGTextButton * m_backgroundButton
 
FWColorSelectm_colorRnrCtxHighlightWidget
 
FWColorSelectm_colorRnrCtxSelectWidget
 
FWColorSelectm_colorSelectWidget [kFWGeomColorSize]
 
TGComboBox * m_combo
 
CmsShowCommonm_common
 
TGTextButton * m_gammaButton
 
TGHSlider * m_gammaSlider
 
std::vector< boost::shared_ptr
< FWParameterSetterBase > > 
m_setters
 

Detailed Description

Definition at line 25 of file CmsShowCommonPopup.h.

Constructor & Destructor Documentation

CmsShowCommonPopup::CmsShowCommonPopup ( CmsShowCommon model,
const TGWindow *  p = 0,
UInt_t  w = 1,
UInt_t  h = 1 
)

Definition at line 31 of file CmsShowCommonPopup.cc.

CmsShowCommonPopup::~CmsShowCommonPopup ( )
virtual

Definition at line 254 of file CmsShowCommonPopup.cc.

CmsShowCommonPopup::CmsShowCommonPopup ( const CmsShowCommonPopup )
private

Member Function Documentation

void CmsShowCommonPopup::changeGeomColor ( Color_t  iColor)

Definition at line 269 of file CmsShowCommonPopup.cc.

void CmsShowCommonPopup::changeGeomTransparency2D ( int  iTransp)

Definition at line 295 of file CmsShowCommonPopup.cc.

void CmsShowCommonPopup::changeGeomTransparency3D ( int  iTransp)

Definition at line 301 of file CmsShowCommonPopup.cc.

void CmsShowCommonPopup::changeSelectionColorSet ( Color_t  idx)

Definition at line 278 of file CmsShowCommonPopup.cc.

CmsShowCommonPopup::ClassDef ( CmsShowCommonPopup  ,
 
)
virtual void CmsShowCommonPopup::CloseWindow ( )
inlinevirtual

Definition at line 34 of file CmsShowCommonPopup.h.

34 { UnmapWindow(); }
void CmsShowCommonPopup::colorSetChanged ( )

Definition at line 309 of file CmsShowCommonPopup.cc.

void CmsShowCommonPopup::getColorSetColors ( int &  hci,
int &  sci 
)
private

Definition at line 321 of file CmsShowCommonPopup.cc.

TGComboBox* CmsShowCommonPopup::getCombo ( )
inline

Definition at line 47 of file CmsShowCommonPopup.h.

References m_combo.

47 {return m_combo;}
TGFrame * CmsShowCommonPopup::makeSetter ( TGCompositeFrame *  frame,
FWParameterBase param 
)
private

Definition at line 338 of file CmsShowCommonPopup.cc.

const CmsShowCommonPopup& CmsShowCommonPopup::operator= ( const CmsShowCommonPopup )
private
void CmsShowCommonPopup::permuteColors ( )

Definition at line 266 of file CmsShowCommonPopup.cc.

void CmsShowCommonPopup::randomizeColors ( )

Definition at line 263 of file CmsShowCommonPopup.cc.

void CmsShowCommonPopup::setPaletteGUI ( )

Definition at line 353 of file CmsShowCommonPopup.cc.

void CmsShowCommonPopup::switchBackground ( )

Definition at line 260 of file CmsShowCommonPopup.cc.

Member Data Documentation

TGTextButton* CmsShowCommonPopup::m_backgroundButton
private

Definition at line 60 of file CmsShowCommonPopup.h.

FWColorSelect* CmsShowCommonPopup::m_colorRnrCtxHighlightWidget
private

Definition at line 65 of file CmsShowCommonPopup.h.

FWColorSelect* CmsShowCommonPopup::m_colorRnrCtxSelectWidget
private

Definition at line 66 of file CmsShowCommonPopup.h.

FWColorSelect* CmsShowCommonPopup::m_colorSelectWidget[kFWGeomColorSize]
private

Definition at line 64 of file CmsShowCommonPopup.h.

TGComboBox* CmsShowCommonPopup::m_combo
private

Definition at line 69 of file CmsShowCommonPopup.h.

Referenced by getCombo().

CmsShowCommon* CmsShowCommonPopup::m_common
private

Definition at line 58 of file CmsShowCommonPopup.h.

TGTextButton* CmsShowCommonPopup::m_gammaButton
private

Definition at line 62 of file CmsShowCommonPopup.h.

TGHSlider* CmsShowCommonPopup::m_gammaSlider
private

Definition at line 61 of file CmsShowCommonPopup.h.

std::vector<boost::shared_ptr<FWParameterSetterBase> > CmsShowCommonPopup::m_setters
private

Definition at line 67 of file CmsShowCommonPopup.h.