iCub-main
|
#include <TouchSensor.h>
Public Member Functions | |
void | setColor (unsigned char r, unsigned char g, unsigned char b) |
void | setCalibrationFlag (bool use_calibrated_skin) |
void | resize (int width, int height, int margin) |
virtual | ~TouchSensor () |
int | Abs (int x) |
int | get_nTaxels () |
void | eval_light (unsigned char *image) |
void | eval (unsigned char *image) |
void | setActivationFirst7 (unsigned char *data) |
void | setActivationLast5 (unsigned char *data) |
void | setActivationFromPortData (double val, int id) |
virtual void | draw (unsigned char *image) |
Public Attributes | |
int | min_tax |
int | max_tax |
Protected Member Functions | |
TouchSensor () | |
void | dither (int x, int y, unsigned char *image) |
void | drawLine (unsigned char *image, int x0, int y0, int x1, int y1) |
void | drawCircle (unsigned char *image, int cx, int cy, double radius) |
Protected Attributes | |
bool | calibrated_skin |
double | dX [MAX_TAXELS] |
double | dY [MAX_TAXELS] |
double | dXv [8] |
double | dYv [8] |
double | dXc |
double | dYc |
double | dGain |
int | ilayoutNum |
int | ilrMirror |
double | m_Radius |
double | m_RadiusOrig |
double | activation [MAX_TAXELS] |
double | remapped_activation [MAX_TAXELS] |
bool | connected [MAX_TAXELS] |
unsigned char | R_MAX |
unsigned char | G_MAX |
unsigned char | B_MAX |
int | m_maxRangeLight |
int | x [MAX_TAXELS] |
int | y [MAX_TAXELS] |
int | xv [8] |
int | yv [8] |
int | nVerts |
int | nTaxels |
int | xMin |
int | xMax |
int | yMin |
int | yMax |
int | m_Width |
int | m_Height |
Static Protected Attributes | |
static double | dXmin = VERY_FAR |
static double | dXmax =-VERY_FAR |
static double | dYmin = VERY_FAR |
static double | dYmax =-VERY_FAR |
static int | m_maxRange =0 |
static double * | Exponential =0 |
Definition at line 20 of file TouchSensor.h.
|
inlineprotected |
Definition at line 26 of file TouchSensor.h.
|
inlinevirtual |
Definition at line 109 of file TouchSensor.h.
|
inline |
Definition at line 118 of file TouchSensor.h.
|
inlineprotected |
Definition at line 289 of file TouchSensor.h.
|
inlinevirtual |
Reimplemented in Triangle_10pad, PalmR, PalmL, fakePalm, CER_SH_TP, CER_SH_TD, CER_SH_PP, CER_SH_PDR, and CER_SH_PDL.
Definition at line 275 of file TouchSensor.h.
|
inlineprotected |
Definition at line 353 of file TouchSensor.h.
|
inlineprotected |
Definition at line 340 of file TouchSensor.h.
|
inline |
Definition at line 177 of file TouchSensor.h.
|
inline |
Definition at line 128 of file TouchSensor.h.
|
inline |
Definition at line 123 of file TouchSensor.h.
|
inline |
Definition at line 48 of file TouchSensor.h.
|
inline |
Definition at line 237 of file TouchSensor.h.
|
inline |
Definition at line 252 of file TouchSensor.h.
|
inline |
Definition at line 244 of file TouchSensor.h.
|
inline |
Definition at line 43 of file TouchSensor.h.
|
inline |
Definition at line 36 of file TouchSensor.h.
|
protected |
Definition at line 391 of file TouchSensor.h.
|
protected |
Definition at line 395 of file TouchSensor.h.
|
protected |
Definition at line 24 of file TouchSensor.h.
|
protected |
Definition at line 393 of file TouchSensor.h.
|
protected |
Definition at line 386 of file TouchSensor.h.
|
protected |
Definition at line 382 of file TouchSensor.h.
|
protected |
Definition at line 385 of file TouchSensor.h.
|
staticprotected |
Definition at line 383 of file TouchSensor.h.
|
staticprotected |
Definition at line 383 of file TouchSensor.h.
|
protected |
Definition at line 384 of file TouchSensor.h.
|
protected |
Definition at line 382 of file TouchSensor.h.
|
protected |
Definition at line 385 of file TouchSensor.h.
|
staticprotected |
Definition at line 383 of file TouchSensor.h.
|
staticprotected |
Definition at line 383 of file TouchSensor.h.
|
protected |
Definition at line 384 of file TouchSensor.h.
|
staticprotected |
Definition at line 399 of file TouchSensor.h.
|
protected |
Definition at line 395 of file TouchSensor.h.
|
protected |
Definition at line 387 of file TouchSensor.h.
|
protected |
Definition at line 388 of file TouchSensor.h.
|
protected |
Definition at line 410 of file TouchSensor.h.
|
staticprotected |
Definition at line 398 of file TouchSensor.h.
|
protected |
Definition at line 397 of file TouchSensor.h.
|
protected |
Definition at line 390 of file TouchSensor.h.
|
protected |
Definition at line 390 of file TouchSensor.h.
|
protected |
Definition at line 410 of file TouchSensor.h.
int TouchSensor::max_tax |
Definition at line 414 of file TouchSensor.h.
int TouchSensor::min_tax |
Definition at line 413 of file TouchSensor.h.
|
protected |
Definition at line 406 of file TouchSensor.h.
|
protected |
Definition at line 405 of file TouchSensor.h.
|
protected |
Definition at line 395 of file TouchSensor.h.
|
protected |
Definition at line 392 of file TouchSensor.h.
|
protected |
Definition at line 402 of file TouchSensor.h.
|
protected |
Definition at line 408 of file TouchSensor.h.
|
protected |
Definition at line 408 of file TouchSensor.h.
|
protected |
Definition at line 403 of file TouchSensor.h.
|
protected |
Definition at line 402 of file TouchSensor.h.
|
protected |
Definition at line 408 of file TouchSensor.h.
|
protected |
Definition at line 408 of file TouchSensor.h.
|
protected |
Definition at line 403 of file TouchSensor.h.