armarx::conversions Namespace Reference

Typedefs

using Features = armarx::navigation::components::laser_scanner_feature_extraction::Features
 

Functions

template<typename CvT >
CvT cast (const auto &pt)
 
template<typename PointOutT , typename PointInT >
std::vector< PointOutT > cast (const std::vector< PointInT > &points)
 
Eigen::Vector2f cv2eigen (const cv::Point2f &pt)
 
cv::Point2f eigen2cv (const Eigen::Vector2f &pt)
 
template<typename EigenT , typename CvT = decltype(eigen2cv(EigenT()))>
auto eigen2cv (const std::vector< EigenT > &points)
 
pcl::PointXY eigen2pcl (const Eigen::Vector2f &pt)
 
pcl::PointXYZ eigen2pcl (const Eigen::Vector3f &pt)
 
template<typename EigenVector , typename PointT = decltype(eigen2pcl(EigenVector()))>
auto eigen2pcl (const std::vector< EigenVector > &points) -> pcl::PointCloud< PointT >
 
template<typename PointT , typename CvT = decltype(pcl2cv(PointT()))>
auto pcl2cv (const pcl::PointCloud< PointT > &pointCloud)
 
cv::Point2f pcl2cv (const pcl::PointXY &pt)
 
cv::Point3f pcl2cv (const pcl::PointXYZ &pt)
 
template<typename PointT , typename EigenVector = decltype(pcl2eigen(PointT()))>
auto pcl2eigen (const pcl::PointCloud< PointT > &pointCloud) -> std::vector< EigenVector >
 
Eigen::Vector2f pcl2eigen (const pcl::PointXY &pt)
 
Eigen::Vector3f pcl2eigen (const pcl::PointXYZ &pt)
 
Eigen::Vector2f to2D (const Eigen::Vector3f &v2)
 
Eigen::Isometry3f to3D (const Eigen::Affine2f &p2)
 
Eigen::Vector3f to3D (const Eigen::Vector2f &v2)
 
pcl::PointCloud< pcl::PointXYZ > to3D (const pcl::PointCloud< pcl::PointXY > &v)
 
pcl::PointXYZ to3D (const pcl::PointXY &v2)
 
std::vector< Eigen::Vector3f > to3D (const std::vector< Eigen::Vector2f > &v)
 
Features transformFeature (const Features &feature, const Eigen::Isometry3f &transformation)
 

Typedef Documentation

◆ Features

Function Documentation

◆ cast() [1/2]

CvT armarx::conversions::cast ( const auto &  pt)

Definition at line 32 of file opencv.h.

+ Here is the caller graph for this function:

◆ cast() [2/2]

std::vector<PointOutT> armarx::conversions::cast ( const std::vector< PointInT > &  points)

Definition at line 35 of file opencv.h.

+ Here is the call graph for this function:

◆ cv2eigen()

Eigen::Vector2f armarx::conversions::cv2eigen ( const cv::Point2f &  pt)
inline

Definition at line 47 of file opencv_eigen.h.

+ Here is the caller graph for this function:

◆ eigen2cv() [1/2]

cv::Point2f armarx::conversions::eigen2cv ( const Eigen::Vector2f &  pt)
inline

Definition at line 30 of file opencv_eigen.h.

+ Here is the caller graph for this function:

◆ eigen2cv() [2/2]

auto armarx::conversions::eigen2cv ( const std::vector< EigenT > &  points)

Definition at line 36 of file opencv_eigen.h.

+ Here is the call graph for this function:

◆ eigen2pcl() [1/3]

pcl::PointXY armarx::conversions::eigen2pcl ( const Eigen::Vector2f &  pt)
inline

Definition at line 62 of file pcl_eigen.h.

+ Here is the caller graph for this function:

◆ eigen2pcl() [2/3]

pcl::PointXYZ armarx::conversions::eigen2pcl ( const Eigen::Vector3f &  pt)
inline

Definition at line 67 of file pcl_eigen.h.

◆ eigen2pcl() [3/3]

auto armarx::conversions::eigen2pcl ( const std::vector< EigenVector > &  points) -> pcl::PointCloud<PointT>

Definition at line 74 of file pcl_eigen.h.

+ Here is the call graph for this function:

◆ pcl2cv() [1/3]

auto armarx::conversions::pcl2cv ( const pcl::PointCloud< PointT > &  pointCloud)

Definition at line 44 of file opencv_pcl.h.

+ Here is the call graph for this function:

◆ pcl2cv() [2/3]

cv::Point2f armarx::conversions::pcl2cv ( const pcl::PointXY &  pt)
inline

Definition at line 34 of file opencv_pcl.h.

+ Here is the caller graph for this function:

◆ pcl2cv() [3/3]

cv::Point3f armarx::conversions::pcl2cv ( const pcl::PointXYZ &  pt)
inline

Definition at line 38 of file opencv_pcl.h.

◆ pcl2eigen() [1/3]

auto armarx::conversions::pcl2eigen ( const pcl::PointCloud< PointT > &  pointCloud) -> std::vector<EigenVector>

Definition at line 46 of file pcl_eigen.h.

+ Here is the call graph for this function:

◆ pcl2eigen() [2/3]

Eigen::Vector2f armarx::conversions::pcl2eigen ( const pcl::PointXY &  pt)
inline

Definition at line 35 of file pcl_eigen.h.

+ Here is the caller graph for this function:

◆ pcl2eigen() [3/3]

Eigen::Vector3f armarx::conversions::pcl2eigen ( const pcl::PointXYZ &  pt)
inline

Definition at line 39 of file pcl_eigen.h.

◆ to2D()

Eigen::Vector2f armarx::conversions::to2D ( const Eigen::Vector3f &  v2)
inline

Definition at line 32 of file eigen.h.

+ Here is the caller graph for this function:

◆ to3D() [1/5]

Eigen::Isometry3f armarx::conversions::to3D ( const Eigen::Affine2f &  p2)
inline

Definition at line 42 of file eigen.h.

+ Here is the call graph for this function:

◆ to3D() [2/5]

Eigen::Vector3f armarx::conversions::to3D ( const Eigen::Vector2f &  v2)
inline

Definition at line 37 of file eigen.h.

◆ to3D() [3/5]

pcl::PointCloud< pcl::PointXYZ > to3D ( const pcl::PointCloud< pcl::PointXY > &  v)

Definition at line 7 of file pcl.cpp.

+ Here is the call graph for this function:

◆ to3D() [4/5]

pcl::PointXYZ armarx::conversions::to3D ( const pcl::PointXY &  v2)
inline

Definition at line 32 of file pcl.h.

◆ to3D() [5/5]

std::vector< Eigen::Vector3f > to3D ( const std::vector< Eigen::Vector2f > &  v)

Definition at line 8 of file eigen.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ transformFeature()

navigation::components::laser_scanner_feature_extraction::Features transformFeature ( const Features feature,
const Eigen::Isometry3f &  transformation 
)

Definition at line 12 of file features.cpp.

+ Here is the call graph for this function: