ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
information_section.hpp
1
// This file is part of the ACTS project.
2
//
3
// Copyright (C) 2016 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 https://mozilla.org/MPL/2.0/.
8
9
#pragma once
10
11
// Project include(s)
12
#include "detray/algebra/concepts.hpp"
13
14
// Actsvg include(s)
15
#include "actsvg/core.hpp"
16
17
// System include(s)
18
#include <array>
19
#include <string>
20
#include <vector>
21
22
namespace
detray::svgtools::meta::proto {
23
26
template
<concepts::po
int
3D po
int
3_t>
27
struct
information_section
{
29
std::vector<std::string>
_info
{};
31
std::string
_title
{};
33
std::array<int, 3>
_color
{};
35
point3_t
_position
{};
36
};
37
38
}
// namespace detray::svgtools::meta::proto
detray::svgtools::meta::proto::information_section
A proto intersection record class as a simple translation layer from a intersection record descriptio...
Definition
information_section.hpp:27
detray::svgtools::meta::proto::information_section::_color
std::array< int, 3 > _color
RGB color for the section text.
Definition
information_section.hpp:33
detray::svgtools::meta::proto::information_section::_position
point3_t _position
Anchor position of the section in the view.
Definition
information_section.hpp:35
detray::svgtools::meta::proto::information_section::_title
std::string _title
Heading displayed above the information lines.
Definition
information_section.hpp:31
detray::svgtools::meta::proto::information_section::_info
std::vector< std::string > _info
Text lines displayed in the information section.
Definition
information_section.hpp:29
Detray
plugins
svgtools
include
detray
plugins
svgtools
meta
proto
information_section.hpp
Generated by
1.15.0