Visual Servoing Platform  version 3.3.0
vpTracker Class Reference

#include <vpTracker.h>

+ Inheritance diagram for vpTracker:

Public Member Functions

void init ()
 
 vpTracker ()
 
 vpTracker (const vpTracker &tracker)
 
vpTrackeroperator= (const vpTracker &tracker)
 
virtual ~vpTracker ()
 

Public Attributes

vpColVector p
 
vpColVector cP
 
bool cPAvailable
 

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

Constructor & Destructor Documentation

◆ vpTracker() [1/2]

vpTracker::vpTracker ( )

Default constructor.

Definition at line 48 of file vpTracker.cpp.

◆ vpTracker() [2/2]

vpTracker::vpTracker ( const vpTracker tracker)

Copy constructor.

Definition at line 50 of file vpTracker.cpp.

◆ ~vpTracker()

virtual vpTracker::~vpTracker ( )
inlinevirtual

Destructor.

Definition at line 93 of file vpTracker.h.

Member Function Documentation

◆ init()

void vpTracker::init ( )

Default initialization.

Definition at line 46 of file vpTracker.cpp.

Referenced by vpMeTracker::init().

◆ operator=()

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

Copy operator.

Definition at line 52 of file vpTracker.cpp.

References cP, cPAvailable, and p.

Member Data Documentation

◆ cP

vpColVector vpTracker::cP

Feature coordinates expressed in the camera frame cP.

Definition at line 74 of file vpTracker.h.

Referenced by vpCircle::init(), vpSphere::init(), vpCylinder::init(), operator=(), and vpPose::printPoint().

◆ cPAvailable

bool vpTracker::cPAvailable

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

Definition at line 80 of file vpTracker.h.

Referenced by operator=().

◆ p

vpColVector vpTracker::p

Feature coordinates expressed in the image plane p. They correspond to 2D normalized coordinates expressed in meters.

Definition at line 70 of file vpTracker.h.

Referenced by vpCircle::display(), vpSphere::display(), vpProjectionDisplay::display(), vpProjectionDisplay::displayCamera(), vpCircle::init(), vpSphere::init(), vpMeTracker::init(), vpCylinder::init(), operator=(), and vpPose::printPoint().