Visual Servoing Platform  version 3.4.0
vpTracker Class Reference

#include <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::vpTracker ( )

Default constructor.

Definition at line 49 of file vpTracker.cpp.

vpTracker::vpTracker ( const vpTracker tracker)

Copy constructor.

Definition at line 51 of file vpTracker.cpp.

virtual vpTracker::~vpTracker ( )
inlinevirtual

Destructor.

Definition at line 92 of file vpTracker.h.

Member Function Documentation

vpColVector vpTracker::get_cP ( ) const
inline

Return object parameters expressed in the 3D camera frame.

Definition at line 99 of file vpTracker.h.

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.

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().

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

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=().