EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/sPHENIX/Core/include/Acts/Visualization/GeometryView3D.hpp>
Static Public Member Functions | |
static void | drawPolyhedron (IVisualization3D &helper, const Polyhedron &polyhedron, const ViewConfig &ViewConfig=s_viewVolume) |
static void | drawSurface (IVisualization3D &helper, const Surface &surface, const GeometryContext &gctx, const Transform3D &transform=Transform3D::Identity(), const ViewConfig &ViewConfig=s_viewSensitive) |
static void | drawSurfaceArray (IVisualization3D &helper, const SurfaceArray &surfaceArray, const GeometryContext &gctx, const Transform3D &transform=Transform3D::Identity(), const ViewConfig &sensitiveConfig=s_viewSensitive, const ViewConfig &passiveConfig=s_viewPassive, const ViewConfig &gridConfig=s_viewGrid) |
static void | drawVolume (IVisualization3D &helper, const AbstractVolume &volume, const GeometryContext &gctx, const Transform3D &transform=Transform3D::Identity(), const ViewConfig &viewConfig=s_viewVolume) |
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) |
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="") |
static void | drawSegmentBase (IVisualization3D &helper, const Vector3D &start, const Vector3D &end, int arrows=0, double arrowLength=0., double arrowWidth=0., const ViewConfig &viewConfig=s_viewLine) |
static void | drawSegment (IVisualization3D &helper, const Vector3D &start, const Vector3D &end, const ViewConfig &viewConfig=s_viewLine) |
static void | drawArrowBackward (IVisualization3D &helper, const Vector3D &start, const Vector3D &end, double arrowLength, double arrowWidth, const ViewConfig &viewConfig=s_viewLine) |
static void | drawArrowForward (IVisualization3D &helper, const Vector3D &start, const Vector3D &end, double arrowLength, double arrowWidth, const ViewConfig &viewConfig=s_viewLine) |
static void | drawArrowsBoth (IVisualization3D &helper, const Vector3D &start, const Vector3D &end, double arrowLength, double arrowWidth, const ViewConfig &viewConfig=s_viewLine) |
Definition at line 31 of file GeometryView3D.hpp.
View newest version in sPHENIX GitHub at line 31 of file GeometryView3D.hpp
|
static |
Convenience function : arrow pointing back
helper | [in, out] The visualization helper |
start | The start point |
end | The end point |
arrowLength | wrt thickness |
arrowWidth | wrt thickness |
ViewConfig | The drawing configuration for this segement |
Definition at line 346 of file GeometryView3D.cpp.
View newest version in sPHENIX GitHub at line 346 of file GeometryView3D.cpp
Referenced by Acts::EventDataView3D::drawBoundTrackParameters(), and Acts::PrimitivesView3DTest::run().
|
static |
Convenience function : arrow pointing forwad
helper | [in, out] The visualization helper |
start | The start point |
end | The end point |
arrowLength | wrt thickness |
arrowWidth | wrt thickness |
ViewConfig | The drawing configuration for this segement |
Definition at line 352 of file GeometryView3D.cpp.
View newest version in sPHENIX GitHub at line 352 of file GeometryView3D.cpp
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), Acts::EventDataView3D::drawBoundTrackParameters(), and Acts::PrimitivesView3DTest::run().
|
static |
Convenience function : arrow pointing both directions
helper | [in, out] The visualization helper |
start | The start point |
end | The end point |
arrowLength | wrt thickness |
arrowWidth | wrt thickness |
ViewConfig | The drawing configuration for this segement |
Definition at line 358 of file GeometryView3D.cpp.
View newest version in sPHENIX GitHub at line 358 of file GeometryView3D.cpp
Referenced by Acts::PrimitivesView3DTest::run().
|
static |
Helper method to draw AbstractVolume objects
helper | [in, out] The visualization helper |
volume | The tracking volume to be drawn |
gctx | The geometry context for which it is drawn |
layerConfig | The drawing configuration for passive surfaces |
sensitiveConfig | The drawing configuration for sensitive surfaces |
gridConfig | The drawing configuraiton for grid display |
Definition at line 149 of file GeometryView3D.cpp.
View newest version in sPHENIX GitHub at line 149 of file GeometryView3D.cpp
References Acts::IVisualization3D::clear(), Acts::ViewConfig::outputName, Acts::Layer::representingVolume(), Acts::Layer::surfaceArray(), Acts::Layer::surfaceRepresentation(), Acts::ViewConfig::visible, and Acts::IVisualization3D::write().
|
static |
Helper method to draw Polyhedron objects
helper | [in, out] The visualization helper |
Polyhedron | The surface to be drawn |
ViewConfig | The drawing configuration |
Definition at line 25 of file GeometryView3D.cpp.
View newest version in sPHENIX GitHub at line 25 of file GeometryView3D.cpp
References Acts::ViewConfig::color, Acts::IVisualization3D::faces(), Acts::Polyhedron::faces, Acts::Polyhedron::triangularMesh, Acts::ViewConfig::triangulate, Acts::Polyhedron::vertices, and Acts::ViewConfig::visible.
Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), and Acts::EventDataView3D::drawCovarianceCartesian().
|
static |
Convenience function : line
helper | [in, out] The visualization helper |
start | The start point |
end | The end point |
ViewConfig | The drawing configuration for this segement |
Definition at line 339 of file GeometryView3D.cpp.
View newest version in sPHENIX GitHub at line 339 of file GeometryView3D.cpp
Referenced by Acts::PrimitivesView3DTest::run().
|
static |
Helper method to draw lines - base for all lines
helper | [in, out] The visualization helper |
start | The start point |
end | The end point |
arrows | [ -1 | 0 | 1 | 2 ] = [ start | none | end | both ] |
arrowLength | wrt halflength |
arrowWidth | wrt thickness |
ViewConfig | The drawing configuration for this segement |
Definition at line 247 of file GeometryView3D.cpp.
View newest version in sPHENIX GitHub at line 247 of file GeometryView3D.cpp
References starlightConstants::alpha, Acts::ViewConfig::color, Acts::IVisualization3D::line(), Acts::ViewConfig::lineThickness, Acts::makeCurvilinearUnitVectors(), and thickness.
|
static |
Helper method to draw Surface objects
helper | [in, out] The visualization helper |
surface | The surface to be drawn |
gctx | The geometry context for which it is drawn |
transform | An option additional transform |
ViewConfig | The drawing configuration |
Definition at line 38 of file GeometryView3D.cpp.
View newest version in sPHENIX GitHub at line 38 of file GeometryView3D.cpp
References Acts::Polyhedron::move(), Acts::ViewConfig::nSegments, and Acts::Surface::polyhedronRepresentation().
Referenced by Acts::Test::Layers::BOOST_AUTO_TEST_CASE(), Acts::Test::BOOST_AUTO_TEST_CASE(), Acts::EventDataView3D::drawBoundTrackParameters(), Acts::EventDataView3D::drawMultiTrajectory(), Acts::PrimitivesView3DTest::run(), and Acts::SurfaceView3DTest::run().
|
static |
Helper method to draw SurfaceArray objects
helper | [in, out] The visualization helper |
surfaceArray | The surface to be drawn |
gctx | The geometry context for which it is drawn |
transform | An option additional transform |
sensitiveConfig | The drawing configuration for sensitive surfaces |
passiveConfig | The drawing configuration for passive surfaces |
gridCongig | The drawing configuraiton for grid |
Definition at line 51 of file GeometryView3D.cpp.
View newest version in sPHENIX GitHub at line 51 of file GeometryView3D.cpp
References Acts::SurfaceArray::binningValues(), Acts::binPhi, Acts::binR, Acts::binZ, Acts::IVisualization3D::clear(), cos(), Acts::Extent::extend(), Acts::SurfaceArray::getAxes(), Acts::ViewConfig::lineThickness, Acts::Extent::medium(), Acts::ViewConfig::nSegments, Acts::ViewConfig::offset, Acts::CylinderVolumeBounds::orientedSurfaces(), Acts::ViewConfig::outputName, phi, Acts::Test::phiValues, Acts::IntegrationTest::R, Acts::SurfaceArray::surfaces(), thickness, Acts::IVisualization3D::write(), and z.
Referenced by Acts::Test::BOOST_FIXTURE_TEST_CASE().
|
static |
Helper method to draw AbstractVolume objects
helper | [in, out] The visualization helper |
volume | The tracking volume to be drawn |
gctx | The geometry context for which it is drawn |
containerView | The drawing configuration for a container volume |
volumeView | The drawing configuration for the navigation level volume |
layerView | The drawing configuration for passive surfaces |
sensitiveView | The drawing configuration for sensitive surfaces |
gridView | The drawing configuraiton for grid display |
writeIt | The prescription to write it or not |
tag | The (optional) additional output tag |
Definition at line 180 of file GeometryView3D.cpp.
View newest version in sPHENIX GitHub at line 180 of file GeometryView3D.cpp
References Acts::BinnedArray< T >::arrayObjects(), Acts::TrackingVolume::boundarySurfaces(), Acts::IVisualization3D::clear(), Acts::TrackingVolume::confinedLayers(), Acts::TrackingVolume::confinedVolumes(), Acts::Test::gctx, Acts::ViewConfig::nSegments, Acts::ViewConfig::outputName, release::tag(), nlohmann::to_string(), Acts::TrackingVolume::volumeName(), and Acts::IVisualization3D::write().
Referenced by Acts::TrackingGeometryView3DTest::run(), and ActsExamples::ObjTrackingGeometryWriter::write().
|
static |
Helper method to draw AbstractVolume objects
helper | [in, out] The visualization helper |
volume | The volume to be drawn |
gctx | The geometry context for which it is drawn |
transform | An option additional transform |
viewConfig | The drawing configuration for boundary surfaces |
Definition at line 137 of file GeometryView3D.cpp.
View newest version in sPHENIX GitHub at line 137 of file GeometryView3D.cpp
References Acts::AbstractVolume::boundarySurfaces(), Acts::Test::gctx, and Acts::Test::transform.
Referenced by Acts::VolumeView3DTest::run().