![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Vision/MarkerConfiguration.h>
Describes the configuration of a marker calibration target. More...
Inheritance diagram for MarkerConfiguration:Describes the configuration of a marker calibration target.
Classes | |
| struct | AprilTagBoardInfo |
| Information about a board of AprilTags. More... | |
| struct | AprilTagInfo |
| Information about a single AprilTag. More... | |
| struct | ArucoBoardInfo |
| Information about a board of Aruco markers. More... | |
| struct | ArucoMarkerInfo |
| Information about a single Aruco marker. More... | |
| struct | CharucoBoardInfo |
| Information about a Charuco board. More... | |
| struct | ChessboardInfo |
| Information about a chessboard. More... | |
| struct | CircleBoardDetectorParameters |
| Detector parameters for Circle Board markers. More... | |
| struct | CircleBoardInfo |
| Information about a circle board. More... | |
| struct | DetectorParameters |
| Detector parameters for Aruco markers, boards and Charuco boards. More... | |
| struct | STagInfo |
| Information about a single STag. More... | |
Public Types | |
| enum | MarkerType { ArucoMarker , CharucoBoard , Chessboard , ArucoBoard , CircleBoard , AprilTag , AprilTagBoard , STag } |
| enum class | AprilTagFamily { Tag16h5 = 0 , Tag25h9 , Tag36h10 , Tag36h11 , TagCircle21h7 , TagCircle49h12 , TagCustom48h12 , TagStandard41h12 , TagStandard52h13 } |
| AprilTag families. | |
Public Member Functions | |
| bool | valid (std::string *error=nullptr) const |
| void | setMarkerType (MarkerType type) |
| Set Marker type. | |
| MarkerType | markerType () const |
| Get Marker type. | |
| void | setChessboardParameters (const ChessboardInfo ¶ms) |
| Set Chesssboard parameters. | |
| ChessboardInfo | chessboardParameters () const |
| Get Chesssboard parameters. | |
| void | setCharucoBoardParameters (const CharucoBoardInfo ¶ms) |
| Set Charuco parameters. | |
| CharucoBoardInfo | CharucoBoardParameters () const |
| Get Charuco parameters. | |
| void | addArucoMarker (const ArucoMarkerInfo ¶ms) |
| Add Aruco marker with specified parameters. | |
| void | setArucoMarker (const ArucoMarkerInfo ¶ms) |
| Set Aruco marker with specified parameters (erases all previous Aruco markers) | |
| std::vector< ArucoMarkerInfo > | ArucoMarkers () const |
| Get Aruco markers. | |
| void | setArucoBoardParameters (const ArucoBoardInfo ¶ms) |
| Set Aruco parameters. | |
| ArucoBoardInfo | ArucoBoardParameters () const |
| Get Aruco parameters. | |
| void | setCircleBoardParameters (const CircleBoardInfo ¶ms) |
| Set Circle Board parameters. | |
| CircleBoardInfo | circleBoardParameters () const |
| Get Circle Board parameters. | |
| void | addAprilTag (const AprilTagInfo ¶ms) |
| Add AprilTag with specified parameters. | |
| void | setAprilTag (const AprilTagInfo ¶ms) |
| Set AprilTag with specified parameters (erases all previous AprilTags) | |
| std::vector< AprilTagInfo > | AprilTags () const |
| Get AprilTags. | |
| void | setAprilTagBoardParameters (const AprilTagBoardInfo ¶ms) |
| Set AprilTag Board parameters. | |
| AprilTagBoardInfo | AprilTagBoardParameters () const |
| Get AprilTag Board parameters. | |
| void | addSTag (const STagInfo ¶ms) |
| Add STag with specified parameters. | |
| void | setSTag (const STagInfo ¶ms) |
| Set STag with specified parameters (erases all previous STags) | |
| std::vector< STagInfo > | STags () const |
| Get STags. | |
| std::vector< vec3 > | markerPoints () const |
| void | clear (bool switchToChessboard=true) |
| Clears the configuration and sets it to default. | |
| void | configure (const Properties *p) override |
| Load configuration from properties. | |
| void | configuration (Properties *p) const override |
| Store configuration to properties. | |
| void | configure (const Properties *p, DetectorParameters ¶ms) |
| Load detector parameters from properties. | |
| void | configuration (Properties *p, const DetectorParameters ¶ms) const |
| Store detector parameters to properties. | |
| void | configure (const Properties *p, CircleBoardDetectorParameters ¶ms) |
| Load detector parameters from properties. | |
| void | configuration (Properties *p, const CircleBoardDetectorParameters ¶ms) const |
| Store detector parameters to properties. | |
Public Member Functions inherited from Configurable | |
| virtual void | configureDefaults () |
| Retrieve the properties of this object, replaces values with their defaults and sets it again. | |
| void | registerParameter (ParameterBase *param) |
| Register the given Parameter or SubProperty, so that it will be configured during configure()/configuration(). | |
| void | unregisterParameter (const ParameterBase *param) |
| Remove the given Parameter or SubProperty from the list of registered parameters. | |
| Configurable (const Configurable &rhs) | |
| Configurable (Configurable &&rhs) noexcept | |
| Configurable & | operator= (const Configurable &) |
| Configurable & | operator= (Configurable &&) noexcept |
Public Attributes | |
| Signal< MarkerConfiguration::MarkerType > | signalMarkerTypeChanged |
| Signal emitted when the board type changes. | |
| Signal | signalMarkerConfigurationChanged |
| Signal emitted when marker configuration changes (not the marker type - for the marker type use signalMarkerTypeChanged) | |
Public Attributes inherited from Configurable | |
| Signal | signalParametersChanged |
Emitted whenever one of the registered Parameters' or SubPropertys' signalValueChanged signal was emitted. | |
Additional Inherited Members | |
Protected Attributes inherited from Configurable | |
| std::vector< Param > | m_params |
| List of all registered Parameter and SubProperty instances. | |
|
overridevirtual |
Load configuration from properties.
Reimplemented from Configurable.
|
overridevirtual |
Store configuration to properties.
Reimplemented from Configurable.