Struct GeometryView3D¶
Defined in File GeometryView3D.hpp
Struct Documentation¶
-
struct
Acts::GeometryView3D¶ Public Static Functions
-
void
drawArrowBackward(IVisualization3D &helper, const Vector3 &start, const Vector3 &end, double arrowLength, double arrowWidth, const ViewConfig &viewConfig = s_viewLine)¶ Convenience function : arrow pointing back.
- Parameters
helper: [in, out] The visualization helperstart: The start pointend: The end pointarrowLength: wrt thicknessarrowWidth: wrt thicknessViewConfig: The drawing configuration for this segement
-
void
drawArrowForward(IVisualization3D &helper, const Vector3 &start, const Vector3 &end, double arrowLength, double arrowWidth, const ViewConfig &viewConfig = s_viewLine)¶ Convenience function : arrow pointing forwad.
- Parameters
helper: [in, out] The visualization helperstart: The start pointend: The end pointarrowLength: wrt thicknessarrowWidth: wrt thicknessViewConfig: The drawing configuration for this segement
-
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.
- Parameters
helper: [in, out] The visualization helperstart: The start pointend: The end pointarrowLength: wrt thicknessarrowWidth: wrt thicknessViewConfig: The drawing configuration for this segement
-
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)¶ Helper method to draw AbstractVolume objects.
- Parameters
helper: [in, out] The visualization helpervolume: The tracking volume to be drawngctx: The geometry context for which it is drawnlayerConfig: The drawing configuration for passive surfacessensitiveConfig: The drawing configuration for sensitive surfacesgridConfig: The drawing configuraiton for grid display
-
void
drawPolyhedron(IVisualization3D &helper, const Polyhedron &polyhedron, const ViewConfig &ViewConfig = s_viewVolume)¶ Helper method to draw Polyhedron objects.
- Parameters
helper: [in, out] The visualization helperPolyhedron: The surface to be drawnViewConfig: The drawing configuration
-
void
drawSegment(IVisualization3D &helper, const Vector3 &start, const Vector3 &end, const ViewConfig &viewConfig = s_viewLine)¶ Convenience function : line.
- Parameters
helper: [in, out] The visualization helperstart: The start pointend: The end pointViewConfig: The drawing configuration for this segement
-
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.
- Parameters
helper: [in, out] The visualization helperstart: The start pointend: The end pointarrows: [ -1 | 0 | 1 | 2 ] = [ start | none | end | both ]arrowLength: wrt halflengtharrowWidth: wrt thicknessViewConfig: The drawing configuration for this segement
-
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.
- Parameters
helper: [in, out] The visualization helpersurface: The surface to be drawngctx: The geometry context for which it is drawntransform: An option additional transformViewConfig: The drawing configuration
-
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)¶ Helper method to draw SurfaceArray objects.
- Parameters
helper: [in, out] The visualization helpersurfaceArray: The surface to be drawngctx: The geometry context for which it is drawntransform: An option additional transformsensitiveConfig: The drawing configuration for sensitive surfacespassiveConfig: The drawing configuration for passive surfacesgridCongig: The drawing configuraiton for grid
-
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 = "")¶ Helper method to draw AbstractVolume objects.
- Parameters
helper: [in, out] The visualization helpervolume: The tracking volume to be drawngctx: The geometry context for which it is drawncontainerView: The drawing configuration for a container volumevolumeView: The drawing configuration for the navigation level volumelayerView: The drawing configuration for passive surfacessensitiveView: The drawing configuration for sensitive surfacesgridView: The drawing configuraiton for grid displaywriteIt: The prescription to write it or nottag: The (optional) additional output tag
-
void
drawVolume(IVisualization3D &helper, const AbstractVolume &volume, const GeometryContext &gctx, const Transform3 &transform = Transform3::Identity(), const ViewConfig &viewConfig = s_viewVolume)¶ Helper method to draw AbstractVolume objects.
- Parameters
helper: [in, out] The visualization helpervolume: The volume to be drawngctx: The geometry context for which it is drawntransform: An option additional transformviewConfig: The drawing configuration for boundary surfaces
-
void