Public Member Functions | Public Attributes | List of all members
alvar::ExternalContainer Class Reference

Basic structure to be usable with EC methods. More...

#include <EC.h>

Inheritance diagram for alvar::ExternalContainer:
Inheritance graph
[legend]

Public Member Functions

 ExternalContainer ()
 
 ExternalContainer (const ExternalContainer &c)
 

Public Attributes

bool has_p2d
 
bool has_p3d
 
CvPoint2D32f p2d
 
CvPoint3D32f p3d
 
CvPoint2D32f projected_p2d
 
int type_id
 

Detailed Description

Basic structure to be usable with EC methods.

You can inherit your own classes/structures from this or make one with similar members.

The idea is that the EC-versions store the data externally in a map of features that are based on the structure ExternalContainer . The ExternalContainer has certain predefined fields that are used/needed by different methods. Below is a summary of some main methods for reading (r) and writing (w) in the external container.

type_id has_p2d has_p3d p2d p3d projected_p2d
TrackerFeaturesEC::Track (r)w rw rw
CameraEC::Undistort (r) rw rw
CameraEC::Distort (r) rw rw
CameraEC::CalcExteriorOrientation (r) r r r r
CameraEC::UpdatePose (r) r r r r
CameraEC::Reproject (r) (r) (r) r r w
CameraEC::EraseUsingReprojectionError (r) (r) (r) r
MarkerDetectorEC::Detect rw w w
MarkerDetectorEC::MarkerToEC w w w
MultiMarkerEC::MarkersToEC w w w

Definition at line 152 of file EC.h.

Constructor & Destructor Documentation

alvar::ExternalContainer::ExternalContainer ( )
inline

Definition at line 160 of file EC.h.

alvar::ExternalContainer::ExternalContainer ( const ExternalContainer c)
inline

Definition at line 161 of file EC.h.

Member Data Documentation

bool alvar::ExternalContainer::has_p2d

Definition at line 155 of file EC.h.

bool alvar::ExternalContainer::has_p3d

Definition at line 156 of file EC.h.

CvPoint2D32f alvar::ExternalContainer::p2d

Definition at line 157 of file EC.h.

CvPoint3D32f alvar::ExternalContainer::p3d

Definition at line 158 of file EC.h.

CvPoint2D32f alvar::ExternalContainer::projected_p2d

Definition at line 159 of file EC.h.

int alvar::ExternalContainer::type_id

Definition at line 154 of file EC.h.


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


ar_track_alvar
Author(s): Scott Niekum
autogenerated on Thu Jun 6 2019 19:27:24