#include <DDCompactViewImpl.h>
Public Types | |
typedef ::graph< DDLogicalPart, DDPosData * > | GraphNav |
typedef graphwalker< DDLogicalPart, DDPosData * > | WalkerType |
Public Member Functions | |
DDLogicalPart & | current () const |
DDCompactViewImpl () | |
DDCompactViewImpl (const DDLogicalPart &rootnodedata) | |
const GraphNav & | graph () const |
void | position (const DDLogicalPart &self, const DDLogicalPart &parent, int copyno, const DDTranslation &trans, const DDRotation &rot, const DDDivision *div) |
const DDLogicalPart & | root () const |
void | setRoot (const DDLogicalPart &root) |
void | swap (DDCompactViewImpl &) |
graphwalker< DDLogicalPart, DDPosData * > | walker () const |
double | weight (const DDLogicalPart &) const |
~DDCompactViewImpl () | |
Protected Attributes | |
GraphNav | graph_ |
DDLogicalPart | root_ |
Definition at line 15 of file DDCompactViewImpl.h.
typedef ::graph<DDLogicalPart, DDPosData* > DDCompactViewImpl::GraphNav |
Definition at line 19 of file DDCompactViewImpl.h.
Definition at line 20 of file DDCompactViewImpl.h.
|
explicit |
Definition at line 119 of file DDCompactViewImpl.cc.
DDCompactViewImpl::DDCompactViewImpl | ( | const DDLogicalPart & | rootnodedata | ) |
DDCompactViewImpl::~DDCompactViewImpl | ( | ) |
Definition at line 21 of file DDCompactViewImpl.cc.
References graph< N, E >::edgeData(), graph< N, E >::edges(), graph_, LogDebug, root_, and graph< N, E >::size().
DDLogicalPart& DDCompactViewImpl::current | ( | ) | const |
Referenced by root().
|
inline |
Definition at line 33 of file DDCompactViewImpl.h.
References graph_, class-composition::parent, position(), makeMuonMisalignmentScenario::rot, swap(), walker(), and weight().
void DDCompactViewImpl::position | ( | const DDLogicalPart & | self, |
const DDLogicalPart & | parent, | ||
int | copyno, | ||
const DDTranslation & | trans, | ||
const DDRotation & | rot, | ||
const DDDivision * | div | ||
) |
Definition at line 103 of file DDCompactViewImpl.cc.
References graph< N, E >::addEdge(), and graph_.
Referenced by graph().
|
inline |
Definition at line 29 of file DDCompactViewImpl.h.
References current(), and root_.
Referenced by setRoot().
|
inline |
Definition at line 27 of file DDCompactViewImpl.h.
void DDCompactViewImpl::swap | ( | DDCompactViewImpl & | implToSwap | ) |
Definition at line 115 of file DDCompactViewImpl.cc.
References graph_, and graph< N, E >::swap().
Referenced by graph().
graphwalker< DDLogicalPart, DDPosData * > DDCompactViewImpl::walker | ( | ) | const |
double DDCompactViewImpl::weight | ( | const DDLogicalPart & | aPart | ) | const |
Definition at line 52 of file DDCompactViewImpl.cc.
References class-composition::child, graphwalker< N, E >::current(), DDBase< N, C >::ddname(), DDMaterial::density(), graphwalker< N, E >::firstChild(), g, graph_, DDLogicalPart::material(), graphwalker< N, E >::nextSibling(), DDLogicalPart::solid(), DDSolid::volume(), w, walker(), and DDLogicalPart::weight().
Referenced by graph().
|
protected |
Definition at line 51 of file DDCompactViewImpl.h.
Referenced by graph(), position(), swap(), walker(), weight(), and ~DDCompactViewImpl().
|
protected |
Definition at line 50 of file DDCompactViewImpl.h.
Referenced by root(), setRoot(), walker(), and ~DDCompactViewImpl().