3#include "../_decl/decl_point_cloud.hpp"
5#include "../dense_point_cloud.hpp"
6#include "../sparse_point_cloud.hpp"
8#include "detail_composite.hpp"
20 if (IsDense(guard.Handle()))
31 return FromHandle<T>(HandleGuard<PointCloud>(object->Handle()));
37 return Internal::DoResCallShareOut<PointCloud>([&](
void *&handle) {
38 return CVB_CALL_CAPI(CVC3DMemoryToPointCloud(buffer, size,
static_cast<CExports::cvbval_t
>(flags),
39 static_cast<CExports::CVC3DPointCloudFileFormat
>(format), handle));
static PointCloudPtr FromHandle(HandleGuard< PointCloud > &&guard)
Creates a point cloud from a classic API handle.
Definition detail_point_cloud.hpp:15
static std::shared_ptr< T > FromComposite(CompositePtr object)
Creates a point cloud from a composite.
Definition detail_point_cloud.hpp:27
static PointCloudPtr FromMemory(void *buffer, size_t size, PointCloudFlags flags, Cvb::PointCloudFileFormat format)
Creates a point cloud reading memory from buffer.
Definition detail_point_cloud.hpp:34
cvbbool_t ShareObject(OBJ Object)
Root namespace for the Image Manager interface.
Definition c_bayer_to_rgb.h:17
PointCloudFileFormat
Supported point cloud point formats.
Definition core_3d.hpp:141
PointCloudFlags
Flags for creating point clouds.
Definition core_3d.hpp:90
std::shared_ptr< PointCloud > PointCloudPtr
Convenience shared pointer for PointCloud.
Definition core_3d.hpp:40
std::shared_ptr< Composite > CompositePtr
Convenience shared pointer for Composite.
Definition global.hpp:102