CbmRoot
Loading...
Searching...
No Matches
CbmTsEveTransparencyControl Class Reference

GUI elements to add global transparency control to CbmTimesliceManagerEditor. Cannot be used alone! More...

#include <CbmTsEveTransparencyControl.h>

Inheritance diagram for CbmTsEveTransparencyControl:
[legend]
Collaboration diagram for CbmTsEveTransparencyControl:
[legend]

Public Member Functions

 CbmTsEveTransparencyControl (TGFrame const *parent, char const *label="Transparency")
 
TGCheckButton * GetCheck () const
 
TGNumberEntry * GetNumber () const
 
void Toggled ()
 Called when button clicked. RESERVED FOR GUI CALLS!
 
void ValueSet ()
 Called when transparency value changed. RESERVED FOR GUI CALLS!
 
virtual ~CbmTsEveTransparencyControl ()
 

Private Attributes

TGCheckButton * fCheck
 
TGNumberEntry * fNumber
 

Detailed Description

GUI elements to add global transparency control to CbmTimesliceManagerEditor. Cannot be used alone!

Author
Pierre-Alain Loizeau p.-a..nosp@m.loiz.nosp@m.eau@g.nosp@m.si.d.nosp@m.e

PAL 31/05/2023: clone of FairEveTransparencyControl (for FairEventManagerEditor) from FairRoot v18.6.7

Definition at line 22 of file CbmTsEveTransparencyControl.h.

Constructor & Destructor Documentation

◆ CbmTsEveTransparencyControl()

CbmTsEveTransparencyControl::CbmTsEveTransparencyControl ( TGFrame const * parent,
char const * label = "Transparency" )

Definition at line 12 of file CbmTsEveTransparencyControl.cxx.

References fCheck, and fNumber.

◆ ~CbmTsEveTransparencyControl()

virtual CbmTsEveTransparencyControl::~CbmTsEveTransparencyControl ( )
inlinevirtual

Definition at line 41 of file CbmTsEveTransparencyControl.h.

Member Function Documentation

◆ GetCheck()

TGCheckButton * CbmTsEveTransparencyControl::GetCheck ( ) const
inline

Definition at line 29 of file CbmTsEveTransparencyControl.h.

References fCheck.

◆ GetNumber()

TGNumberEntry * CbmTsEveTransparencyControl::GetNumber ( ) const
inline

Definition at line 30 of file CbmTsEveTransparencyControl.h.

References fNumber.

◆ Toggled()

void CbmTsEveTransparencyControl::Toggled ( )

Called when button clicked. RESERVED FOR GUI CALLS!

Definition at line 34 of file CbmTsEveTransparencyControl.cxx.

References fCheck, fNumber, CbmTimesliceManager::Instance(), and CbmTimesliceManager::SetTransparency().

◆ ValueSet()

void CbmTsEveTransparencyControl::ValueSet ( )

Called when transparency value changed. RESERVED FOR GUI CALLS!

Definition at line 44 of file CbmTsEveTransparencyControl.cxx.

References fCheck, fNumber, CbmTimesliceManager::Instance(), and CbmTimesliceManager::SetTransparency().

Member Data Documentation

◆ fCheck

TGCheckButton* CbmTsEveTransparencyControl::fCheck
private

◆ fNumber

TGNumberEntry* CbmTsEveTransparencyControl::fNumber
private

The documentation for this class was generated from the following files: