ATLAS Offline Software
Loading...
Searching...
No Matches
TrackLODHandle::Imp Class Reference
Collaboration diagram for TrackLODHandle::Imp:

Public Member Functions

 Imp (SoGroup *ag, VP1ExtraSepLayerHelper *shs, VP1ExtraSepLayerHelper *shd, int i, const double &c)
void updateCrossOverField () const

Public Attributes

SoGroup * attachGroup_LOD
VP1ExtraSepLayerHelperattachHelper_simple
VP1ExtraSepLayerHelperattachHelper_detailed
int regIdx
double crossVal
SoLevelOfDetail * lod
SoSeparator * sep_detailed
SoSeparator * sep_simple

Detailed Description

Definition at line 215 of file TrackLODManager.cxx.

Constructor & Destructor Documentation

◆ Imp()

TrackLODHandle::Imp::Imp ( SoGroup * ag,
VP1ExtraSepLayerHelper * shs,
VP1ExtraSepLayerHelper * shd,
int i,
const double & c )
inline

Definition at line 217 of file TrackLODManager.cxx.

221 : attachGroup_LOD(ag),
224 regIdx(i),
225 crossVal(c),
226 lod(nullptr),
227 sep_detailed(nullptr),
228 sep_simple(nullptr) {}
VP1ExtraSepLayerHelper * attachHelper_simple
VP1ExtraSepLayerHelper * attachHelper_detailed
SoLevelOfDetail * lod

Member Function Documentation

◆ updateCrossOverField()

void TrackLODHandle::Imp::updateCrossOverField ( ) const
inline

Definition at line 237 of file TrackLODManager.cxx.

238 {
239 //Fixme: We should scale this with complexity! I.e. multiply the value with 1.0/(complexity+0.5)
240 // lod->screenArea.setValue(crossVal/sqrt(sep_detailed->getNumChildren()+1.0));
241 lod->screenArea.setValue(crossVal*sqrt(sep_detailed->getNumChildren())+0.1);
242 }

Member Data Documentation

◆ attachGroup_LOD

SoGroup* TrackLODHandle::Imp::attachGroup_LOD

Definition at line 229 of file TrackLODManager.cxx.

◆ attachHelper_detailed

VP1ExtraSepLayerHelper* TrackLODHandle::Imp::attachHelper_detailed

Definition at line 231 of file TrackLODManager.cxx.

◆ attachHelper_simple

VP1ExtraSepLayerHelper* TrackLODHandle::Imp::attachHelper_simple

Definition at line 230 of file TrackLODManager.cxx.

◆ crossVal

double TrackLODHandle::Imp::crossVal

Definition at line 233 of file TrackLODManager.cxx.

◆ lod

SoLevelOfDetail* TrackLODHandle::Imp::lod

Definition at line 234 of file TrackLODManager.cxx.

◆ regIdx

int TrackLODHandle::Imp::regIdx

Definition at line 232 of file TrackLODManager.cxx.

◆ sep_detailed

SoSeparator* TrackLODHandle::Imp::sep_detailed

Definition at line 235 of file TrackLODManager.cxx.

◆ sep_simple

SoSeparator* TrackLODHandle::Imp::sep_simple

Definition at line 236 of file TrackLODManager.cxx.


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