CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
areaInfo Class Reference

Public Member Functions

 areaInfo (TGFrameElementPack *frameElement)
 
 areaInfo ()
 

Public Attributes

TEveWindow * eveWindow
 
TEveWindow * originalSlot
 
Bool_t undocked
 
TGMainFrame * undockedMainFrame
 
Float_t weight
 

Detailed Description

Definition at line 912 of file FWGUIManager.cc.

Constructor & Destructor Documentation

◆ areaInfo() [1/2]

areaInfo::areaInfo ( TGFrameElementPack *  frameElement)
inline

Definition at line 915 of file FWGUIManager.cc.

References cms::cuda::assert().

915  {
916  eveWindow = nullptr;
917  originalSlot = nullptr;
918  undockedMainFrame = nullptr;
919  weight = frameElement->fWeight;
920  undocked = !frameElement->fState;
921 
922  TEveCompositeFrame* eveFrame = dynamic_cast<TEveCompositeFrame*>(frameElement->fFrame);
923  assert(eveFrame);
924 
925  if (frameElement->fState)
926  eveWindow = eveFrame->GetEveWindow();
927  else
928  originalSlot = eveFrame->GetEveWindow();
929  }
TGMainFrame * undockedMainFrame
TEveWindow * eveWindow
Definition: weight.py:1
assert(be >=bs)
TEveWindow * originalSlot
Bool_t undocked

◆ areaInfo() [2/2]

areaInfo::areaInfo ( )
inline

Definition at line 931 of file FWGUIManager.cc.

931 : weight(0), undocked(false) {}
Bool_t undocked
Float_t weight

Member Data Documentation

◆ eveWindow

TEveWindow* areaInfo::eveWindow

Definition at line 935 of file FWGUIManager.cc.

◆ originalSlot

TEveWindow* areaInfo::originalSlot

Definition at line 937 of file FWGUIManager.cc.

◆ undocked

Bool_t areaInfo::undocked

Definition at line 934 of file FWGUIManager.cc.

Referenced by addAreaInfoTo().

◆ undockedMainFrame

TGMainFrame* areaInfo::undockedMainFrame

Definition at line 936 of file FWGUIManager.cc.

Referenced by addAreaInfoTo().

◆ weight

Float_t areaInfo::weight