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

#include <visionobj.h>

+ Inheritance diagram for VisionObj:

Public Member Functions

 VisionObj (std::string name, double dimx, double dimy, double dimz, double posx, double posy, double posz, double rotx, double roty, double rotz, int r, int g, int b, double alpha, std::string &label)
 
 ~VisionObj ()
 
void set (double dimx, double dimy, double dimz, double posx, double posy, double posz, double rotx, double roty, double rotz, int r, int g, int b, double alpha, std::string &label)
 
void draw ()
 
- 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

int mW
 
int mH
 
bool bTextured
 
unsigned char * mTextureBuffer
 
std::string optional_label
 

Protected Attributes

GLuint nTexID
 
double mDimx
 
double mDimy
 
double mDimz
 
double mPosx
 
double mPosy
 
double mPosz
 
double mRotx
 
double mRoty
 
double mRotz
 
- 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 200 of file visionobj.h.

Constructor & Destructor Documentation

◆ VisionObj()

VisionObj::VisionObj ( std::string  name,
double  dimx,
double  dimy,
double  dimz,
double  posx,
double  posy,
double  posz,
double  rotx,
double  roty,
double  rotz,
int  r,
int  g,
int  b,
double  alpha,
std::string &  label 
)
inline

Definition at line 203 of file visionobj.h.

◆ ~VisionObj()

VisionObj::~VisionObj ( )
inline

Definition at line 218 of file visionobj.h.

Member Function Documentation

◆ draw()

void VisionObj::draw ( )
inlinevirtual

Implements GuiObj.

Definition at line 237 of file visionobj.h.

◆ set()

void VisionObj::set ( double  dimx,
double  dimy,
double  dimz,
double  posx,
double  posy,
double  posz,
double  rotx,
double  roty,
double  rotz,
int  r,
int  g,
int  b,
double  alpha,
std::string &  label 
)
inline

Definition at line 224 of file visionobj.h.

Member Data Documentation

◆ bTextured

bool VisionObj::bTextured

Definition at line 372 of file visionobj.h.

◆ mDimx

double VisionObj::mDimx
protected

Definition at line 378 of file visionobj.h.

◆ mDimy

double VisionObj::mDimy
protected

Definition at line 378 of file visionobj.h.

◆ mDimz

double VisionObj::mDimz
protected

Definition at line 378 of file visionobj.h.

◆ mH

int VisionObj::mH

Definition at line 371 of file visionobj.h.

◆ mPosx

double VisionObj::mPosx
protected

Definition at line 379 of file visionobj.h.

◆ mPosy

double VisionObj::mPosy
protected

Definition at line 379 of file visionobj.h.

◆ mPosz

double VisionObj::mPosz
protected

Definition at line 379 of file visionobj.h.

◆ mRotx

double VisionObj::mRotx
protected

Definition at line 380 of file visionobj.h.

◆ mRoty

double VisionObj::mRoty
protected

Definition at line 380 of file visionobj.h.

◆ mRotz

double VisionObj::mRotz
protected

Definition at line 380 of file visionobj.h.

◆ mTextureBuffer

unsigned char* VisionObj::mTextureBuffer

Definition at line 373 of file visionobj.h.

◆ mW

int VisionObj::mW

Definition at line 371 of file visionobj.h.

◆ nTexID

GLuint VisionObj::nTexID
protected

Definition at line 377 of file visionobj.h.

◆ optional_label

std::string VisionObj::optional_label

Definition at line 374 of file visionobj.h.


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