Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::ViewConfig Struct Reference

Struct to concentrate all visualization configurations 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 visualization configurations in order to harmonize visualization interfaces.

Definition at line 23 of file ViewConfig.hpp.

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

Constructor & Destructor Documentation

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

Constructor to switch visibility off.

Definition at line 25 of file ViewConfig.hpp.

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

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

Constructor for color settings only.

Definition at line 28 of file ViewConfig.hpp.

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

Member Data Documentation

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

The RGB color for this object.

Definition at line 33 of file ViewConfig.hpp.

View newest version in sPHENIX GitHub at line 33 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
std::string Acts::ViewConfig::outputName = ""

Write name - non-empty string indicates writing.

Definition at line 45 of file ViewConfig.hpp.

View newest version in sPHENIX GitHub at line 45 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 39 of file ViewConfig.hpp.

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

bool Acts::ViewConfig::triangulate = false

Whether to triangulate or not.

Definition at line 43 of file ViewConfig.hpp.

View newest version in sPHENIX GitHub at line 43 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 31 of file ViewConfig.hpp.

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

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


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