Jafar
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
jafar::qdisplay::Line Class Reference

Detailed Description

Definition at line 9 of file Line.hpp.

List of all members.

Public Member Functions

 Line (double x1, double y1, double x2, double y2)
 Create an Line to use with a Viewer to display a basic shape.
void setColor (int r, int g, int b)
 Set the color of the line of the shape.
void setWidth (double _width)
 Set the width of the line.
void setPos (double x, double y)
 Set the position of the shape.
void setLabel (char *text)
void setFontSize (int s)

Private Attributes

QGraphicsTextItem * m_label
int m_fontSize

Member Function Documentation

void jafar::qdisplay::Line::setColor ( int  r,
int  g,
int  b 
)

Set the color of the line of the shape.

Parameters:
rred [0 to 255]
ggreen [0 to 255]
bblue [0 to 255]
void jafar::qdisplay::Line::setPos ( double  x,
double  y 
) [inline]

Set the position of the shape.

Parameters:
x
y

Definition at line 32 of file Line.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Wed Oct 15 2014 00:37:43 for Jafar by doxygen 1.7.6.1
LAAS-CNRS