Skip to content

Commit 7d18805

Browse files
committed
Add header for feature types
Signed-off-by: Ramir Sultanov <sumir0@proton.me>
1 parent 3ec5387 commit 7d18805

6 files changed

Lines changed: 63 additions & 0 deletions

File tree

common/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ set(range_image_srcs
3232

3333
set(srcs
3434
src/point_types.cpp
35+
src/feature_types.cpp
3536
src/pcl_base.cpp
3637
src/PCLPointCloud2.cpp
3738
src/io.cpp
@@ -64,6 +65,7 @@ set(incs
6465
include/pcl/point_types_conversion.h
6566
include/pcl/point_representation.h
6667
include/pcl/point_types.h
68+
include/pcl/feature_types.h
6769
include/pcl/for_each_type.h
6870
include/pcl/pcl_tests.h
6971
include/pcl/cloud_iterator.h
@@ -150,6 +152,7 @@ set(impl_incs
150152
include/pcl/impl/pcl_base.hpp
151153
include/pcl/impl/instantiate.hpp
152154
include/pcl/impl/point_types.hpp
155+
include/pcl/impl/feature_types.hpp
153156
include/pcl/impl/cloud_iterator.hpp
154157
)
155158

common/include/pcl/feature_types.h

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
* SPDX-License-Identifier: BSD-3-Clause
3+
* * Point Cloud Library (PCL) - www.pointclouds.org
4+
* Copyright (c) 2026-, Open Perception Inc.
5+
* * All rights reserved
6+
*/
7+
8+
#pragma once
9+
10+
11+
/**
12+
* \file pcl/feature_types.h
13+
* Defines all the PCL implemented PointT feature type structures
14+
* \ingroup common
15+
*/
16+
17+
/** @{*/
18+
namespace pcl
19+
{
20+
21+
} // namespace pcl
22+
/** @} */
23+
24+
#include <pcl/impl/feature_types.hpp>
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/*
2+
* SPDX-License-Identifier: BSD-3-Clause
3+
* * Point Cloud Library (PCL) - www.pointclouds.org
4+
* Copyright (c) 2026-, Open Perception Inc.
5+
* * All rights reserved
6+
*/
7+
8+
#pragma once
9+
10+
#include <pcl/feature_types.h> // implementee
11+
#include <pcl/pcl_exports.h> // for PCL_EXPORTS
12+
#include <pcl/register_point_struct.h> // for POINT_CLOUD_REGISTER_POINT_STRUCT
13+
#include <pcl/type_traits.h> // for asEnum which is used internally in POINT_CLOUD_REGISTER_POINT_STRUCT
14+
15+
#include <ostream> // for ostream, operator<<
16+
17+
namespace pcl
18+
{
19+
20+
} // namespace pcl

common/include/pcl/impl/point_types.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
#include <pcl/pcl_macros.h> // for PCL_EXPORTS
4444
#include <pcl/PCLPointField.h> // for PCLPointField
4545
#include <pcl/point_types.h> // implementee
46+
#include <pcl/feature_types.h> // for feature types
4647
#include <pcl/register_point_struct.h> // for POINT_CLOUD_REGISTER_POINT_STRUCT, POINT_CLOUD_REGISTER_POINT_WRAPPER
4748

4849
#include <Eigen/Core> // for MatrixMap

common/include/pcl/point_types.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@
4444
#include <pcl/field_traits.h>
4545
#endif
4646

47+
#include <pcl/feature_types.h> // feature types are point types too
48+
4749
#include <bitset>
4850

4951

common/src/feature_types.cpp

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/*
2+
* SPDX-License-Identifier: BSD-3-Clause
3+
* * Point Cloud Library (PCL) - www.pointclouds.org
4+
* Copyright (c) 2026-, Open Perception Inc.
5+
* * All rights reserved
6+
*/
7+
8+
#include <pcl/feature_types.h>
9+
10+
namespace pcl
11+
{
12+
13+
} // namespace pcl

0 commit comments

Comments
 (0)