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
22namespace detray::svgtools::meta::proto {
23
26template <concepts::point3D point3_t>
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
A proto intersection record class as a simple translation layer from a intersection record descriptio...
Definition information_section.hpp:27
std::array< int, 3 > _color
RGB color for the section text.
Definition information_section.hpp:33
point3_t _position
Anchor position of the section in the view.
Definition information_section.hpp:35
std::string _title
Heading displayed above the information lines.
Definition information_section.hpp:31
std::vector< std::string > _info
Text lines displayed in the information section.
Definition information_section.hpp:29