iCub-main
Public Member Functions | List of all members
CER_SH_TP Class Reference

#include <CER_SH_PDL.h>

+ Inheritance diagram for CER_SH_TP:

Public Member Functions

 CER_SH_TP (double cx, double cy, double th, double gain=1.0, int layoutNum=0, int lrMirror=0)
 
void draw (unsigned char *image)
 
- Public Member Functions inherited from TouchSensor
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)
 

Additional Inherited Members

- Public Attributes inherited from TouchSensor
int min_tax
 
int max_tax
 
- Protected Member Functions inherited from TouchSensor
 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 inherited from TouchSensor
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 inherited from TouchSensor
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
 

Detailed Description

Definition at line 451 of file CER_SH_PDL.h.

Constructor & Destructor Documentation

◆ CER_SH_TP()

CER_SH_TP::CER_SH_TP ( double  cx,
double  cy,
double  th,
double  gain = 1.0,
int  layoutNum = 0,
int  lrMirror = 0 
)
inline

Definition at line 455 of file CER_SH_PDL.h.

Member Function Documentation

◆ draw()

void CER_SH_TP::draw ( unsigned char *  image)
inlinevirtual

Reimplemented from TouchSensor.

Definition at line 527 of file CER_SH_PDL.h.


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