ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
landmark.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 <string>
19
20
namespace
detray::svgtools::meta::proto {
21
24
template
<concepts::po
int
3D po
int
3_t>
25
struct
landmark
{
27
point3_t
_position
{0.f, 0.f, 0.f};
29
std::string
_name
{
"unknown landmark"
};
31
actsvg::style::marker
_marker
{
"x"
, 1.f};
32
};
33
34
}
// namespace detray::svgtools::meta::proto
detray::svgtools::meta::proto::landmark
A proto landmark class as a simple translation layer from a description of a point.
Definition
landmark.hpp:25
detray::svgtools::meta::proto::landmark::_marker
actsvg::style::marker _marker
SVG marker style used to draw the point.
Definition
landmark.hpp:31
detray::svgtools::meta::proto::landmark::_position
point3_t _position
Global position represented by the landmark.
Definition
landmark.hpp:27
detray::svgtools::meta::proto::landmark::_name
std::string _name
Label displayed with the landmark.
Definition
landmark.hpp:29
Detray
plugins
svgtools
include
detray
plugins
svgtools
meta
proto
landmark.hpp
Generated by
1.15.0