void setRadius(double value)
set the radius of axes
double getRadius() const
get axis radius
void setYColor(QColor color)
set the color of the x-axis
Axis(LangmuirViewer &viewer, QObject *parent=0)
create the Axis
Base class for objects in OpenGL scene.
Definition: sceneobject.h:22
double m_length
axes length
Definition: axis.h:129
void setZColor(QColor color)
set the color of the x-axis
void zColorChanged(QColor color)
signal that the color of z-axis has changed
void yColorChanged(QColor color)
signal that the color of y-axis has changed
double m_radius
axes radius
Definition: axis.h:126
QColor m_ycolor
color of y-axis
Definition: axis.h:135
const QColor & getYColor() const
get color of y-axis
A class to represent an xyz axis.
Definition: axis.h:11
void setLength(double value)
set the length of axes
QColor m_xcolor
color of x-axis
Definition: axis.h:132
const QColor & getXColor() const
get color of x-axis
const QColor & getZColor() const
get color of z-axis
Widget to view Langmuir Simulation in real time.
Definition: langmuirviewer.h:47
void xColorChanged(QColor color)
signal that the color of x-axis has changed
virtual void init()
initialize object
void radiusChanged(double value)
signal that the axes radius has changed
virtual void draw()
perform OpenGL drawing operations
double getLength() const
get axis length
QColor m_zcolor
color of z-axis
Definition: axis.h:138
void setXColor(QColor color)
set the color of the x-axis
virtual void makeConnections()
make signal/slot connections
void lengthChanged(double value)
signal that the axes length has changed