iCub-main
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
PARTICLEThread Class Reference

#include <particleFilter.h>

+ Inheritance diagram for PARTICLEThread:

Classes

struct  histogram
 
struct  particle
 

Public Types

typedef struct PARTICLEThread::histogram histogram
 
typedef struct PARTICLEThread::particle particle
 

Public Member Functions

 PARTICLEThread ()
 
 ~PARTICLEThread ()
 
bool threadInit ()
 
void threadRelease ()
 
void run ()
 
void setName (std::string module)
 
void setTemplate (yarp::sig::ImageOf< yarp::sig::PixelRgb > *tpl)
 
void pushTarget (yarp::sig::Vector &target, yarp::os::Stamp &stamp)
 
float getAverage ()
 
TemplateStruct getBestTemplate ()
 

Public Attributes

float average
 

Detailed Description

Definition at line 87 of file particleFilter.h.

Member Typedef Documentation

◆ histogram

◆ particle

Constructor & Destructor Documentation

◆ PARTICLEThread()

PARTICLEThread::PARTICLEThread ( )

Definition at line 64 of file particleFilter.cpp.

◆ ~PARTICLEThread()

PARTICLEThread::~PARTICLEThread ( )

Definition at line 45 of file particleFilter.cpp.

Member Function Documentation

◆ getAverage()

float PARTICLEThread::getAverage ( )

Definition at line 308 of file particleFilter.cpp.

◆ getBestTemplate()

TemplateStruct PARTICLEThread::getBestTemplate ( )

Definition at line 729 of file particleFilter.cpp.

◆ pushTarget()

void PARTICLEThread::pushTarget ( yarp::sig::Vector &  target,
yarp::os::Stamp &  stamp 
)

Definition at line 299 of file particleFilter.cpp.

◆ run()

void PARTICLEThread::run ( void  )

Definition at line 113 of file particleFilter.cpp.

◆ setName()

void PARTICLEThread::setName ( std::string  module)

Definition at line 85 of file particleFilter.cpp.

◆ setTemplate()

void PARTICLEThread::setTemplate ( yarp::sig::ImageOf< yarp::sig::PixelRgb > *  tpl)

Definition at line 294 of file particleFilter.cpp.

◆ threadInit()

bool PARTICLEThread::threadInit ( void  )

Definition at line 91 of file particleFilter.cpp.

◆ threadRelease()

void PARTICLEThread::threadRelease ( void  )

Definition at line 195 of file particleFilter.cpp.

Member Data Documentation

◆ average

float PARTICLEThread::average

Definition at line 112 of file particleFilter.h.


The documentation for this class was generated from the following files: