ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::PrimitivesVisualization Namespace Reference

Functions

static std::string test (IVisualization &helper)
 

Variables

auto identity = std::make_shared<Transform3D>(Transform3D::Identity())
 
auto rectangle = std::make_shared<RectangleBounds>(10., 10.)
 
auto plane = Surface::makeShared<PlaneSurface>(identity, rectangle)
 
GeometryContext gctx = GeometryContext()
 

Function Documentation

static std::string Acts::PrimitivesVisualization::test ( IVisualization &  helper)
inlinestatic

Helper method to visualiza all types of surfaces

Parameters
helperThe visualziation helper
Returns
an overall string including all written output

Definition at line 41 of file PrimitivesVisualizationBase.hpp.

View newest version in sPHENIX GitHub at line 41 of file PrimitivesVisualizationBase.hpp

References Acts::IVisualization::clear(), Acts::Visualization::drawArrowBackward(), Acts::Visualization::drawArrowForward(), Acts::Visualization::drawArrowsBoth(), Acts::Visualization::drawCovarianceAngular(), Acts::Visualization::drawCovarianceCartesian(), Acts::Visualization::drawSegment(), Acts::Visualization::drawSurface(), gctx, Acts::Test::origin(), plane, G4InuclParticleNames::s0, s1, start(), and Acts::IVisualization::write().

Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

GeometryContext Acts::PrimitivesVisualization::gctx = GeometryContext()

Definition at line 34 of file PrimitivesVisualizationBase.hpp.

View newest version in sPHENIX GitHub at line 34 of file PrimitivesVisualizationBase.hpp

Referenced by test().

auto Acts::PrimitivesVisualization::identity = std::make_shared<Transform3D>(Transform3D::Identity())
auto Acts::PrimitivesVisualization::rectangle = std::make_shared<RectangleBounds>(10., 10.)