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

#include <Fingertip.h>

+ Inheritance diagram for Fingertip:

Public Member Functions

 Fingertip (double cx, double cy, double th, double gain=1.0, int layoutNum=0, int lrMirror=0)
 
- 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)
 
virtual void draw (unsigned char *image)
 

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 15 of file Fingertip.h.

Constructor & Destructor Documentation

◆ Fingertip()

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

Definition at line 18 of file Fingertip.h.


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