ReUseX
0.0.5
3D Point Cloud Processing for Building Reuse
Toggle main menu visibility
Loading...
Searching...
No Matches
eigen_types.hpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2025 Povl Filip Sonne-Frederiksen
2
//
3
// SPDX-License-Identifier: GPL-3.0-or-later
4
5
#pragma once
6
7
// Eigen-only type aliases. Include this instead of <reusex/types.hpp> when a
8
// translation unit needs only the linear-algebra helpers (no PCL point-cloud
9
// containers). Keeping the Eigen and PCL aliases separate avoids force-pulling
10
// the (heavy) PCL headers into TUs that never touch a point cloud.
11
12
#include <Eigen/Core>
13
14
#include <utility>
15
#include <vector>
16
17
namespace
reusex
{
18
19
template
<
typename
Scalar,
int
Rows>
20
using
EigenVectorContainer
=
21
std::vector<Eigen::Matrix<Scalar, Rows, 1>,
22
Eigen::aligned_allocator<Eigen::Matrix<Scalar, Rows, 1>>>;
23
24
using
Pair
= std::pair<Eigen::Vector4d, Eigen::Vector3d>;
25
using
PlanePair
= std::pair<Pair, Pair>;
26
27
}
// namespace reusex
reusex
Definition
component_record.hpp:12
reusex::PlanePair
std::pair< Pair, Pair > PlanePair
Definition
eigen_types.hpp:25
reusex::Pair
std::pair< Eigen::Vector4d, Eigen::Vector3d > Pair
Definition
eigen_types.hpp:24
reusex::EigenVectorContainer
std::vector< Eigen::Matrix< Scalar, Rows, 1 >, Eigen::aligned_allocator< Eigen::Matrix< Scalar, Rows, 1 > > > EigenVectorContainer
Definition
eigen_types.hpp:20
libs
reusex
include
types
eigen_types.hpp
Generated by
1.17.0