8#include "cvb/point_cloud_factory.hpp"
9#include "cvb/point_cloud.hpp"
18 int width = 25, height = 20;
23 SetValuesToDensePointCloud(*cloudDense, 123.4f);
42 for (
auto it = pPoints; it !=
end; it++)
45 if (x >= size.
Width())
A dense Cartesian 3D point cloud object.
Definition: decl_dense_point_cloud.hpp:31
Cvb::Size2D< int > LatticeSize() const
Gets the number of x,y,z(,w) point rows and columns of the given dense PointCloud.
Definition: decl_dense_point_cloud.hpp:80
Multi-purpose 3D vector class.
Definition: point_3d.hpp:22
static DensePointCloudPtr CreateDense(Size2D< int > size, PointCloudFlags flags)
Creates a new dense Cartesian 3D point cloud.
Definition: point_cloud_factory.hpp:226
std::size_t Points(Point3D< T > *&points) const
Gets the 3D points from the given point cloud.
Definition: decl_point_cloud.hpp:203
std::size_t NumPoints() const
Gets the number of x,y,z(,w) points in the given point cloud.
Definition: decl_point_cloud.hpp:176
T Width() const noexcept
Gets the horizontal component of the size.
Definition: size_2d.hpp:59