DD4hep
1.30.0
Detector Description Toolkit for High Energy Physics
|
class FrameControl FrameControl.h DDEve/FrameControl.h More...
#include <FrameControl.h>
Public Member Functions | |
FrameControl (TGClient *client, const std::string &name, unsigned int width, unsigned int height) | |
Standard constructor. More... | |
virtual | ~FrameControl () |
Default destructor. More... | |
TGClient & | client () const |
Access to the windows client. More... | |
TGCompositeFrame * | frame () const |
Access to the top level frame. More... | |
virtual void | Build () |
Build the control. More... | |
virtual void | OnBuild () |
User callback to add elements to the control. More... | |
virtual TGCompositeFrame * | CreateFrame () |
Create the frame for this control structure. Default: create horizontal frame. More... | |
virtual const TGPicture * | LoadPicture (const std::string &path) |
Helper: Load picture using path name. More... | |
Protected Attributes | |
TGClient * | m_client |
Reference to TEve manager. More... | |
TGCompositeFrame * | m_frame |
Reference to control's frame. More... | |
class FrameControl FrameControl.h DDEve/FrameControl.h
Definition at line 36 of file FrameControl.h.
dd4hep::FrameControl::FrameControl | ( | TGClient * | client, |
const std::string & | name, | ||
unsigned int | width, | ||
unsigned int | height | ||
) |
Standard constructor.
|
virtual |
Default destructor.
Definition at line 38 of file FrameControl.cpp.
|
virtual |
Build the control.
Definition at line 46 of file FrameControl.cpp.
|
inline |
Access to the windows client.
Definition at line 50 of file FrameControl.h.
|
virtual |
Create the frame for this control structure. Default: create horizontal frame.
Reimplemented in dd4hep::EventControl.
Definition at line 60 of file FrameControl.cpp.
|
inline |
Access to the top level frame.
Definition at line 52 of file FrameControl.h.
|
virtual |
Helper: Load picture using path name.
Helper functions to fill the graphics pane(s)
Definition at line 65 of file FrameControl.cpp.
|
virtual |
User callback to add elements to the control.
Reimplemented in dd4hep::EventControl.
Definition at line 56 of file FrameControl.cpp.
|
protected |
Reference to TEve manager.
Definition at line 40 of file FrameControl.h.
|
protected |
Reference to control's frame.
Definition at line 42 of file FrameControl.h.