Template Class Pointcloud

Class Documentation

template<typename PointT = Point3D>
class Pointcloud

Public Types

using Ptr = std::shared_ptr<Pointcloud<PointT>>
using ConstPtr = std::shared_ptr<const Pointcloud<PointT>>
using PointType = PointT
using Data = Eigen::Matrix<FloatingPoint, kDim, Eigen::Dynamic>
using iterator = PointcloudIterator<Pointcloud, kDim>
using const_iterator = PointcloudIterator<const Pointcloud, kDim>

Public Functions

Pointcloud() = default
inline explicit Pointcloud(const Data &pointcloud)
inline explicit Pointcloud(Data &&pointcloud)
template<typename PointContainer>
inline explicit Pointcloud(const PointContainer &point_container)
inline bool empty() const
inline size_t size() const
inline void resize(size_t n_points)
inline void clear()
inline Data::ColXpr operator[](Eigen::Index point_index)
inline Data::ConstColXpr operator[](Eigen::Index point_index) const
inline Data &data()
inline const Data &data() const
inline iterator begin()
inline iterator end()
inline const_iterator begin() const
inline const_iterator end() const
inline const_iterator cbegin() const
inline const_iterator cend() const

Public Static Attributes

static constexpr int kDim = dim_v<PointT>