ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
TrackLODManager::Imp Class Reference
Collaboration diagram for TrackLODManager::Imp:

Public Member Functions

 Imp ()
 
void ensureLODDetached () const
 
void ensureSimpleDetached () const
 
void ensureDetailedDetached () const
 
void updateAttachmentForDetailLevel (TrackCommonFlags::DETAILLEVEL) const
 

Public Attributes

SoGroup * attachnode
 
SoGroup * attachnode_lod
 
SoSeparator * attachsep_simple
 
SoSeparator * attachsep_detailed
 
VP1ExtraSepLayerHelperattachHelper_simple
 
VP1ExtraSepLayerHelperattachHelper_detailed
 
TrackCommonFlags::DETAILLEVEL detailLevel
 
std::map< std::pair< int, double >, TrackLODHandle * > id_2_lodhandle
 

Detailed Description

Definition at line 23 of file TrackLODManager.cxx.

Constructor & Destructor Documentation

◆ Imp()

TrackLODManager::Imp::Imp ( )
inline

Definition at line 25 of file TrackLODManager.cxx.

25  : attachnode(nullptr),
26  attachnode_lod(nullptr),
27  attachsep_simple(nullptr),
28  attachsep_detailed(nullptr),
29  attachHelper_simple(nullptr),
30  attachHelper_detailed(nullptr),

Member Function Documentation

◆ ensureDetailedDetached()

void TrackLODManager::Imp::ensureDetailedDetached ( ) const

Definition at line 65 of file TrackLODManager.cxx.

66 {
68  attachnode->removeChild(attachsep_detailed);
69 }

◆ ensureLODDetached()

void TrackLODManager::Imp::ensureLODDetached ( ) const

Definition at line 79 of file TrackLODManager.cxx.

80 {
81  if ( attachnode && attachnode_lod && attachnode->findChild(attachnode_lod)>-1)
82  attachnode->removeChild(attachnode_lod);
83 }

◆ ensureSimpleDetached()

void TrackLODManager::Imp::ensureSimpleDetached ( ) const

Definition at line 72 of file TrackLODManager.cxx.

73 {
74  if ( attachnode && attachsep_simple && attachnode->findChild(attachsep_simple)>-1)
75  attachnode->removeChild(attachsep_simple);
76 }

◆ updateAttachmentForDetailLevel()

void TrackLODManager::Imp::updateAttachmentForDetailLevel ( TrackCommonFlags::DETAILLEVEL  dl) const

Definition at line 86 of file TrackLODManager.cxx.

87 {
89  if ( attachnode && attachsep_simple && attachnode->findChild(attachsep_simple)<0)
90  attachnode->addChild(attachsep_simple);
91  } else {
93  }
94 
97  attachnode->addChild(attachsep_detailed);
98  } else {
100  }
101 
102  if (dl == TrackCommonFlags::AUTO) {
103  if ( attachnode && attachnode_lod && attachnode->findChild(attachnode_lod)<0)
104  attachnode->addChild(attachnode_lod);
105  } else {
107  }
108 }

Member Data Documentation

◆ attachHelper_detailed

VP1ExtraSepLayerHelper* TrackLODManager::Imp::attachHelper_detailed

Definition at line 37 of file TrackLODManager.cxx.

◆ attachHelper_simple

VP1ExtraSepLayerHelper* TrackLODManager::Imp::attachHelper_simple

Definition at line 36 of file TrackLODManager.cxx.

◆ attachnode

SoGroup* TrackLODManager::Imp::attachnode

Definition at line 32 of file TrackLODManager.cxx.

◆ attachnode_lod

SoGroup* TrackLODManager::Imp::attachnode_lod

Definition at line 33 of file TrackLODManager.cxx.

◆ attachsep_detailed

SoSeparator* TrackLODManager::Imp::attachsep_detailed

Definition at line 35 of file TrackLODManager.cxx.

◆ attachsep_simple

SoSeparator* TrackLODManager::Imp::attachsep_simple

Definition at line 34 of file TrackLODManager.cxx.

◆ detailLevel

TrackCommonFlags::DETAILLEVEL TrackLODManager::Imp::detailLevel

Definition at line 43 of file TrackLODManager.cxx.

◆ id_2_lodhandle

std::map<std::pair<int,double>,TrackLODHandle* > TrackLODManager::Imp::id_2_lodhandle

Definition at line 44 of file TrackLODManager.cxx.


The documentation for this class was generated from the following file:
TrackLODManager::Imp::attachHelper_simple
VP1ExtraSepLayerHelper * attachHelper_simple
Definition: TrackLODManager.cxx:36
TrackLODManager::Imp::attachnode
SoGroup * attachnode
Definition: TrackLODManager.cxx:32
TestSUSYToolsAlg.dl
dl
Definition: TestSUSYToolsAlg.py:81
TrackCommonFlags::SIMPLE
@ SIMPLE
Definition: TrackCommonFlags.h:39
TrackLODManager::Imp::ensureSimpleDetached
void ensureSimpleDetached() const
Definition: TrackLODManager.cxx:72
TrackLODManager::Imp::ensureDetailedDetached
void ensureDetailedDetached() const
Definition: TrackLODManager.cxx:65
TrackCommonFlags::AUTO
@ AUTO
Definition: TrackCommonFlags.h:39
TrackLODManager::Imp::attachHelper_detailed
VP1ExtraSepLayerHelper * attachHelper_detailed
Definition: TrackLODManager.cxx:37
TrackLODManager::Imp::detailLevel
TrackCommonFlags::DETAILLEVEL detailLevel
Definition: TrackLODManager.cxx:43
TrackLODManager::Imp::ensureLODDetached
void ensureLODDetached() const
Definition: TrackLODManager.cxx:79
TrackCommonFlags::DETAILED
@ DETAILED
Definition: TrackCommonFlags.h:39
TrackLODManager::Imp::attachnode_lod
SoGroup * attachnode_lod
Definition: TrackLODManager.cxx:33
TrackLODManager::Imp::attachsep_detailed
SoSeparator * attachsep_detailed
Definition: TrackLODManager.cxx:35
TrackLODManager::Imp::attachsep_simple
SoSeparator * attachsep_simple
Definition: TrackLODManager.cxx:34