Zivid C++ API  2.4.2+1a2e8cfb-1
Defining the Future of 3D Machine Vision
Public Member Functions | List of all members
Zivid::Calibration::DetectionResult Class Reference

A result returned by the detectFeaturePoints(...) call More...

#include <Zivid/Calibration/DetectionResult.h>

Public Member Functions

ZIVID_CORE_EXPORT bool valid () const
 Test if DetectionResult is valid. More...
 
ZIVID_CORE_EXPORT operator bool () const
 Test if DetectionResult is valid. More...
 
ZIVID_CORE_EXPORT PointXYZ centroid () const
 Get the centroid of the detected feature points in camera-space. More...
 
ZIVID_CORE_EXPORT std::string toString () const
 Get string representation of DetectionResult More...
 

Detailed Description

A result returned by the detectFeaturePoints(...) call

Member Function Documentation

◆ centroid()

ZIVID_CORE_EXPORT PointXYZ Zivid::Calibration::DetectionResult::centroid ( ) const

Get the centroid of the detected feature points in camera-space.

If valid() is false, an exception will be thrown.

Returns
The XYZ position of the feature point centroid.

◆ operator bool()

ZIVID_CORE_EXPORT Zivid::Calibration::DetectionResult::operator bool ( ) const
explicit

Test if DetectionResult is valid.

DetectionResult is valid if all the feature points were detected.

Returns
True if DetectionResult is valid.

◆ toString()

ZIVID_CORE_EXPORT std::string Zivid::Calibration::DetectionResult::toString ( ) const

Get string representation of DetectionResult

Returns
DetectionResult as string

◆ valid()

ZIVID_CORE_EXPORT bool Zivid::Calibration::DetectionResult::valid ( ) const

Test if DetectionResult is valid.

DetectionResult is valid if all the feature points were detected.

Returns
True if DetectionResult is valid.

The documentation for this class was generated from the following file: