Visual Servoing Platform  version 3.5.0 under development (2022-02-15)
vpTracker Class Reference

#include <visp3/core/vpTracker.h>

+ Inheritance diagram for vpTracker:

Public Member Functions

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

Public Attributes

Public Attributes Inherited from vpTracker
vpColVector p
 
vpColVector cP
 
bool cPAvailable
 

Protected Member Functions

Protected Member Functions Inherited from vpTracker
void init ()
 

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 64 of file vpTracker.h.

Constructor & Destructor Documentation

◆ vpTracker() [1/2]

vpTracker::vpTracker ( )

Default constructor.

Definition at line 49 of file vpTracker.cpp.

◆ vpTracker() [2/2]

vpTracker::vpTracker ( const vpTracker tracker)

Copy constructor.

Definition at line 51 of file vpTracker.cpp.

◆ ~vpTracker()

virtual vpTracker::~vpTracker ( )
inlinevirtual

Destructor.

Definition at line 92 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 99 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 97 of file vpTracker.h.

◆ init()

void vpTracker::init ( )
protected

Default initialization.

Definition at line 47 of file vpTracker.cpp.

References cPAvailable.

Referenced by vpMeTracker::getNbPoints(), vpMeTracker::init(), vpForwardProjection::setDeallocate(), and vpDot::setGraphicsThickness().

◆ operator=()

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

Copy operator.

Definition at line 53 of file vpTracker.cpp.

References cP, cPAvailable, and p.

Referenced by vpDot::getHeight(), vpMeTracker::getNbPoints(), vpDot2::getPolygon(), and vpPoint::~vpPoint().

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 83 of file vpTracker.h.

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

◆ p