Visual Servoing Platform  version 3.6.1 under development (2024-04-25)
vpTracker Class Reference

#include <visp3/core/vpTracker.h>

+ Inheritance diagram for vpTracker:

Public Member Functions

Public Member Functions Inherited from vpTracker
vpColVector get_p () const
 
vpColVector get_cP () const
 
vpTrackeroperator= (const vpTracker &tracker)
 

Protected Member Functions

Protected Member Functions Inherited from vpTracker
void init ()
 

Public Attributes Inherited from vpTracker

vpColVector p
 
vpColVector cP
 
bool cPAvailable
 
 vpTracker ()
 
 vpTracker (const vpTracker &tracker)
 
virtual ~vpTracker ()
 

Detailed Description

Class that defines what is a feature generic tracker.

A tracker is able to track features with parameters expressed in:

  • in the camera frame cP. These parameters are located in the public attribute vpTracker::cP.
  • in the image plane p. These parameters are located in the public attribute vpTracker::p. They correspond to normalized coordinates of the feature expressed in meters.

Definition at line 58 of file vpTracker.h.

Constructor & Destructor Documentation

◆ vpTracker() [1/2]

vpTracker::vpTracker ( )

Default constructor.

Definition at line 46 of file vpTracker.cpp.

◆ vpTracker() [2/2]

vpTracker::vpTracker ( const vpTracker tracker)

Copy constructor.

Definition at line 48 of file vpTracker.cpp.

◆ ~vpTracker()

virtual vpTracker::~vpTracker ( )
inlinevirtual

Destructor.

Definition at line 86 of file vpTracker.h.

Member Function Documentation

◆ get_cP()

vpColVector vpTracker::get_cP ( ) const
inline

Return object parameters expressed in the 3D camera frame.

Definition at line 93 of file vpTracker.h.

◆ get_p()

vpColVector vpTracker::get_p ( ) const
inline

Return object parameters expressed in the 2D image plane computed by perspective projection.

Definition at line 91 of file vpTracker.h.

◆ init()

void vpTracker::init ( )
protected

Default initialization.

Definition at line 44 of file vpTracker.cpp.

References cPAvailable.

Referenced by vpMeTracker::init().

◆ operator=()

vpTracker & vpTracker::operator= ( const vpTracker tracker)

Copy operator.

Definition at line 50 of file vpTracker.cpp.

References cP, cPAvailable, and p.

Member Data Documentation

◆ cP

◆ cPAvailable

bool vpTracker::cPAvailable

Flag used to indicate if the feature parameters cP expressed in the camera frame are available.

Definition at line 77 of file vpTracker.h.

Referenced by init(), and operator=().

◆ p