gtsam_points
Loading...
Searching...
No Matches
point_correspondences.hpp
Go to the documentation of this file.
1#ifndef GLK_POINT_CORRESPONDENCES_BUFFER_HPP
2#define GLK_POINT_CORRESPONDENCES_BUFFER_HPP
3
4#include <memory>
5#include <Eigen/Dense>
6#include <glk/drawable.hpp>
7#include <glk/thin_lines.hpp>
8
9#ifdef GLK_USE_PCL
10#include <pcl/point_types.h>
11#include <pcl/point_cloud.h>
12#include <pcl/correspondence.h>
13#endif
14
15namespace glk {
16
18public:
20 using Ptr = std::shared_ptr<PointCorrespondences>;
21
22#ifdef GLK_USE_PCL
23 template <typename PointT>
25 const pcl::shared_ptr<const pcl::PointCloud<PointT>>& source_cloud,
26 const pcl::shared_ptr<const pcl::PointCloud<PointT>>& target_cloud,
27 const pcl::CorrespondencesConstPtr& correspondences);
28#endif
29
30 virtual ~PointCorrespondences() override;
31
32 virtual void draw(glk::GLSLShader& shader) const override;
33
34private:
35 std::unique_ptr<glk::ThinLines> lines;
36};
37
38} // namespace glk
39
40#endif
Definition drawable.hpp:12
Definition glsl_shader.hpp:20
Definition point_correspondences.hpp:17
virtual void draw(glk::GLSLShader &shader) const override
virtual ~PointCorrespondences() override
std::shared_ptr< PointCorrespondences > Ptr
Definition point_correspondences.hpp:20
Definition async_buffer_copy.hpp:6
std::enable_if_t< needs_aligned_allocator< T >::value, std::shared_ptr< T > > make_shared(Args &&... args)
Definition make_shared.hpp:20