16 inline HandleGuard<Foundation::Metric::DensePointCloudSegmentor>::HandleGuard(
void *handle) noexcept
17 : HandleGuard<Foundation::Metric::DensePointCloudSegmentor>(
18 handle, [](
void *handle) { CVB_CALL_CAPI(
ReleaseObject(handle)); })
34 class DensePointCloudSegmentor
41 explicit DensePointCloudSegmentor(HandleGuard<DensePointCloudSegmentor> &&guard) noexcept
47 using GuardType = HandleGuard<DensePointCloudSegmentor>;
49 DensePointCloudSegmentor(
const DensePointCloudSegmentor &other) =
delete;
50 DensePointCloudSegmentor &operator=(
const DensePointCloudSegmentor &other) =
delete;
51 DensePointCloudSegmentor(DensePointCloudSegmentor &&other) =
delete;
52 DensePointCloudSegmentor &operator=(DensePointCloudSegmentor &&other) =
delete;
53 virtual ~DensePointCloudSegmentor() =
default;
71 return static_cast<int>(Internal::DoResCallValueOut<CExports::cvbdim_t>([&](CExports::cvbdim_t &value) {
72 return CVB_CALL_CAPI(CVMAQS12SegmentorDensePointCloudGetWindowSize(
Handle(), value));
92 CVB_CALL_CAPI_CHECKED(
93 CVMAQS12SegmentorDensePointCloudSetWindowSize(
Handle(),
static_cast<CExports::cvbdim_t
>(windowSize)));
125 return handle_.Handle();
129 HandleGuard<DensePointCloudSegmentor> handle_;
34 class DensePointCloudSegmentor {
…};
An organized dense Cartesian 3D point cloud object.
Definition decl_dense_point_cloud.hpp:35
Base class for segmentor object to configure and compute segmentation on dense point clouds.
Definition decl_metric_segmentor_dense_point_cloud.hpp:35
int WindowSize() const
Gets window size for calculation of normals (used for the classification of the target faces).
Definition decl_metric_segmentor_dense_point_cloud.hpp:69
static std::shared_ptr< DensePointCloudSegmentor > FromHandle(HandleGuard< DensePointCloudSegmentor > &&guard)
Creates a segmentor from a classic API handle.
Definition detail_metric_segmentor.hpp:23
void * Handle() const noexcept
Returns C-API style handle to Node Object.
Definition decl_metric_segmentor_dense_point_cloud.hpp:123
void SetWindowSize(int windowSize) const
Sets window size for the calculation of normals (used for the classification of the target faces).
Definition decl_metric_segmentor_dense_point_cloud.hpp:90
Rectangle object.
Definition rect.hpp:24
cvbbool_t ReleaseObject(OBJ &Object)
Namespace for metric calibration.
Definition decl_metric_aqs12_calibration_piece.hpp:13
CalibrationPiece
Defines the calibration piece to use for face segmentation.
Definition metric.hpp:24
SegmentationMethod
Defines the segmentation method for labeling the faces of the calibration piece.
Definition metric.hpp:31
Namespace for the Foundation package.
Definition decl_metric_aqs12_calibration_piece.hpp:11
Root namespace for the Image Manager interface.
Definition c_bayer_to_rgb.h:17