mrpt::opengl::CAxis Class Reference
Draw a 3D world axis, with coordinate marks at some regular interval.
More...
#include <mrpt/opengl/CAxis.h>
List of all members.
|
Public Member Functions |
| void | setAxisLimits (float xmin, float ymin, float zmin, float xmax, float ymax, float zmax) |
| void | setFrequency (float f) |
| | Changes the frequency of the "ticks".
|
| void | setLineWidth (float w) |
| float | getLineWidth () const |
| void | enableTickMarks (bool v=true) |
| void | render () const |
| | Render.
|
Static Public Member Functions |
| static CAxisPtr | Create (float xmin, float ymin, float zmin, float xmax, float ymax, float zmax, float frecuency=1, float lineWidth=3, bool marks=false) |
| | Class factory.
|
Protected Attributes |
| float | m_xmin |
| float | m_ymin |
| float | m_zmin |
| float | m_xmax |
| float | m_ymax |
| float | m_zmax |
| float | m_frecuency |
| float | m_lineWidth |
| bool | m_marks |
Private Member Functions |
| | CAxis (float xmin=-1.0f, float ymin=-1.0f, float zmin=-1.0f, float xmax=1.0f, float ymax=1.0f, float zmax=1.0f, float frecuency=0.25f, float lineWidth=3.0f, bool marks=false) |
| | Constructor.
|
| virtual | ~CAxis () |
| | Private, virtual destructor: only can be deleted from smart pointers.
|
Detailed Description
Draw a 3D world axis, with coordinate marks at some regular interval.
- See also:
- opengl::COpenGLScene
Definition at line 45 of file CAxis.h.
Constructor & Destructor Documentation
| mrpt::opengl::CAxis::CAxis |
( |
float |
xmin = -1.0f, |
|
|
float |
ymin = -1.0f, |
|
|
float |
zmin = -1.0f, |
|
|
float |
xmax = 1.0f, |
|
|
float |
ymax = 1.0f, |
|
|
float |
zmax = 1.0f, |
|
|
float |
frecuency = 0.25f, |
|
|
float |
lineWidth = 3.0f, |
|
|
bool |
marks = false | |
|
) |
| | [inline, private] |
Constructor.
Definition at line 86 of file CAxis.h.
| virtual mrpt::opengl::CAxis::~CAxis |
( |
|
) |
[inline, private, virtual] |
Private, virtual destructor: only can be deleted from smart pointers.
Definition at line 99 of file CAxis.h.
Member Function Documentation
| static CAxisPtr mrpt::opengl::CAxis::Create |
( |
float |
xmin, |
|
|
float |
ymin, |
|
|
float |
zmin, |
|
|
float |
xmax, |
|
|
float |
ymax, |
|
|
float |
zmax, |
|
|
float |
frecuency = 1, |
|
|
float |
lineWidth = 3, |
|
|
bool |
marks = false | |
|
) |
| | [inline, static] |
| void mrpt::opengl::CAxis::enableTickMarks |
( |
bool |
v = true |
) |
[inline] |
| float mrpt::opengl::CAxis::getLineWidth |
( |
|
) |
const [inline] |
| void mrpt::opengl::CAxis::render |
( |
|
) |
const [virtual] |
| void mrpt::opengl::CAxis::setAxisLimits |
( |
float |
xmin, |
|
|
float |
ymin, |
|
|
float |
zmin, |
|
|
float |
xmax, |
|
|
float |
ymax, |
|
|
float |
zmax | |
|
) |
| | [inline] |
| void mrpt::opengl::CAxis::setFrequency |
( |
float |
f |
) |
[inline] |
Changes the frequency of the "ticks".
Definition at line 62 of file CAxis.h.
References ASSERT_.
| void mrpt::opengl::CAxis::setLineWidth |
( |
float |
w |
) |
[inline] |
Member Data Documentation