DNC finder used to perform a search on a point cloud. More...
#include <cvb/dnc/finder.hpp>
Public Member Functions | |
void * | Handle () const noexcept |
Classic API node handle. More... | |
std::vector< SearchResult > | Find (const DensePointCloud &pointCloud, const SearchParameters ¶meters) |
Search for objects on the given point cloud. More... | |
void | Save (const String &fileName) |
Saves the finder to the given file name. More... | |
std::tuple< TeachParameters, double, double > | GetTeachParameters () |
Gets the TeachParameters with which this Finder was trained. More... | |
Static Public Member Functions | |
static std::unique_ptr< Finder > | Load (const String &fileName) |
Loads a finder from the given file name. More... | |
static std::unique_ptr< Finder > | FromHandle (HandleGuard< Finder > &&guard) |
Creates a finder from a classic API handle. More... | |
DNC finder used to perform a search on a point cloud.
|
inline |
Search for objects on the given point cloud.
[in] | pointCloud | PointCloud to search on. |
[in] | parameters | Search parameters to use. |
Any | exception derived from std::exception including CvbException. |
|
inlinestatic |
Creates a finder from a classic API handle.
[in] | guard | Life time guard for C-API handle. |
Any | exception derived from std::exception including CvbException. |
The finder takes ownership of the handle, so you must share it before using this function.
|
inline |
Gets the TeachParameters with which this Finder was trained.
Any | exception derived from std::exception including CvbException. |
|
inlinenoexcept |
Classic API node handle.
Does | not throw any exception. |
It is normally not necessary to work with this handle.
|
inlinestatic |
Loads a finder from the given file name.
[in] | fileName | File to load |
Any | exception derived from std::exception including CvbException. |
|
inline |
Saves the finder to the given file name.
[in] | fileName | Path to save the finder to. |
Any | exception derived from std::exception including CvbException. |