#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 10 of file DDCompactViewImpl.h.
typedef ::graph<DDLogicalPart, DDPosData* > DDCompactViewImpl::GraphNav |
Definition at line 14 of file DDCompactViewImpl.h.
Definition at line 15 of file DDCompactViewImpl.h.
|
explicit |
Definition at line 112 of file DDCompactViewImpl.cc.
DDCompactViewImpl::DDCompactViewImpl | ( | const DDLogicalPart & | rootnodedata | ) |
DDCompactViewImpl::~DDCompactViewImpl | ( | ) |
Definition at line 15 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 |
|
inline |
Definition at line 28 of file DDCompactViewImpl.h.
References graph_.
Referenced by cuy.FindIssue::__init__().
void DDCompactViewImpl::position | ( | const DDLogicalPart & | self, |
const DDLogicalPart & | parent, | ||
int | copyno, | ||
const DDTranslation & | trans, | ||
const DDRotation & | rot, | ||
const DDDivision * | div | ||
) |
Definition at line 96 of file DDCompactViewImpl.cc.
References graph< N, E >::addEdge(), and graph_.
|
inline |
|
inline |
Definition at line 22 of file DDCompactViewImpl.h.
void DDCompactViewImpl::swap | ( | DDCompactViewImpl & | implToSwap | ) |
graphwalker< DDLogicalPart, DDPosData * > DDCompactViewImpl::walker | ( | ) | const |
double DDCompactViewImpl::weight | ( | const DDLogicalPart & | aPart | ) | const |
Definition at line 43 of file DDCompactViewImpl.cc.
References class-composition::child, graphwalker< N, E >::current(), DCOUT_V, 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 cuy.ValElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), and cuy.graphElement::__init__().
|
protected |
Definition at line 46 of file DDCompactViewImpl.h.
Referenced by graph(), position(), swap(), walker(), weight(), and ~DDCompactViewImpl().
|
protected |
Definition at line 45 of file DDCompactViewImpl.h.
Referenced by root(), setRoot(), walker(), and ~DDCompactViewImpl().