Defines the root of the CompactView. More...
#include <DDRoot.h>
Public Member Functions | |
DDRoot () | |
DDLogicalPart | root () const |
returns the root of the geometrical hierarchy More... | |
void | set (const DDName &rootName) |
set the root by using its qualified name DDName More... | |
void | set (const DDLogicalPart &root) |
set DDLogicalPart root to the root More... | |
~DDRoot () | |
Private Attributes | |
DDLogicalPart | root_ |
Defines the root of the CompactView.
DDRoot will define the root of the geometrical hierarchy. The root also defines the base of the global coordinates. /todo provide possibility to have different roots for different parallel geometries /todo prohibit multiple calls for one geometry (the root can only be defined once!)
DDLogicalPart DDRoot::root | ( | ) | const |
void DDRoot::set | ( | const DDName & | rootName | ) |
set the root by using its qualified name DDName
Definition at line 10 of file DDRoot.cc.
void DDRoot::set | ( | const DDLogicalPart & | root | ) |
set DDLogicalPart root to the root
Definition at line 16 of file DDRoot.cc.
References DCOUT, root(), and root_.
|
private |