#include <DDCompactViewImpl.h>
Public Types | |
using | Graph = math::Graph< DDLogicalPart, DDPosData * > |
using | GraphWalker = math::GraphWalker< DDLogicalPart, DDPosData * > |
Public Member Functions | |
DDLogicalPart & | current () const |
DDCompactViewImpl () | |
DDCompactViewImpl (const DDLogicalPart &rootnodedata) | |
const Graph & | 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 | walker () const |
~DDCompactViewImpl () | |
Protected Attributes | |
Graph | graph_ |
DDLogicalPart | root_ |
Definition at line 14 of file DDCompactViewImpl.h.
using DDCompactViewImpl::Graph = math::Graph<DDLogicalPart, DDPosData* > |
Definition at line 18 of file DDCompactViewImpl.h.
Definition at line 19 of file DDCompactViewImpl.h.
|
explicit |
Definition at line 54 of file DDCompactViewImpl.cc.
DDCompactViewImpl::DDCompactViewImpl | ( | const DDLogicalPart & | rootnodedata | ) |
DDCompactViewImpl::~DDCompactViewImpl | ( | ) |
Definition at line 12 of file DDCompactViewImpl.cc.
References math::Graph< N, E >::edgeData(), math::Graph< N, E >::edges(), graph_, LogDebug, root_, and math::Graph< N, E >::size().
DDLogicalPart& DDCompactViewImpl::current | ( | ) | const |
Referenced by root().
|
inline |
Definition at line 32 of file DDCompactViewImpl.h.
References graph_, class-composition::parent, position(), makeMuonMisalignmentScenario::rot, swap(), and walker().
void DDCompactViewImpl::position | ( | const DDLogicalPart & | self, |
const DDLogicalPart & | parent, | ||
int | copyno, | ||
const DDTranslation & | trans, | ||
const DDRotation & | rot, | ||
const DDDivision * | div | ||
) |
Definition at line 38 of file DDCompactViewImpl.cc.
References math::Graph< N, E >::addEdge(), and graph_.
Referenced by graph().
|
inline |
Definition at line 28 of file DDCompactViewImpl.h.
References current(), and root_.
Referenced by setRoot().
|
inline |
Definition at line 26 of file DDCompactViewImpl.h.
void DDCompactViewImpl::swap | ( | DDCompactViewImpl & | implToSwap | ) |
Definition at line 50 of file DDCompactViewImpl.cc.
References graph_, and math::Graph< N, E >::swap().
Referenced by graph().
DDCompactViewImpl::GraphWalker DDCompactViewImpl::walker | ( | ) | const |
Definition at line 32 of file DDCompactViewImpl.cc.
Referenced by graph().
|
protected |
Definition at line 47 of file DDCompactViewImpl.h.
Referenced by graph(), position(), swap(), walker(), and ~DDCompactViewImpl().
|
protected |
Definition at line 46 of file DDCompactViewImpl.h.
Referenced by root(), setRoot(), walker(), and ~DDCompactViewImpl().