ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::GeometryView3D Struct Reference

#include <Acts/Visualization/GeometryView3D.hpp>

Static Public Member Functions

static void drawArrowBackward (IVisualization3D &helper, const Vector3 &start, const Vector3 &end, double arrowLength, double arrowWidth, const ViewConfig &viewConfig=s_viewLine)
 Convenience function : arrow pointing back.
static void drawArrowForward (IVisualization3D &helper, const Vector3 &start, const Vector3 &end, double arrowLength, double arrowWidth, const ViewConfig &viewConfig=s_viewLine)
 Convenience function : arrow pointing forward.
static void drawArrowsBoth (IVisualization3D &helper, const Vector3 &start, const Vector3 &end, double arrowLength, double arrowWidth, const ViewConfig &viewConfig=s_viewLine)
 Convenience function : arrow pointing both directions.
static void drawLayer (IVisualization3D &helper, const Layer &layer, const GeometryContext &gctx, const ViewConfig &layerConfig=s_viewPassive, const ViewConfig &sensitiveConfig=s_viewSensitive, const ViewConfig &gridConfig=s_viewGrid, const std::filesystem::path &outputDir=std::filesystem::path("."))
 Helper method to draw Layer objects.
static void drawPolyhedron (IVisualization3D &helper, const Polyhedron &polyhedron, const ViewConfig &viewConfig=s_viewVolume)
 Helper method to draw Polyhedron objects.
static void drawSegment (IVisualization3D &helper, const Vector3 &start, const Vector3 &end, const ViewConfig &viewConfig=s_viewLine)
 Convenience function : line.
static void drawSegmentBase (IVisualization3D &helper, const Vector3 &start, const Vector3 &end, int arrows=0, double arrowLength=0., double arrowWidth=0., const ViewConfig &viewConfig=s_viewLine)
 Helper method to draw lines - base for all lines.
static void drawSurface (IVisualization3D &helper, const Surface &surface, const GeometryContext &gctx, const Transform3 &transform=Transform3::Identity(), const ViewConfig &viewConfig=s_viewSensitive)
 Helper method to draw Surface objects.
static void drawSurfaceArray (IVisualization3D &helper, const SurfaceArray &surfaceArray, const GeometryContext &gctx, const Transform3 &transform=Transform3::Identity(), const ViewConfig &sensitiveConfig=s_viewSensitive, const ViewConfig &passiveConfig=s_viewPassive, const ViewConfig &gridConfig=s_viewGrid, const std::filesystem::path &outputDir=std::filesystem::path("."))
 Helper method to draw SurfaceArray objects.
static void drawTrackingVolume (IVisualization3D &helper, const TrackingVolume &tVolume, const GeometryContext &gctx, const ViewConfig &containerView=s_viewVolume, const ViewConfig &volumeView=s_viewVolume, const ViewConfig &layerView=s_viewPassive, const ViewConfig &sensitiveView=s_viewSensitive, const ViewConfig &gridView=s_viewGrid, bool writeIt=true, const std::string &tag="", const std::filesystem::path &outputDir=std::filesystem::path("."))
 Helper method to draw TrackingVolume objects.
static void drawVolume (IVisualization3D &helper, const Volume &volume, const GeometryContext &gctx, const Transform3 &transform=Transform3::Identity(), const ViewConfig &viewConfig=s_viewVolume)
 Helper method to draw Volume objects.

Member Function Documentation

◆ drawArrowBackward()

void Acts::GeometryView3D::drawArrowBackward ( IVisualization3D & helper,
const Vector3 & start,
const Vector3 & end,
double arrowLength,
double arrowWidth,
const ViewConfig & viewConfig = s_viewLine )
static

Convenience function : arrow pointing back.

Parameters
[in,out]helperThe visualization helper
startThe start point
endThe end point
arrowLengthwrt thickness
arrowWidthwrt thickness
viewConfigThe drawing configuration for this segment

◆ drawArrowForward()

void Acts::GeometryView3D::drawArrowForward ( IVisualization3D & helper,
const Vector3 & start,
const Vector3 & end,
double arrowLength,
double arrowWidth,
const ViewConfig & viewConfig = s_viewLine )
static

Convenience function : arrow pointing forward.

Parameters
[in,out]helperThe visualization helper
startThe start point
endThe end point
arrowLengthwrt thickness
arrowWidthwrt thickness
viewConfigThe drawing configuration for this segment

◆ drawArrowsBoth()

void Acts::GeometryView3D::drawArrowsBoth ( IVisualization3D & helper,
const Vector3 & start,
const Vector3 & end,
double arrowLength,
double arrowWidth,
const ViewConfig & viewConfig = s_viewLine )
static

Convenience function : arrow pointing both directions.

Parameters
[in,out]helperThe visualization helper
startThe start point
endThe end point
arrowLengthwrt thickness
arrowWidthwrt thickness
viewConfigThe drawing configuration for this segment

◆ drawLayer()

void Acts::GeometryView3D::drawLayer ( IVisualization3D & helper,
const Layer & layer,
const GeometryContext & gctx,
const ViewConfig & layerConfig = s_viewPassive,
const ViewConfig & sensitiveConfig = s_viewSensitive,
const ViewConfig & gridConfig = s_viewGrid,
const std::filesystem::path & outputDir = std::filesystem::path(".") )
static

Helper method to draw Layer objects.

Parameters
[in,out]helperThe visualization helper
layerThe tracking layer to be drawn
gctxThe geometry context for which it is drawn
layerConfigThe drawing configuration for passive surfaces
sensitiveConfigThe drawing configuration for sensitive surfaces
gridConfigThe drawing configuration for grid display
outputDirDirectory to write to

◆ drawPolyhedron()

void Acts::GeometryView3D::drawPolyhedron ( IVisualization3D & helper,
const Polyhedron & polyhedron,
const ViewConfig & viewConfig = s_viewVolume )
static

Helper method to draw Polyhedron objects.

Parameters
[in,out]helperThe visualization helper
polyhedronThe surface to be drawn
viewConfigThe drawing configuration

◆ drawSegment()

void Acts::GeometryView3D::drawSegment ( IVisualization3D & helper,
const Vector3 & start,
const Vector3 & end,
const ViewConfig & viewConfig = s_viewLine )
static

Convenience function : line.

Parameters
[in,out]helperThe visualization helper
startThe start point
endThe end point
viewConfigThe drawing configuration for this segment

◆ drawSegmentBase()

void Acts::GeometryView3D::drawSegmentBase ( IVisualization3D & helper,
const Vector3 & start,
const Vector3 & end,
int arrows = 0,
double arrowLength = 0.,
double arrowWidth = 0.,
const ViewConfig & viewConfig = s_viewLine )
static

Helper method to draw lines - base for all lines.

Parameters
[in,out]helperThe visualization helper
startThe start point
endThe end point
arrows[ -1 | 0 | 1 | 2 ] = [ start | none | end | both ]
arrowLengthwrt halflength
arrowWidthwrt thickness
viewConfigThe drawing configuration for this segment

◆ drawSurface()

void Acts::GeometryView3D::drawSurface ( IVisualization3D & helper,
const Surface & surface,
const GeometryContext & gctx,
const Transform3 & transform = Transform3::Identity(),
const ViewConfig & viewConfig = s_viewSensitive )
static

Helper method to draw Surface objects.

Parameters
[in,out]helperThe visualization helper
surfaceThe surface to be drawn
gctxThe geometry context for which it is drawn
transformAn option additional transform
viewConfigThe drawing configuration

◆ drawSurfaceArray()

void Acts::GeometryView3D::drawSurfaceArray ( IVisualization3D & helper,
const SurfaceArray & surfaceArray,
const GeometryContext & gctx,
const Transform3 & transform = Transform3::Identity(),
const ViewConfig & sensitiveConfig = s_viewSensitive,
const ViewConfig & passiveConfig = s_viewPassive,
const ViewConfig & gridConfig = s_viewGrid,
const std::filesystem::path & outputDir = std::filesystem::path(".") )
static

Helper method to draw SurfaceArray objects.

Parameters
[in,out]helperThe visualization helper
surfaceArrayThe surface to be drawn
gctxThe geometry context for which it is drawn
transformAn option additional transform
sensitiveConfigThe drawing configuration for sensitive surfaces
passiveConfigThe drawing configuration for passive surfaces
gridConfigThe drawing configuration for grid
outputDirDirectory to write to

◆ drawTrackingVolume()

void Acts::GeometryView3D::drawTrackingVolume ( IVisualization3D & helper,
const TrackingVolume & tVolume,
const GeometryContext & gctx,
const ViewConfig & containerView = s_viewVolume,
const ViewConfig & volumeView = s_viewVolume,
const ViewConfig & layerView = s_viewPassive,
const ViewConfig & sensitiveView = s_viewSensitive,
const ViewConfig & gridView = s_viewGrid,
bool writeIt = true,
const std::string & tag = "",
const std::filesystem::path & outputDir = std::filesystem::path(".") )
static

Helper method to draw TrackingVolume objects.

Parameters
[in,out]helperThe visualization helper
tVolumeThe tracking volume to be drawn
gctxThe geometry context for which it is drawn
containerViewThe drawing configuration for a container volume
volumeViewThe drawing configuration for the navigation level volume
layerViewThe drawing configuration for passive surfaces
sensitiveViewThe drawing configuration for sensitive surfaces
gridViewThe drawing configuration for grid display
writeItThe prescription to write it or not
tagThe (optional) additional output tag
outputDirDirectory to write to

◆ drawVolume()

void Acts::GeometryView3D::drawVolume ( IVisualization3D & helper,
const Volume & volume,
const GeometryContext & gctx,
const Transform3 & transform = Transform3::Identity(),
const ViewConfig & viewConfig = s_viewVolume )
static

Helper method to draw Volume objects.

Parameters
[in,out]helperThe visualization helper
volumeThe volume to be drawn
gctxThe geometry context for which it is drawn
transformAn option additional transform
viewConfigThe drawing configuration for boundary surfaces