Public Member Functions | Protected Member Functions | Protected Attributes

iCub::contrib::AttentionLoggerModule Class Reference

AttentionLogger Module class. More...

#include <AttentionLoggerModule.h>

Public Member Functions

virtual bool open (yarp::os::Searchable &config)
virtual bool close ()
virtual bool interruptModule ()
virtual bool updateModule ()

Protected Member Functions

void convertRobMatrix (RobMatrix &robMatrix, double *matrix)
void calcGazeVector (double *rotCamera2World, double *gaze)
void calcGazePixel (double &azimuth, double &elevation, int &gazeX, int &gazeY)
void calcAngles (double *gaze, double &azimuth, double &elevation)
void transpose (double *src, double *dst)
void colorRgbFromFloat (IplImage *imgFloat, IplImage *imgRgb, float scaleFactor)

Protected Attributes

yarp::os::BufferedPort
< yarp::sig::ImageOf
< yarp::sig::PixelFloat > > 
_prtEgoSalience
yarp::os::BufferedPort
< yarp::sig::ImageOf
< yarp::sig::PixelRgb > > 
_prtEgoRgb
yarp::os::BufferedPort
< yarp::sig::ImageOf
< yarp::sig::PixelRgb > > 
_prtEgoIOR
yarp::os::BufferedPort
< yarp::sig::VectorOf< double > > 
_prtGazeTarget
yarp::os::BufferedPort
< yarp::os::Bottle > 
_configPort
yarp::sig::ImageOf
< yarp::sig::PixelRgb > 
_imgEgoSalienceRgb
yarp::dev::PolyDriver _dd
yarp::dev::IEncoders * _iEnc
double * _encoders
int _numAxes
iCubHeadKinematics _headKin
RobMatrix _eyeMatrix
double * _gaze
double * _rotW2C
double * _rotC2W
double _azimuth
double _elevation
int _gazeX
int _gazeY
int _egoImageWidth
int _egoImageHeight
bool _flagNewTarget
std::ofstream _logFile
std::stringstream _sstream
int _targetIndex
double _targetPosDegX
double _targetPosDegY
double _targetPosDegXOld
double _targetPosDegYOld
int _targetPosPixX
int _targetPosPixY
int _targetPosPixXOld
int _targetPosPixYOld
double _timeStart
std::string _logFileName
std::string _logDirName

Detailed Description

AttentionLogger Module class.

See also:
attentionLogger

Definition at line 48 of file AttentionLoggerModule.h.


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