Celeritas 0.6.0-110+develop.c7dc37d1
|
Interface for accessing the volume graph. More...
#include <VolumeVisitor.hh>
Public Types | |
using | VolumeRef = V |
A lightweight identifier for a volume: OpaqueId or pointer. | |
using | VolumeInstanceRef = VI |
A lightweight identifier for a volume instance. | |
using | ContainerVolInstRef = CVI |
Container of child volume instances. | |
Public Member Functions | |
virtual VolumeRef | volume (VolumeInstanceRef parent)=0 |
Outgoing volume node from an instance. | |
virtual ContainerVolInstRef | children (VolumeRef parent)=0 |
Outgoing instance nodes from a volume. | |
Interface for accessing the volume graph.
V | Lightweight volume reference |
VI | Lightweight volume instance reference |
CVI | Container of volume instance references |
Note that this helper class is a template interface specification, not a required base class. Providing the type aliases and member functions is all that's needed.
|
pure virtual |
Outgoing instance nodes from a volume.
Implemented in celeritas::GeantVolumeAccessor, and celeritas::VecgeomVolumeAccessor.
|
pure virtual |
Outgoing volume node from an instance.
Implemented in celeritas::GeantVolumeAccessor, and celeritas::VecgeomVolumeAccessor.