iCub-main
Public Member Functions | Public Attributes | Protected Attributes | List of all members
TrajectoryObj Class Reference

#include <visionobj.h>

+ Inheritance diagram for TrajectoryObj:

Public Member Functions

 TrajectoryObj (std::string name, std::string label, int bufflen, double persistence, int r, int g, int b, double alpha, GLfloat width, bool world)
 
void set (std::string &label, int bufflen, double persistence, int r, int g, int b, double alpha, double width)
 
void update (double x, double y, double z)
 
void draw ()
 
 ~TrajectoryObj ()
 
- Public Member Functions inherited from GuiObj
 GuiObj (std::string &name, int r, int g, int b, double alpha)
 
virtual ~GuiObj ()
 
bool operator== (std::string &name)
 

Public Attributes

bool bWorld
 

Protected Attributes

int mIndex
 
bool mFull
 
int mBufflen
 
double mPersistence
 
double * mX
 
double * mY
 
double * mZ
 
double * mT
 
std::string mLabel
 
GLfloat mWidth
 
- Protected Attributes inherited from GuiObj
std::string mName
 
double mR
 
double mG
 
double mB
 
double mAlpha
 

Additional Inherited Members

- Protected Member Functions inherited from GuiObj
void printw (float x, float y, float z, const char *text)
 

Detailed Description

Definition at line 72 of file visionobj.h.

Constructor & Destructor Documentation

◆ TrajectoryObj()

TrajectoryObj::TrajectoryObj ( std::string  name,
std::string  label,
int  bufflen,
double  persistence,
int  r,
int  g,
int  b,
double  alpha,
GLfloat  width,
bool  world 
)
inline

Definition at line 75 of file visionobj.h.

◆ ~TrajectoryObj()

TrajectoryObj::~TrajectoryObj ( )
inline

Definition at line 177 of file visionobj.h.

Member Function Documentation

◆ draw()

void TrajectoryObj::draw ( )
inlinevirtual

Implements GuiObj.

Definition at line 153 of file visionobj.h.

◆ set()

void TrajectoryObj::set ( std::string &  label,
int  bufflen,
double  persistence,
int  r,
int  g,
int  b,
double  alpha,
double  width 
)
inline

Definition at line 95 of file visionobj.h.

◆ update()

void TrajectoryObj::update ( double  x,
double  y,
double  z 
)
inline

Definition at line 139 of file visionobj.h.

Member Data Documentation

◆ bWorld

bool TrajectoryObj::bWorld

Definition at line 185 of file visionobj.h.

◆ mBufflen

int TrajectoryObj::mBufflen
protected

Definition at line 190 of file visionobj.h.

◆ mFull

bool TrajectoryObj::mFull
protected

Definition at line 189 of file visionobj.h.

◆ mIndex

int TrajectoryObj::mIndex
protected

Definition at line 188 of file visionobj.h.

◆ mLabel

std::string TrajectoryObj::mLabel
protected

Definition at line 196 of file visionobj.h.

◆ mPersistence

double TrajectoryObj::mPersistence
protected

Definition at line 191 of file visionobj.h.

◆ mT

double* TrajectoryObj::mT
protected

Definition at line 195 of file visionobj.h.

◆ mWidth

GLfloat TrajectoryObj::mWidth
protected

Definition at line 197 of file visionobj.h.

◆ mX

double* TrajectoryObj::mX
protected

Definition at line 192 of file visionobj.h.

◆ mY

double* TrajectoryObj::mY
protected

Definition at line 193 of file visionobj.h.

◆ mZ

double* TrajectoryObj::mZ
protected

Definition at line 194 of file visionobj.h.


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