Base class for segmentor object to configure and compute segmentation on dense point clouds.
More...
#include <cvb/foundation/metric_aqs12.hpp>
Inherited by AQS12DensePointCloudSegmentor.
|
int | WindowSize () const |
| Gets window size for calculation of normals (used for the classification of the target faces). More...
|
|
void | SetWindowSize (int windowSize) const |
| Sets window size for the calculation of normals (used for the classification of the target faces). More...
|
|
void * | Handle () const noexcept |
| Returns C-API style handle to Node Object. More...
|
|
Base class for segmentor object to configure and compute segmentation on dense point clouds.
◆ FromHandle()
Creates a segmentor from a classic API handle.
- Parameters
-
[in] | guard | Life time guard for C-API handle. |
- Returns
- The segmentor created from the classic API handle.
- Exceptions
-
The segmentor takes ownership of the handle, so you must share it before using this function.
◆ Handle()
Returns C-API style handle to Node Object.
- Returns
- C-API handle
◆ SetWindowSize()
void SetWindowSize |
( |
int |
windowSize | ) |
const |
|
inline |
Sets window size for the calculation of normals (used for the classification of the target faces).
If WindowSize is set to zero, the window size will be calculated automatically. If it is an even number, it will be extended with one.
- Note
- This function only apply for dense point cloud segmentors, where the segmentation method #KmeansClustering is applied.
- Parameters
-
[in] | windowSize | Side length of squared window. |
- Exceptions
-
◆ WindowSize()
Gets window size for calculation of normals (used for the classification of the target faces).
If WindowSize is set to zero, the window size will be calculated automatically.
- Note
- This function only apply for dense point cloud segmentors, where the segmentation method #KmeansClustering is applied.
- Returns
- Side length of squared window.
- Exceptions
-