$search

Tracking::EdgeTracker Class Reference

class EdgeTracker More...

#include <EdgeTracker.h>

Inheritance diagram for Tracking::EdgeTracker:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void drawResult (float linewidth=1.0f)
 Draw all models.
 EdgeTracker ()
virtual void image_processing (unsigned char *image, int model_id, const TomGine::tgPose &p, GLenum format=GL_BGR)
 Perform image processing with edge detection, painting the model with id as virtual object into image.
virtual void image_processing (unsigned char *image, const TomGine::tgModel &m, const TomGine::tgPose &p, GLenum format=GL_BGR)
 Perform image processing with edge detection, painting a virtual object into the image.
virtual void image_processing (unsigned char *image, GLenum format=GL_BGR)
 Perform image processing with edge detection.
virtual bool initInternal ()
virtual bool track (int id)
 Tracks model by id by matching their edges against edges of images.
virtual bool track ()
 Tracks all models by matching their edges against edges of images.

Private Member Functions

void particle_filtering (ModelEntry *modelEntry)

Private Attributes

Shaderm_shadeEdgeCompare

Detailed Description

class EdgeTracker

Definition at line 17 of file EdgeTracker.h.


Constructor & Destructor Documentation

EdgeTracker::EdgeTracker (  ) 

Definition at line 85 of file EdgeTracker.cpp.


Member Function Documentation

void EdgeTracker::drawResult ( float  linewidth = 1.0f  )  [virtual]

Draw all models.

Implements Tracking::Tracker.

Definition at line 144 of file EdgeTracker.cpp.

virtual void Tracking::EdgeTracker::image_processing ( unsigned char *  image,
int  model_id,
const TomGine::tgPose pose,
GLenum  format = GL_BGR 
) [inline, virtual]

Perform image processing with edge detection, painting the model with id as virtual object into image.

Parameters:
image image data
model_id id of the model
pose position and orientation of the virtual object in world space
format data format

Implements Tracking::Tracker.

Definition at line 35 of file EdgeTracker.h.

void EdgeTracker::image_processing ( unsigned char *  image,
const TomGine::tgModel model,
const TomGine::tgPose pose,
GLenum  format = GL_BGR 
) [virtual]

Perform image processing with edge detection, painting a virtual object into the image.

Parameters:
image image data
model geometry of virtual object
pose position and orientation of the virtual object in world space
format data format

Implements Tracking::Tracker.

Definition at line 26 of file EdgeTracker.cpp.

void EdgeTracker::image_processing ( unsigned char *  image,
GLenum  format = GL_BGR 
) [virtual]

Perform image processing with edge detection.

Parameters:
image image data
format data format

Implements Tracking::Tracker.

Definition at line 10 of file EdgeTracker.cpp.

bool EdgeTracker::initInternal (  )  [virtual]

Implements Tracking::Tracker.

Definition at line 94 of file EdgeTracker.cpp.

void EdgeTracker::particle_filtering ( ModelEntry modelEntry  )  [private]

Definition at line 51 of file EdgeTracker.cpp.

bool EdgeTracker::track ( int  id  )  [virtual]

Tracks model by id by matching their edges against edges of images.

Parameters:
id the id of the model given by addModel() or addModelFromFile()

Implements Tracking::Tracker.

Definition at line 129 of file EdgeTracker.cpp.

bool EdgeTracker::track (  )  [virtual]

Tracks all models by matching their edges against edges of images.

Implements Tracking::Tracker.

Definition at line 111 of file EdgeTracker.cpp.


Member Data Documentation

Definition at line 22 of file EdgeTracker.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


blort
Author(s): Michael Zillich, Thomas Mörwald, Johann Prankl, Andreas Richtsfeld, Bence Magyar (ROS version)
autogenerated on Fri Mar 1 16:57:59 2013