Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
ViewConfig.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file ViewConfig.hpp
1
// This file is part of the Acts project.
2
//
3
// Copyright (C) 2020 CERN for the benefit of the Acts project
4
//
5
// This Source Code Form is subject to the terms of the Mozilla Public
6
// License, v. 2.0. If a copy of the MPL was not distributed with this
7
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
9
#pragma once
10
11
#include <array>
12
#include <string>
13
14
namespace
Acts {
15
19
using
ColorRGB
= std::array<int, 3>;
20
23
struct
ViewConfig
{
25
ViewConfig
(
bool
vis =
true
) :
visible
(vis) {}
26
28
ViewConfig
(
const
ColorRGB
& rgb) :
color
(rgb) {}
29
31
bool
visible
=
true
;
33
ColorRGB
color
= {250, 0, 0};
35
double
offset
= 0.1;
37
double
lineThickness
= 0.15;
39
double
surfaceThickness
= 0.15;
41
unsigned
int
nSegments
= 72;
43
bool
triangulate
=
false
;
45
std::string
outputName
=
""
;
46
};
47
48
}
// namespace Acts
acts
blob
sPHENIX
Core
include
Acts
Visualization
ViewConfig.hpp
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:35
using
1.8.2 with
sPHENIX GitHub integration