iCub-main
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
SkinMeshThreadPort Class Reference

#include <SkinMeshThreadPort.h>

+ Inheritance diagram for SkinMeshThreadPort:

Public Member Functions

 SkinMeshThreadPort (Searchable &config, int period)
 
 ~SkinMeshThreadPort ()
 
virtual bool threadInit ()
 
virtual void threadRelease ()
 
virtual void run ()
 
void resize (int width, int height)
 
void eval (unsigned char *image)
 
void draw (unsigned char *image)
 

Protected Attributes

BufferedPort< Bottle > skin_port
 
BufferedPort< Bottle > skin_port_virtual
 
TouchSensorsensor [MAX_SENSOR_NUM]
 
std::mutex mtx
 
int sensorsNum
 
bool mbSimpleDraw
 
std::vector< unsigned char > defaultColor
 
double skinThreshold
 

Static Protected Attributes

static const int MAX_SENSOR_NUM = 128
 

Detailed Description

Definition at line 43 of file SkinMeshThreadPort.h.

Constructor & Destructor Documentation

◆ SkinMeshThreadPort()

SkinMeshThreadPort::SkinMeshThreadPort ( Searchable &  config,
int  period 
)

Definition at line 16 of file SkinMeshThreadPort.cpp.

◆ ~SkinMeshThreadPort()

SkinMeshThreadPort::~SkinMeshThreadPort ( )
inline

Definition at line 64 of file SkinMeshThreadPort.h.

Member Function Documentation

◆ draw()

void SkinMeshThreadPort::draw ( unsigned char *  image)
inline

Definition at line 104 of file SkinMeshThreadPort.h.

◆ eval()

void SkinMeshThreadPort::eval ( unsigned char *  image)
inline

Definition at line 85 of file SkinMeshThreadPort.h.

◆ resize()

void SkinMeshThreadPort::resize ( int  width,
int  height 
)
inline

Definition at line 76 of file SkinMeshThreadPort.h.

◆ run()

void SkinMeshThreadPort::run ( )
virtual

Definition at line 257 of file SkinMeshThreadPort.cpp.

◆ threadInit()

bool SkinMeshThreadPort::threadInit ( )
virtual

Definition at line 248 of file SkinMeshThreadPort.cpp.

◆ threadRelease()

void SkinMeshThreadPort::threadRelease ( )
virtual

Definition at line 391 of file SkinMeshThreadPort.cpp.

Member Data Documentation

◆ defaultColor

std::vector<unsigned char> SkinMeshThreadPort::defaultColor
protected

Definition at line 57 of file SkinMeshThreadPort.h.

◆ MAX_SENSOR_NUM

const int SkinMeshThreadPort::MAX_SENSOR_NUM = 128
staticprotected

Definition at line 46 of file SkinMeshThreadPort.h.

◆ mbSimpleDraw

bool SkinMeshThreadPort::mbSimpleDraw
protected

Definition at line 55 of file SkinMeshThreadPort.h.

◆ mtx

std::mutex SkinMeshThreadPort::mtx
protected

Definition at line 52 of file SkinMeshThreadPort.h.

◆ sensor

TouchSensor* SkinMeshThreadPort::sensor[MAX_SENSOR_NUM]
protected

Definition at line 50 of file SkinMeshThreadPort.h.

◆ sensorsNum

int SkinMeshThreadPort::sensorsNum
protected

Definition at line 54 of file SkinMeshThreadPort.h.

◆ skin_port

BufferedPort<Bottle> SkinMeshThreadPort::skin_port
protected

Definition at line 48 of file SkinMeshThreadPort.h.

◆ skin_port_virtual

BufferedPort<Bottle> SkinMeshThreadPort::skin_port_virtual
protected

Definition at line 49 of file SkinMeshThreadPort.h.

◆ skinThreshold

double SkinMeshThreadPort::skinThreshold
protected

Definition at line 59 of file SkinMeshThreadPort.h.


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