IDS peak ICV v1.0.0
Loading...
Searching...
No Matches
PointCloud< PointCloudType, PointType > Class Template Reference

#include <peak_icv/types/detail/peak_icv_point_cloud.hpp>

Inheritance diagram for PointCloud< PointCloudType, PointType >:
Collaboration diagram for PointCloud< PointCloudType, PointType >:

Public Types

using PointType = InnerPointType
 

Public Member Functions

 ~PointCloud () override
 
 PointCloud (const PointCloud &other)
 
 PointCloud (PointCloud &&other) noexcept
 
PointCloud & operator= (const PointCloud &other)
 
PointCloud & operator= (PointCloud &&other) noexcept
 
bool operator== (const PointCloud &rhs) const
 
bool operator!= (const PointCloud &rhs) const
 
const std::vector< PointType > & GetPoints () const
 Returns the points from a point cloud.
 
PointCloudType Transform (const experimental::TransformationMatrix3D &matrix) const
 Applies a transformation to a point cloud based on the given matrix.
 
PointCloudType TransformToWorkspace (const experimental::ExtrinsicParameters &extrinsicParameters) const
 Transforms a point cloud to the workspace coordinate system using the extrinsic parameters.
 
std::vector< PointType >::const_iterator cbegin () const
 Returns an iterator to the first point.
 
std::vector< PointType >::const_iterator cend () const
 Returns an iterator to the end of the points (the point after the last point).
 

Detailed Description

template<typename PointCloudType, typename PointType>
class peak::icv::detail::PointCloud< PointCloudType, PointType >

A point cloud base class.

Warning
This function is still in development and not released.

Definition at line 97 of file peak_icv_type_traits.hpp.

Member Typedef Documentation

◆ PointType

template<typename PointCloudType , typename PointType >
using PointType = InnerPointType

Definition at line 51 of file peak_icv_point_cloud.hpp.

Constructor & Destructor Documentation

◆ ~PointCloud()

template<typename PointCloudType , typename InnerPointType >
~PointCloud ( )
override
Warning
This function is still in development and not released.

Definition at line 161 of file peak_icv_point_cloud.hpp.

◆ PointCloud() [1/2]

template<typename PointCloudType , typename InnerPointType >
PointCloud ( const PointCloud< PointCloudType, PointType > & other)
Warning
This function is still in development and not released.

Definition at line 175 of file peak_icv_point_cloud.hpp.

◆ PointCloud() [2/2]

template<typename PointCloudType , typename InnerPointType >
PointCloud ( PointCloud< PointCloudType, PointType > && other)
noexcept
Warning
This function is still in development and not released.

Definition at line 187 of file peak_icv_point_cloud.hpp.

Member Function Documentation

◆ cbegin()

template<typename PointCloudType , typename InnerPointType >
std::vector< InnerPointType >::const_iterator cbegin ( ) const

Returns an iterator to the first point.

Definition at line 325 of file peak_icv_point_cloud.hpp.

◆ cend()

template<typename PointCloudType , typename InnerPointType >
std::vector< InnerPointType >::const_iterator cend ( ) const

Returns an iterator to the end of the points (the point after the last point).

Definition at line 331 of file peak_icv_point_cloud.hpp.

◆ GetPoints()

template<typename PointCloudType , typename InnerPointType >
const std::vector< InnerPointType > & GetPoints ( ) const

Returns the points from a point cloud.

Definition at line 264 of file peak_icv_point_cloud.hpp.

◆ operator!=()

template<typename PointCloudType , typename InnerPointType >
bool operator!= ( const PointCloud< PointCloudType, PointType > & rhs) const
Warning
This function is still in development and not released.

Definition at line 258 of file peak_icv_point_cloud.hpp.

◆ operator=() [1/2]

template<typename PointCloudType , typename InnerPointType >
PointCloud< PointCloudType, InnerPointType > & operator= ( const PointCloud< PointCloudType, PointType > & other)
Warning
This function is still in development and not released.

Definition at line 197 of file peak_icv_point_cloud.hpp.

◆ operator=() [2/2]

template<typename PointCloudType , typename InnerPointType >
PointCloud< PointCloudType, InnerPointType > & operator= ( PointCloud< PointCloudType, PointType > && other)
noexcept
Warning
This function is still in development and not released.

Definition at line 218 of file peak_icv_point_cloud.hpp.

◆ operator==()

template<typename PointCloudType , typename InnerPointType >
bool operator== ( const PointCloud< PointCloudType, PointType > & rhs) const
Warning
This function is still in development and not released.

Definition at line 239 of file peak_icv_point_cloud.hpp.

◆ Transform()

template<typename PointCloudType , typename InnerPointType >
PointCloudType Transform ( const experimental::TransformationMatrix3D & matrix) const

Applies a transformation to a point cloud based on the given matrix.

Parameters
matrixThe transformation matrix
Returns
Transformed point cloud

Definition at line 296 of file peak_icv_point_cloud.hpp.

◆ TransformToWorkspace()

template<typename PointCloudType , typename InnerPointType >
PointCloudType TransformToWorkspace ( const experimental::ExtrinsicParameters & extrinsicParameters) const

Transforms a point cloud to the workspace coordinate system using the extrinsic parameters.

The point cloud is transformed from the camera coordinate system to the workspace coordinate system using the inverse of the extrinsic parameters.

Parameters
extrinsicParametersExtrinsic parameters of the workspace calibration.
Returns
Transformed point cloud

Definition at line 310 of file peak_icv_point_cloud.hpp.