iCub-main
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
GuiObj Class Referenceabstract

#include <visionobj.h>

+ Inheritance diagram for GuiObj:

Public Member Functions

 GuiObj (std::string &name, int r, int g, int b, double alpha)
 
virtual ~GuiObj ()
 
virtual void draw ()=0
 
bool operator== (std::string &name)
 

Protected Member Functions

void printw (float x, float y, float z, const char *text)
 

Protected Attributes

std::string mName
 
double mR
 
double mG
 
double mB
 
double mAlpha
 

Detailed Description

Definition at line 38 of file visionobj.h.

Constructor & Destructor Documentation

◆ GuiObj()

GuiObj::GuiObj ( std::string &  name,
int  r,
int  g,
int  b,
double  alpha 
)
inline

Definition at line 41 of file visionobj.h.

◆ ~GuiObj()

virtual GuiObj::~GuiObj ( )
inlinevirtual

Definition at line 48 of file visionobj.h.

Member Function Documentation

◆ draw()

virtual void GuiObj::draw ( )
pure virtual

Implemented in VisionObj, and TrajectoryObj.

◆ operator==()

bool GuiObj::operator== ( std::string &  name)
inline

Definition at line 51 of file visionobj.h.

◆ printw()

void GuiObj::printw ( float  x,
float  y,
float  z,
const char *  text 
)
inlineprotected

Definition at line 57 of file visionobj.h.

Member Data Documentation

◆ mAlpha

double GuiObj::mAlpha
protected

Definition at line 69 of file visionobj.h.

◆ mB

double GuiObj::mB
protected

Definition at line 69 of file visionobj.h.

◆ mG

double GuiObj::mG
protected

Definition at line 69 of file visionobj.h.

◆ mName

std::string GuiObj::mName
protected

Definition at line 68 of file visionobj.h.

◆ mR

double GuiObj::mR
protected

Definition at line 69 of file visionobj.h.


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