gramods
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Attributes | List of all members
gramods::gmTrack::ArucoBoardComplex Class Reference

The Aruco board complex creates a potentially non-flat Aruco "board", or rig, by combinging a set of Aruco boards with different pose relative to the complex base. More...

#include <ArucoBoardComplex.hh>

Inheritance diagram for gramods::gmTrack::ArucoBoardComplex:
Inheritance graph
[legend]
Collaboration diagram for gramods::gmTrack::ArucoBoardComplex:
Collaboration graph
[legend]

Classes

struct  Impl
 

Public Member Functions

void addArucoBoard (std::shared_ptr< ArucoBoard > b)
 Add an Aruco board to the complex.
 
void addPosition (Eigen::Vector3f p)
 Add a board position of the complex, in xml as (x y z).
 
void addOrientation (Eigen::Quaternionf q)
 Add a board orientation.
 
cv::Ptr< cv::aruco::Board > getBoard () override
 Returns a reference to the board defined by this node.
 
void traverse (Visitor *visitor) override
 Propagates the specified visitor.
 
- Public Member Functions inherited from gramods::gmTrack::ArucoBoard
std::string getDefaultKey () override
 Returns the default key, in Configuration, for the Object.
 
- Public Member Functions inherited from gramods::gmCore::Object
 Object ()
 Initializes internal data.
 
virtual ~Object ()
 Cleaning up internal data.
 
virtual void initialize ()
 Called to initialize the Object.
 
virtual void accept (Visitor *visitor)
 Calls the visitors apply method with this as argument.
 
bool isInitialized ()
 Returns true if the Object is initialized.
 

Static Public Attributes

static gramods::gmCore::OFactory::OFactoryInformation _gm_ofi
 

Detailed Description

The Aruco board complex creates a potentially non-flat Aruco "board", or rig, by combinging a set of Aruco boards with different pose relative to the complex base.

Either only boards and no pose specifications are provided, and the specified boards have different positions and/or orientations, or an equal amount of boards and pose specifications must be provided.

Member Function Documentation

◆ addArucoBoard()

void gramods::gmTrack::ArucoBoardComplex::addArucoBoard ( std::shared_ptr< ArucoBoard b)

Add an Aruco board to the complex.

Either only boards and no pose specifications are provided, and the specified boards have different positions and/or orientations, or an equal amount of boards and pose specifications must be provided.

XML-attribute: arucoBoard

◆ addOrientation()

void gramods::gmTrack::ArucoBoardComplex::addOrientation ( Eigen::Quaternionf  q)

Add a board orientation.

Either only boards and no pose specifications are provided, and the specified boards have different positions and/or orientations, or an equal amount of boards and pose specifications must be provided.

XML-attribute: orientation

See also
gramods::operator>>(std::istream &, Eigen::Quaternionf &)

◆ addPosition()

void gramods::gmTrack::ArucoBoardComplex::addPosition ( Eigen::Vector3f  p)

Add a board position of the complex, in xml as (x y z).

Either only boards and no pose specifications are provided, and the specified boards have different positions and/or orientations, or an equal amount of boards and pose specifications must be provided. The offset follows OpenGL convention: x left, y up and z back (out of the board).

XML-attribute: position

◆ getBoard()

cv::Ptr< cv::aruco::Board > gramods::gmTrack::ArucoBoardComplex::getBoard ( )
overridevirtual

Returns a reference to the board defined by this node.

Implements gramods::gmTrack::ArucoBoard.

◆ traverse()

void gramods::gmTrack::ArucoBoardComplex::traverse ( Visitor visitor)
overridevirtual

Propagates the specified visitor.

See also
Object::Visitor

Reimplemented from gramods::gmCore::Object.


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