This example program is located in your CVB installation under %CVB%Tutorial/Image Manager/Cvb++/CppPointCloudCreateAndHandle
.
main.cpp:
#include <iostream>
#include "cvb/point_cloud_factory.hpp"
#include "cvb/point_cloud.hpp"
int main()
{
try
{
int width = 25, height = 20;
Cvb::PointCloudFlags::Float | Cvb::PointCloudFlags::XYZ);
SetValuesToDensePointCloud(*cloudDense, 123.4f);
}
catch (const std::exception & error)
{
std::cout << error.what() << std::endl;
}
return 0;
}
{
for (auto it = pPoints; it != end; it++)
{
if (x >= size.Width())
{
}
}
}
Cvb::Size2D< int > LatticeSize() const
static DensePointCloudPtr CreateDense(Size2D< int > size, PointCloudFlags flags)
std::size_t Points(Point3D< T > *&points) const
std::size_t NumPoints() const