|
Celeritas 0.7+cf8d83d
|
Access material and connectivity for a single logical volume. More...
#include <VolumeView.hh>
Public Types | |
Type aliases | |
| using | ParamsRef = NativeCRef< VolumeParamsData > |
| using | SpanVolInst = LdgSpan< VolumeInstanceId const > |
Public Member Functions | |
| VolumeView (ParamsRef const ¶ms, VolumeId vol_id) | |
| Construct with shared data and a volume ID. | |
| VolumeId | volume_id () const |
| Volume being viewed. | |
| GeoMatId | material () const |
| Get the geometry material ID for this volume. | |
| SpanVolInst | parents () const |
| Get the incoming edges (volume instances that place this volume). | |
| SpanVolInst | children () const |
| Get the outgoing edges (child instances placed inside this volume). | |
Access material and connectivity for a single logical volume.
This GPU-compatible view provides per-volume access to the geometry material ID and parent/child edges in the volume instance graph.