A 3D arrow.
Definition at line 52 of file CArrow.h.
#include <mrpt/opengl/CArrow.h>
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_dl () const |
Render. | |
Static Public Member Functions | |
static CArrowPtr | Create (float x0, float y0, float z0, float x1, float y1, float z1, 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. | |
RTTI stuff | |
typedef CArrowPtr | SmartPtr |
static mrpt::utils::CLASSINIT | _init_CArrow |
static mrpt::utils::TRuntimeClassId | classCArrow |
static const mrpt::utils::TRuntimeClassId * | classinfo |
static const mrpt::utils::TRuntimeClassId * | _GetBaseClass () |
virtual const mrpt::utils::TRuntimeClassId * | GetRuntimeClass () const |
Returns information about the class of an object in runtime. | |
virtual mrpt::utils::CObject * | duplicate () const |
Returns a copy of the object, indepently of its class. | |
static mrpt::utils::CObject * | CreateObject () |
static CArrowPtr | Create () |
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] |
virtual mrpt::opengl::CArrow::~CArrow | ( | ) | [inline, private, virtual] |
static const mrpt::utils::TRuntimeClassId* mrpt::opengl::CArrow::_GetBaseClass | ( | ) | [static, protected] |
Reimplemented from mrpt::opengl::CRenderizableDisplayList.
static CArrowPtr mrpt::opengl::CArrow::Create | ( | ) | [static] |
static CArrowPtr mrpt::opengl::CArrow::Create | ( | float | x0, |
float | y0, | ||
float | z0, | ||
float | x1, | ||
float | y1, | ||
float | z1, | ||
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] |
static mrpt::utils::CObject* mrpt::opengl::CArrow::CreateObject | ( | ) | [static] |
virtual mrpt::utils::CObject* mrpt::opengl::CArrow::duplicate | ( | ) | const [virtual] |
Returns a copy of the object, indepently of its class.
Implements mrpt::utils::CObject.
virtual const mrpt::utils::TRuntimeClassId* mrpt::opengl::CArrow::GetRuntimeClass | ( | ) | const [virtual] |
Returns information about the class of an object in runtime.
Reimplemented from mrpt::opengl::CRenderizableDisplayList.
void mrpt::opengl::CArrow::render_dl | ( | ) | const [virtual] |
Render.
Implements mrpt::opengl::CRenderizableDisplayList.
void mrpt::opengl::CArrow::setArrowEnds | ( | float | x0, |
float | y0, | ||
float | z0, | ||
float | x1, | ||
float | y1, | ||
float | z1 | ||
) | [inline] |
Definition at line 67 of file CArrow.h.
References mrpt::opengl::CRenderizableDisplayList::notifyChange().
void mrpt::opengl::CArrow::setArrowYawPitchRoll | ( | float | yaw, |
float | pitch, | ||
float | roll | ||
) | [inline] |
Definition at line 76 of file CArrow.h.
References mrpt::opengl::CRenderizableDisplayList::notifyChange().
void mrpt::opengl::CArrow::setHeadRatio | ( | float | rat ) | [inline] |
Definition at line 73 of file CArrow.h.
References mrpt::opengl::CRenderizableDisplayList::notifyChange().
void mrpt::opengl::CArrow::setLargeRadius | ( | float | rat ) | [inline] |
Definition at line 75 of file CArrow.h.
References mrpt::opengl::CRenderizableDisplayList::notifyChange().
void mrpt::opengl::CArrow::setSmallRadius | ( | float | rat ) | [inline] |
Definition at line 74 of file CArrow.h.
References mrpt::opengl::CRenderizableDisplayList::notifyChange().
mrpt::utils::CLASSINIT mrpt::opengl::CArrow::_init_CArrow [static, protected] |
const mrpt::utils::TRuntimeClassId* mrpt::opengl::CArrow::classinfo [static] |
float mrpt::opengl::CArrow::m_arrow_pitch [protected] |
float mrpt::opengl::CArrow::m_arrow_roll [protected] |
float mrpt::opengl::CArrow::m_arrow_yaw [protected] |
float mrpt::opengl::CArrow::m_headRatio [protected] |
float mrpt::opengl::CArrow::m_largeRadius [protected] |
float mrpt::opengl::CArrow::m_smallRadius [protected] |
float mrpt::opengl::CArrow::m_x0 [mutable, protected] |
float mrpt::opengl::CArrow::m_x1 [mutable, protected] |
float mrpt::opengl::CArrow::m_y0 [mutable, protected] |
float mrpt::opengl::CArrow::m_y1 [mutable, protected] |
float mrpt::opengl::CArrow::m_z0 [mutable, protected] |
float mrpt::opengl::CArrow::m_z1 [mutable, protected] |
Page generated by Doxygen 1.7.2 for MRPT 0.9.4 SVN: at Mon Jan 10 22:30:30 UTC 2011 |