37 #include <pcl/range_image/range_image.h>
55 using Ptr = shared_ptr<RangeImageSpherical>;
56 using ConstPtr = shared_ptr<const RangeImageSpherical>;
87 calculate3DPoint (
float image_x,
float image_y,
float range, Eigen::Vector3f& point)
const;
97 getImagePoint (
const Eigen::Vector3f& point,
float& image_x,
float& image_y,
float& range)
const;
111 #include <pcl/range_image/impl/range_image_spherical.hpp>
RangeImage is derived from pcl/PointCloud and provides functionalities with focus on situations where...
void calculate3DPoint(float image_x, float image_y, float range, PointWithRange &point) const
Calculate the 3D point according to the given image point and range.
shared_ptr< RangeImage > Ptr
virtual void getImagePoint(const Eigen::Vector3f &point, float &image_x, float &image_y, float &range) const
Get imagePoint from 3D point in world coordinates.
shared_ptr< const RangeImage > ConstPtr
PCL_EXPORTS RangeImage()
Constructor.
RangeImageSpherical is derived from the original range image and uses a slightly different spherical ...
void calculate3DPoint(float image_x, float image_y, float range, PointWithRange &point) const
Calculate the 3D point according to the given image point and range.
PCL_EXPORTS RangeImageSpherical()
Constructor.
Ptr makeShared()
Get a boost shared pointer of a copy of this.
virtual void getImagePoint(const Eigen::Vector3f &point, float &image_x, float &image_y, float &range) const
Get imagePoint from 3D point in world coordinates.
shared_ptr< RangeImageSpherical > Ptr
void getAnglesFromImagePoint(float image_x, float image_y, float &angle_x, float &angle_y) const
Get the angles corresponding to the given image point.
void getImagePointFromAngles(float angle_x, float angle_y, float &image_x, float &image_y) const
Get the image point corresponding to the given ranges.
virtual RangeImage * getNew() const
Return a newly created RangeImagePlanar.
virtual PCL_EXPORTS ~RangeImageSpherical()=default
Destructor.