Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RobotAPI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software
ArmarX
RobotAPI
Merge requests
!137
Armem/dev
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Armem/dev
armem/dev
into
master
Overview
13
Commits
38
Pipelines
0
Changes
1
All threads resolved!
Hide all comments
Merged
Fabian Reister
requested to merge
armem/dev
into
master
3 years ago
Overview
13
Commits
38
Pipelines
0
Changes
1
All threads resolved!
Hide all comments
Expand
0
0
Merge request reports
Viewing commit
ec6cee93
Prev
Next
Show latest version
1 file
+
63
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
ec6cee93
custom pcl point type
· ec6cee93
Fabian Reister
authored
3 years ago
source/RobotAPI/libraries/core/pcl_point_types.h
0 → 100644
+
63
−
0
Options
/*
* This file is part of ArmarX.
*
* ArmarX is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* ArmarX is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package RobotAPI::Core
* @author Fabian Reister ( fabian dot reister at kit dot edu )
* @date 2021
* @copyright http://www.gnu.org/licenses/gpl-2.0.txt
* GNU General Public License
*/
#pragma once
#define PCL_NO_PRECOMPILE
#include
<pcl/pcl_macros.h>
#include
<pcl/point_types.h>
#include
<pcl/point_cloud.h>
#include
<pcl/io/pcd_io.h>
// #include <pcl/memory.h>
#include
<Eigen/Core>
namespace
pcl
{
/**
* @brief Point for polar coordinates
*
*/
struct
PointPolar
{
// PCL_ADD_POINT4D; // preferred way of adding a XYZ+padding
//! radial distance
float
r
;
//! angle
float
phi
;
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
// PCL_MAKE_ALIGNED_OPERATOR_NEW // make sure our new allocators are aligned
}
EIGEN_ALIGN16
;
// enforce SSE padding for correct memory alignment
}
// namespace pcl
POINT_CLOUD_REGISTER_POINT_STRUCT
(
pcl
::
PointPolar
,
(
float
,
r
,
r
)
(
float
,
phi
,
phi
)
)
\ No newline at end of file
Loading