23 namespace ActsExamples {
29 auto x(
const T& o)
const {
34 auto y(
const T& o)
const {
39 auto z(
const T& o)
const {
48 auto x(
const T& o)
const {
49 return o.position().x();
53 auto y(
const T& o)
const {
54 return o.position().y();
58 auto z(
const T& o)
const {
59 return o.position().z();
76 template <
typename T,
typename Acc = AccessorXYZ>
94 std::numeric_limits<Acts::ActsScalar>::lowest(),
95 std::numeric_limits<Acts::ActsScalar>::max()};
123 template <
typename T,
typename Acc>
131 throw std::invalid_argument(
"Missing input collection");
135 template <
typename T,
typename Acc>
140 std::lock_guard<std::mutex> lock(m_writeMutex);
159 for (
const auto&
data : pointCollection) {
163 if (
m_cfg.projectionXY and point3D.z() >=
m_cfg.zRangeXY[0] and
164 point3D.z() <=
m_cfg.zRangeXY[1]) {
167 xyView.add_object(
p);
169 if (not
m_cfg.infoBoxTitle.empty()) {
171 static_cast<actsvg::scalar>(point3D.x() + 10.),
172 static_cast<actsvg::scalar
>(point3D.y() - 10.),
m_cfg.infoBoxTitle,
174 xyView.add_object(xyIbox);
178 if (
m_cfg.projectionZR) {
182 zrView.add_object(
p);