![]() |
![]() |
DD4hep - The AIDA detector description toolkit for high energy physics experiments
DD4hep
Rev:Unversioneddirectory
|
class Projection Projection.h DDEve/Projection.h More...
#include <Projection.h>
Public Member Functions | |
Projection (Display *eve, const std::string &name) | |
Initializing constructor. More... | |
virtual | ~Projection () |
Default destructor. More... | |
virtual View & | Map (TEveWindow *slot) |
Map the projection view to the slot. More... | |
virtual Projection & | AddAxis () |
Add projection axis to the view. More... | |
virtual Projection & | CreateRhoPhiProjection () |
Create Rho-Phi projection. More... | |
virtual Projection & | CreateRhoZProjection () |
Create Rho-Z projection. More... | |
virtual void | SetDepth (Float_t d) |
ClassDef (Projection, 0) | |
![]() | |
View (Display *eve, const std::string &name) | |
Initializing constructor. More... | |
virtual | ~View () |
Default destructor. More... | |
const std::string & | name () const |
Access to the view name/title. More... | |
const char * | c_name () const |
TEveViewer * | viewer () const |
Access to the Eve viewer. More... | |
bool | showGlobal () const |
Show global directory. More... | |
void | setShowGlobal (bool value) |
Set show globals. More... | |
virtual View & | Build (TEveWindow *slot) |
Build the view view and map it to the given slot. More... | |
virtual void | Initialize () |
Initialize the view port. More... | |
virtual View & | CreateScenes () |
Create the geometry and the event scene. More... | |
virtual TEveElementList * | AddToGlobalItems (const std::string &nam) |
Add the view to the global list of eve objects. More... | |
TEveScene * | geoScene () const |
Access to the Eve geometry scene. More... | |
virtual View & | CreateGeoScene () |
Create the geometry scene. More... | |
virtual void | ConfigureGeometryFromInfo () |
Configure a view with geo info. Used configuration if present. More... | |
virtual void | ConfigureGeometryFromGlobal () |
Configure a single geometry view by default from the global geometry scene with all subdetectors. More... | |
virtual void | ConfigureGeometry (const DisplayConfiguration::ViewConfig &config) |
Configure a single geometry view. More... | |
virtual std::pair< bool, TEveElement * > | CreateGeometry (DetElement de, const DisplayConfiguration::Config &cfg) |
Create a new instance of the geometry of a sub-detector. More... | |
virtual std::pair< bool, TEveElement * > | GetGlobalGeometry (DetElement de, const DisplayConfiguration::Config &cfg) |
Access the global instance of the subdetector geometry. More... | |
virtual void | ImportGeo (const std::string &topic, TEveElement *element) |
Call to import geometry elements into topics. More... | |
virtual void | ImportGeo (TEveElementList &topic, TEveElement *element) |
Call to import geometry elements into topics. More... | |
virtual void | ImportGeo (TEveElement *element) |
Call to import geometry elements into the main geometry scene menu. More... | |
virtual void | ImportGeoTopics (const std::string &title) |
Call to import geometry topics. If title is empty, do not add to global item list. More... | |
virtual TEveElementList & | GetGeoTopic (const std::string &name) |
Access/Create an geometry topic by name. More... | |
TEveScene * | eveScene () const |
Access to the Eve event scene. More... | |
virtual View & | CreateEventScene () |
Create the event scene. More... | |
virtual void | ConfigureEventFromInfo () |
Configure a view with event info. Used configuration if present. More... | |
virtual void | ConfigureEventFromGlobal () |
Configure an event view by default from the global event scene. More... | |
virtual void | ConfigureEvent (const DisplayConfiguration::ViewConfig &config) |
Configure a single event scene view. More... | |
virtual void | ImportEvent (TEveElement *element) |
Call to import event elements into the main event scene. More... | |
virtual void | ImportEventTopics () |
Import event typics after creation. More... | |
ClassDef (View, 0) | |
Root implementation macro. More... | |
Protected Member Functions | |
virtual TEveElement * | ImportElement (TEveElement *el, TEveElementList *list) |
Call an element to a event element list. More... | |
virtual TEveElement * | ImportGeoElement (TEveElement *element, TEveElementList *list) |
Call an element to a geometry element list. More... | |
virtual TEveElement * | ImportGeoTopic (TEveElement *element, TEveElementList *list) |
Call an element to a geometry element list. More... | |
virtual TEveElement * | ImportEventElement (TEveElement *element, TEveElementList *list) |
Call an element to a event element list. More... | |
Protected Attributes | |
TEveProjectionManager * | m_projMgr |
Reference to the projection manager. More... | |
TEveProjectionAxes * | m_axis |
Reference to the projection axis. More... | |
![]() | |
Display * | m_eve |
TEveViewer * | m_view |
Reference to the view. More... | |
TEveScene * | m_geoScene |
Reference to the geometry scene. More... | |
TEveScene * | m_eveScene |
Reference to the event scene. More... | |
TEveElementList * | m_global |
Reference to the global item (if added. More... | |
const DisplayConfiguration::ViewConfig * | m_config |
std::string | m_name |
The name of the view. More... | |
Topics | m_geoTopics |
Topics | m_eveTopics |
bool | m_showGlobal |
Additional Inherited Members | |
![]() | |
typedef Geometry::LCDD | LCDD |
typedef Geometry::DetElement | DetElement |
typedef Geometry::SensitiveDetector | SensitiveDetector |
typedef std::map< std::string, TEveElementList * > | Topics |
class Projection Projection.h DDEve/Projection.h
Definition at line 33 of file Projection.h.
Projection::Projection | ( | Display * | eve, |
const std::string & | name | ||
) |
Initializing constructor.
Definition at line 31 of file Projection.cpp.
|
virtual |
Default destructor.
Definition at line 37 of file Projection.cpp.
|
virtual |
Add projection axis to the view.
Add axis to the projection view.
Definition at line 85 of file Projection.cpp.
References m_axis, DD4hep::View::m_geoScene, and m_projMgr.
Referenced by DD4hep::RhoPhiProjection::Build(), and DD4hep::RhoZProjection::Build().
DD4hep::Projection::ClassDef | ( | Projection | , |
0 | |||
) |
|
virtual |
Create Rho-Phi projection.
Definition at line 99 of file Projection.cpp.
References DD4hep::View::AddToGlobalItems(), m_projMgr, and DD4hep::View::name().
Referenced by DD4hep::RhoPhiProjection::Build().
|
virtual |
Create Rho-Z projection.
Definition at line 108 of file Projection.cpp.
References DD4hep::View::AddToGlobalItems(), m_projMgr, and DD4hep::View::name().
Referenced by DD4hep::RhoZProjection::Build().
|
protectedvirtual |
Call an element to a event element list.
Definition at line 51 of file Projection.cpp.
References e, find(), DD4hep::View::GetGeoTopic(), DD4hep::Utilities::GetName(), DD4hep::INFO, DD4hep::View::m_eveScene, DD4hep::View::m_geoScene, DD4hep::View::m_geoTopics, m_projMgr, and DD4hep::printout().
Referenced by ImportEventElement(), and ImportGeoElement().
|
protectedvirtual |
Call an element to a event element list.
Reimplemented from DD4hep::View.
Definition at line 80 of file Projection.cpp.
References ImportElement().
|
protectedvirtual |
Call an element to a geometry element list.
Reimplemented from DD4hep::View.
Definition at line 75 of file Projection.cpp.
References ImportElement().
|
protectedvirtual |
Call an element to a geometry element list.
Reimplemented from DD4hep::View.
Definition at line 46 of file Projection.cpp.
|
virtual |
Map the projection view to the slot.
Reimplemented from DD4hep::View.
Definition at line 117 of file Projection.cpp.
References DD4hep::View::m_view, and DD4hep::View::Map().
Referenced by DD4hep::RhoPhiProjection::Build(), and DD4hep::RhoZProjection::Build().
|
virtual |
Definition at line 40 of file Projection.cpp.
References m_projMgr.
|
protected |
Reference to the projection axis.
Definition at line 38 of file Projection.h.
Referenced by AddAxis().
|
protected |
Reference to the projection manager.
Definition at line 36 of file Projection.h.
Referenced by AddAxis(), CreateRhoPhiProjection(), CreateRhoZProjection(), ImportElement(), and SetDepth().