Template Function Acts::Visualization::drawVolume

Function Documentation

template<typename volume_t>
void Visualization::Acts::drawVolume(IVisualization &helper, const volume_t &volume, const GeometryContext &gctx, const Transform3D &transform = Transform3D::Identity(), size_t lseg = 72, bool triangulate = false, const IVisualization::ColorType &color = {120, 120, 120})

Helper method for volume objects.

Template Parameters
  • volume_t: the templated volume class

Parameters
  • helper: [in, out] The visualization helper

  • volume: The surface to be drawn

  • gctx: The geometry context for which it is drawn

  • transform: An option additional transform

  • lseg: The number of segments for a full arch (if needed)

  • triangulate: The (optional) boolean diretive to triangulate the faces

  • color: the (optional) color of the object to be written