mrpt::opengl::CArrow Class Reference
A 3D arrow.
More...
#include <mrpt/opengl/CArrow.h>
List of all members.
|
Public Member Functions |
| void | setArrowEnds (float x0, float y0, float z0, float x1, float y1, float z1) |
| void | setHeadRatio (float rat) |
| void | setSmallRadius (float rat) |
| void | setLargeRadius (float rat) |
| void | setArrowYawPitchRoll (float yaw, float pitch, float roll) |
| void | render () const |
| | Render.
|
Static Public Member Functions |
| static CArrowPtr | Create (float x0=0, float y0=0, float z0=0, float x1=1, float y1=1, float z1=1, float headRatio=0.2f, float smallRadius=0.05f, float largeRadius=0.2f, float arrow_roll=-1.0f, float arrow_pitch=-1.0f, float arrow_yaw=-1.0f) |
| | Class factory.
|
Protected Attributes |
| float | m_x0 |
| float | m_y0 |
| float | m_z0 |
| float | m_x1 |
| float | m_y1 |
| float | m_z1 |
| float | m_headRatio |
| float | m_smallRadius |
| float | m_largeRadius |
| float | m_arrow_roll |
| float | m_arrow_pitch |
| float | m_arrow_yaw |
Private Member Functions |
| | CArrow (float x0=0, float y0=0, float z0=0, float x1=1, float y1=1, float z1=1, float headRatio=0.2f, float smallRadius=0.05f, float largeRadius=0.2f, float arrow_roll=-1.0f, float arrow_pitch=-1.0f, float arrow_yaw=-1.0f) |
| | Constructor.
|
| virtual | ~CArrow () |
| | Private, virtual destructor: only can be deleted from smart pointers.
|
Detailed Description
A 3D arrow.
- See also:
- opengl::COpenGLScene
Definition at line 45 of file CArrow.h.
Constructor & Destructor Documentation
| mrpt::opengl::CArrow::CArrow |
( |
float |
x0 = 0, |
|
|
float |
y0 = 0, |
|
|
float |
z0 = 0, |
|
|
float |
x1 = 1, |
|
|
float |
y1 = 1, |
|
|
float |
z1 = 1, |
|
|
float |
headRatio = 0.2f, |
|
|
float |
smallRadius = 0.05f, |
|
|
float |
largeRadius = 0.2f, |
|
|
float |
arrow_roll = -1.0f, |
|
|
float |
arrow_pitch = -1.0f, |
|
|
float |
arrow_yaw = -1.0f | |
|
) |
| | [inline, private] |
Constructor.
Definition at line 96 of file CArrow.h.
| virtual mrpt::opengl::CArrow::~CArrow |
( |
|
) |
[inline, private, virtual] |
Private, virtual destructor: only can be deleted from smart pointers.
Definition at line 122 of file CArrow.h.
Member Function Documentation
| static CArrowPtr mrpt::opengl::CArrow::Create |
( |
float |
x0 = 0, |
|
|
float |
y0 = 0, |
|
|
float |
z0 = 0, |
|
|
float |
x1 = 1, |
|
|
float |
y1 = 1, |
|
|
float |
z1 = 1, |
|
|
float |
headRatio = 0.2f, |
|
|
float |
smallRadius = 0.05f, |
|
|
float |
largeRadius = 0.2f, |
|
|
float |
arrow_roll = -1.0f, |
|
|
float |
arrow_pitch = -1.0f, |
|
|
float |
arrow_yaw = -1.0f | |
|
) |
| | [inline, static] |
| void mrpt::opengl::CArrow::render |
( |
|
) |
const [virtual] |
| void mrpt::opengl::CArrow::setArrowEnds |
( |
float |
x0, |
|
|
float |
y0, |
|
|
float |
z0, |
|
|
float |
x1, |
|
|
float |
y1, |
|
|
float |
z1 | |
|
) |
| | [inline] |
| void mrpt::opengl::CArrow::setArrowYawPitchRoll |
( |
float |
yaw, |
|
|
float |
pitch, |
|
|
float |
roll | |
|
) |
| | [inline] |
| void mrpt::opengl::CArrow::setHeadRatio |
( |
float |
rat |
) |
[inline] |
| void mrpt::opengl::CArrow::setLargeRadius |
( |
float |
rat |
) |
[inline] |
| void mrpt::opengl::CArrow::setSmallRadius |
( |
float |
rat |
) |
[inline] |
Member Data Documentation