![]() |
ATLAS Offline Software
|
Visitor to process all volumes under a GeoModel node. More...
#include "GeoModelUtilities/GeoVisitVolumes.h"
#include "GeoModelKernel/GeoNameTag.h"
#include "GeoModelKernel/GeoSerialDenominator.h"
#include "GeoModelKernel/GeoSerialIdentifier.h"
#include "CxxUtils/inline_hints.h"
#include <string>
Go to the source code of this file.
Functions | |
GeoVolumeVec_t | geoGetVolumes (const GeoGraphNode *node, int depthLimit, int sizeHint) |
Return the child volumes and associated transforms. More... | |
std::vector< const GeoVPhysVol * > | geoGetVolumesNoXform (const GeoGraphNode *node, int depthLimit, int sizeHint) |
Return the child volumes. More... | |
Visitor to process all volumes under a GeoModel node.
Definition in file GeoVisitVolumes.cxx.
GeoVolumeVec_t geoGetVolumes | ( | const GeoGraphNode * | node, |
int | depthLimit, | ||
int | sizeHint | ||
) |
Return the child volumes and associated transforms.
node | Root of the graph to traverse. |
depthLimit | Depth limit for the traversal. |
sizeHint | Hint about the number of volumes to be returned, to allow avoiding resizes of the output vector. |
Returns a vector of (volume, transform) pairs for volumes in the graph. The same volume may be returned multiple times with different transforms in the case of a GeoSerialTransform.
Definition at line 211 of file GeoVisitVolumes.cxx.
std::vector<const GeoVPhysVol*> geoGetVolumesNoXform | ( | const GeoGraphNode * | node, |
int | depthLimit, | ||
int | sizeHint | ||
) |
Return the child volumes.
node | Root of the graph to traverse. |
depthLimit | Depth limit for the traversal. |
sizeHint | Hint about the number of volumes to be returned, to allow avoiding resizes of the output vector. |
Returns a vector of volumes in the graph. The same volume may be returned multiple times in the case of a GeoSerialTransform.
Definition at line 240 of file GeoVisitVolumes.cxx.