EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::ViewConfig Struct Reference

Struct to concentrate all visulation configuration in order to harmonize visualization interfaces. More...

#include <acts/blob/sPHENIX/Core/include/Acts/Visualization/ViewConfig.hpp>

+ Collaboration diagram for Acts::ViewConfig:

Public Member Functions

 ViewConfig (bool vis=true)
 Constructor to switch visibility off.
 
 ViewConfig (const ColorRGB &rgb)
 Constructor for color settings only.
 

Public Attributes

bool visible = true
 Visible flag.
 
ColorRGB color = {250, 0, 0}
 The RGB color for this object.
 
double offset = 0.1
 Out of plane drawing parameter for objects.
 
double lineThickness = 0.15
 The visual line thickness for this object.
 
double surfaceThickness = 0.15
 The visual surface thickness for this object.
 
unsigned int nSegments = 72
 The number of segments to approximate full 2pi.
 
bool triangulate = false
 Whether to triangulate or not.
 
std::string outputName = ""
 Write name - non-empty string indicates writing.
 

Detailed Description

Struct to concentrate all visulation configuration in order to harmonize visualization interfaces.

Definition at line 22 of file ViewConfig.hpp.

View newest version in sPHENIX GitHub at line 22 of file ViewConfig.hpp

Constructor & Destructor Documentation

Acts::ViewConfig::ViewConfig ( bool  vis = true)
inline

Constructor to switch visibility off.

Definition at line 24 of file ViewConfig.hpp.

View newest version in sPHENIX GitHub at line 24 of file ViewConfig.hpp

Acts::ViewConfig::ViewConfig ( const ColorRGB rgb)
inline

Constructor for color settings only.

Definition at line 27 of file ViewConfig.hpp.

View newest version in sPHENIX GitHub at line 27 of file ViewConfig.hpp

Member Data Documentation

ColorRGB Acts::ViewConfig::color = {250, 0, 0}

The RGB color for this object.

Definition at line 32 of file ViewConfig.hpp.

View newest version in sPHENIX GitHub at line 32 of file ViewConfig.hpp

Referenced by Acts::GeometryView3D::drawPolyhedron(), and Acts::GeometryView3D::drawSegmentBase().

double Acts::ViewConfig::lineThickness = 0.15
unsigned int Acts::ViewConfig::nSegments = 72
double Acts::ViewConfig::offset = 0.1
std::string Acts::ViewConfig::outputName = ""

Write name - non-empty string indicates writing.

Definition at line 44 of file ViewConfig.hpp.

View newest version in sPHENIX GitHub at line 44 of file ViewConfig.hpp

Referenced by Acts::GeometryView3D::drawLayer(), Acts::GeometryView3D::drawSurfaceArray(), and Acts::GeometryView3D::drawTrackingVolume().

double Acts::ViewConfig::surfaceThickness = 0.15

The visual surface thickness for this object.

Definition at line 38 of file ViewConfig.hpp.

View newest version in sPHENIX GitHub at line 38 of file ViewConfig.hpp

bool Acts::ViewConfig::triangulate = false

Whether to triangulate or not.

Definition at line 42 of file ViewConfig.hpp.

View newest version in sPHENIX GitHub at line 42 of file ViewConfig.hpp

Referenced by Acts::GeometryView3D::drawPolyhedron(), Acts::VolumeView3DTest::run(), Acts::TrackingGeometryView3DTest::run(), and Acts::SurfaceView3DTest::run().

bool Acts::ViewConfig::visible = true

Visible flag.

Definition at line 30 of file ViewConfig.hpp.

View newest version in sPHENIX GitHub at line 30 of file ViewConfig.hpp

Referenced by Acts::GeometryView3D::drawLayer(), and Acts::GeometryView3D::drawPolyhedron().


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