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

#include <acts/blob/master/Tests/CommonHelpers/Acts/Tests/CommonHelpers/ObjTestWriter.hpp>

Static Public Member Functions

static void writeSectorLinesObj (const std::string &name, const std::pair< Vector3D, Vector3D > &lineA, const std::pair< Vector3D, Vector3D > &lineB)
 
static void writeSectorPlanesObj (const std::string &name, double phiSec, double phiAvg, double hX, double hY)
 
static void writeObj (const std::vector< IdentifiedPolyderon > &iphs)
 
static void writeObj (const std::string &name, const Volume::BoundingBox &bBox)
 

Detailed Description

Definition at line 26 of file ObjTestWriter.hpp.

View newest version in sPHENIX GitHub at line 26 of file ObjTestWriter.hpp

Member Function Documentation

static void Acts::Test::ObjTestWriter::writeObj ( const std::vector< IdentifiedPolyderon > &  iphs)
inlinestatic

Helper method to be called from sub tests It will draw the polyhedron and create a file, the boolean steers whether the obj should be triangulated

Parameters
iphsThe Identified Polyhedrons (= with name and boolean)

Definition at line 90 of file ObjTestWriter.hpp.

View newest version in sPHENIX GitHub at line 90 of file ObjTestWriter.hpp

References Acts::ObjVisualization< T >::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:

static void Acts::Test::ObjTestWriter::writeObj ( const std::string &  name,
const Volume::BoundingBox bBox 
)
inlinestatic

Helper method to be called from sub tests to write bounding boxes It will draw the polyhedron and create a file, the boolean steers whether the obj should be triangulated

Parameters
iphsThe Identified Polyhedrons (= with name and boolean)

Definition at line 105 of file ObjTestWriter.hpp.

View newest version in sPHENIX GitHub at line 105 of file ObjTestWriter.hpp

References Acts::AxisAlignedBoundingBox< entity_t, value_t, DIM >::draw(), and Acts::ObjVisualization< T >::write().

+ Here is the call graph for this function:

static void Acts::Test::ObjTestWriter::writeSectorLinesObj ( const std::string &  name,
const std::pair< Vector3D, Vector3D > &  lineA,
const std::pair< Vector3D, Vector3D > &  lineB 
)
inlinestatic

Helper method to write sector lines for 2D views

Parameters
nameThe output file name
linaAThe first line
lineBThe second line

Definition at line 31 of file ObjTestWriter.hpp.

View newest version in sPHENIX GitHub at line 31 of file ObjTestWriter.hpp

References Acts::ObjVisualization< T >::line(), and Acts::ObjVisualization< T >::write().

+ Here is the call graph for this function:

static void Acts::Test::ObjTestWriter::writeSectorPlanesObj ( const std::string &  name,
double  phiSec,
double  phiAvg,
double  hX,
double  hY 
)
inlinestatic

Helper method to write sector planes for two dimensional sectors (symmetric)

Parameters
nameThe output file name
phiSecThe opening angle
phiAvgThe average phi (= center phi position)
hXThe half length in X of the sector plane
hYthe half length in Y of the sector plane

Definition at line 50 of file ObjTestWriter.hpp.

View newest version in sPHENIX GitHub at line 50 of file ObjTestWriter.hpp

References Acts::ObjVisualization< T >::write().

+ Here is the call graph for this function:


The documentation for this struct was generated from the following file: