|
|
template<typename T , int D> |
| | PointCloudGPU (const Eigen::Matrix< T, D, 1 > *points, int num_points) |
| |
|
template<typename T , int D, typename Alloc > |
| | PointCloudGPU (const std::vector< Eigen::Matrix< T, D, 1 >, Alloc > &points) |
| |
|
| PointCloudGPU (const PointCloudGPU &points)=delete |
| |
|
PointCloudGPU & | operator= (PointCloudGPU const &)=delete |
| |
|
template<typename T > |
| void | add_times (const T *times, int num_points, CUstream_st *stream=0) |
| |
|
template<typename T > |
| void | add_times (const std::vector< T > ×, CUstream_st *stream=0) |
| |
|
template<typename T > |
| void | add_times_gpu (const T *times, int num_points, CUstream_st *stream=0) |
| |
|
template<typename T > |
| void | add_times_gpu (const std::vector< T > ×, CUstream_st *stream=0) |
| |
|
template<typename T , int D> |
| void | add_points (const Eigen::Matrix< T, D, 1 > *points, int num_points, CUstream_st *stream=0) |
| |
|
template<typename T , int D, typename Alloc > |
| void | add_points (const std::vector< Eigen::Matrix< T, D, 1 >, Alloc > &points, CUstream_st *stream=0) |
| |
|
template<typename T , int D> |
| void | add_points_gpu (const Eigen::Matrix< T, D, 1 > *points, int num_points, CUstream_st *stream=0) |
| |
|
template<typename T , int D, typename Alloc > |
| void | add_points_gpu (const std::vector< Eigen::Matrix< T, D, 1 >, Alloc > &points, CUstream_st *stream=0) |
| |
|
template<typename T , int D> |
| void | add_normals (const Eigen::Matrix< T, D, 1 > *normals, int num_points, CUstream_st *stream=0) |
| |
|
template<typename T , int D, typename Alloc > |
| void | add_normals (const std::vector< Eigen::Matrix< T, D, 1 >, Alloc > &normals, CUstream_st *stream=0) |
| |
|
template<typename T , int D> |
| void | add_normals_gpu (const Eigen::Matrix< T, D, 1 > *normals, int num_points, CUstream_st *stream=0) |
| |
|
template<typename T , int D, typename Alloc > |
| void | add_normals_gpu (const std::vector< Eigen::Matrix< T, D, 1 >, Alloc > &normals, CUstream_st *stream=0) |
| |
|
template<typename T , int D> |
| void | add_covs (const Eigen::Matrix< T, D, D > *covs, int num_points, CUstream_st *stream=0) |
| |
|
template<typename T , int D, typename Alloc > |
| void | add_covs (const std::vector< Eigen::Matrix< T, D, D >, Alloc > &covs, CUstream_st *stream=0) |
| |
|
template<typename T , int D> |
| void | add_covs_gpu (const Eigen::Matrix< T, D, D > *covs, int num_points, CUstream_st *stream=0) |
| |
|
template<typename T , int D, typename Alloc > |
| void | add_covs_gpu (const std::vector< Eigen::Matrix< T, D, D >, Alloc > &covs, CUstream_st *stream=0) |
| |
|
template<typename T > |
| void | add_intensities (const T *intensities, int num_points, CUstream_st *stream=0) |
| |
|
template<typename T > |
| void | add_intensities (const std::vector< T > &intensities, CUstream_st *stream=0) |
| |
|
template<typename T > |
| void | add_intensities_gpu (const T *intensities, int num_points, CUstream_st *stream=0) |
| |
|
template<typename T > |
| void | add_intensities_gpu (const std::vector< T > &intensities, CUstream_st *stream=0) |
| |
|
void | download_points (CUstream_st *stream=0) |
| |
| size_t | memory_usage_gpu () const override |
| | Memory usage in bytes on the GPU.
|
| |
| bool | loaded_on_gpu () const override |
| | Check if the data is loaded on the GPU.
|
| |
| bool | offload_gpu (CUstream_st *stream=0) override |
| | Offload data from GPU to CPU.
|
| |
| bool | reload_gpu (CUstream_st *stream=0) override |
| | Reload data from CPU to GPU.
|
| |
| template<typename T , int D> |
| | PointCloudCPU (const Eigen::Matrix< T, D, 1 > *points, int num_points) |
| | Constructor.
|
| |
| template<typename T , int D, typename Alloc > |
| | PointCloudCPU (const std::vector< Eigen::Matrix< T, D, 1 >, Alloc > &points) |
| | Constructor.
|
| |
|
| PointCloudCPU (const PointCloudCPU &points)=delete |
| |
|
PointCloudCPU & | operator= (PointCloudCPU const &)=delete |
| |
|
template<typename T > |
| void | add_times (const T *times, int num_points) |
| |
|
template<typename T > |
| void | add_times (const std::vector< T > ×) |
| |
|
template<typename T , int D> |
| void | add_points (const Eigen::Matrix< T, D, 1 > *points, int num_points) |
| |
|
template<typename T , int D, typename Alloc > |
| void | add_points (const std::vector< Eigen::Matrix< T, D, 1 >, Alloc > &points) |
| |
|
template<typename T , int D> |
| void | add_normals (const Eigen::Matrix< T, D, 1 > *normals, int num_points) |
| |
|
template<typename T , int D, typename Alloc > |
| void | add_normals (const std::vector< Eigen::Matrix< T, D, 1 >, Alloc > &normals) |
| |
|
template<typename T , int D> |
| void | add_covs (const Eigen::Matrix< T, D, D > *covs, int num_points) |
| |
|
template<typename T , int D, typename Alloc > |
| void | add_covs (const std::vector< Eigen::Matrix< T, D, D >, Alloc > &covs) |
| |
|
template<typename T > |
| void | add_intensities (const T *intensities, int num_points) |
| |
|
template<typename T > |
| void | add_intensities (const std::vector< T > &intensities) |
| |
|
template<typename T > |
| void | add_aux_attribute (const std::string &attrib_name, const T *values, int num_points) |
| |
|
template<typename T , typename Alloc > |
| void | add_aux_attribute (const std::string &attrib_name, const std::vector< T, Alloc > &values) |
| |
|
size_t | memory_usage () const |
| | Memory usage in bytes.
|
| |
|
| PointCloud (const PointCloud &)=delete |
| |
|
PointCloud & | operator= (PointCloud const &)=delete |
| |
|
size_t | size () const |
| | Number of points.
|
| |
|
bool | has_times () const |
| | Check if the point cloud has per-point timestamps.
|
| |
|
bool | has_points () const |
| | Check if the point cloud has points.
|
| |
|
bool | has_normals () const |
| | Check if the point cloud has point normals.
|
| |
|
bool | has_covs () const |
| | Check if the point cloud has point covariances.
|
| |
|
bool | has_intensities () const |
| | Check if the point cloud has point intensities.
|
| |
|
bool | check_times () const |
| | Warn if the point cloud doesn't have times.
|
| |
|
bool | check_points () const |
| | Warn if the point cloud doesn't have points.
|
| |
|
bool | check_normals () const |
| | Warn if the point cloud doesn't have normals.
|
| |
|
bool | check_covs () const |
| | Warn if the point cloud doesn't have covs.
|
| |
|
bool | check_intensities () const |
| | Warn if the point cloud doesn't have intensities.
|
| |
|
bool | has_times_gpu () const |
| | Check if the point cloud has per-point timestamps on GPU.
|
| |
|
bool | has_points_gpu () const |
| | Check if the point cloud has points on GPU.
|
| |
|
bool | has_normals_gpu () const |
| | Check if the point cloud has point normals on GPU.
|
| |
|
bool | has_covs_gpu () const |
| | Check if the point cloud has point covariances on GPU.
|
| |
|
bool | has_intensities_gpu () const |
| | Check if the point cloud has point intensities on GPU.
|
| |
|
bool | check_times_gpu () const |
| | Warn if the point cloud doesn't have times on GPU.
|
| |
|
bool | check_points_gpu () const |
| | Warn if the point cloud doesn't have points on GPU.
|
| |
|
bool | check_normals_gpu () const |
| | Warn if the point cloud doesn't have normals on GPU.
|
| |
|
bool | check_covs_gpu () const |
| | Warn if the point cloud doesn't have covs on GPU.
|
| |
|
bool | check_intensities_gpu () const |
| | Warn if the point cloud doesn't have intensities on GPU.
|
| |
| template<typename T > |
| const T * | aux_attribute (const std::string &attrib) const |
| | Get the pointer to an aux attribute.
|
| |
| void | save (const std::string &path) const |
| | Save the point cloud data.
|
| |
| void | save_compact (const std::string &path) const |
| | Save the point cloud data with a compact representation without unnecessary fields (e.g., the last element of homogeneous coordinates).
|
| |
|
std::uint64_t | last_accessed_time () const |
| | Time of the last access to this object.
|
| |
| virtual bool | touch (CUstream_st *stream=0) |
| | Reload data from CPU to GPU (if necessary) and update the last access time.
|
| |