Go to the documentation of this file.
9 #ifndef opengl_CArrow_H
10 #define opengl_CArrow_H
46 float x0,
float y0,
float z0,
float x1,
float y1,
float z1)
91 float x0,
float y0,
float z0,
float x1,
float y1,
float z1,
92 float headRatio = 0.2f,
float smallRadius = 0.05f,
93 float largeRadius = 0.2f,
float arrow_roll = -1.0f,
94 float arrow_pitch = -1.0f,
float arrow_yaw = -1.0f);
99 float x0 = 0,
float y0 = 0,
float z0 = 0,
float x1 = 1,
float y1 = 1,
100 float z1 = 1,
float headRatio = 0.2f,
float smallRadius = 0.05f,
101 float largeRadius = 0.2f,
float arrow_roll = -1.0f,
102 float arrow_pitch = -1.0f,
float arrow_yaw = -1.0f)
virtual ~CArrow()
Private, virtual destructor: only can be deleted from smart pointers.
std::shared_ptr< CArrow > Ptr
void setHeadRatio(float rat)
A renderizable object suitable for rendering with OpenGL's display lists.
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.
EIGEN_STRONG_INLINE void notifyChange() const
Must be called to notify that the object has changed (so, the display list must be updated)
void setSmallRadius(float rat)
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
void setLargeRadius(float rat)
void render_dl() const override
Render.
void setArrowYawPitchRoll(float yaw, float pitch, float roll)
static Ptr Create(Args &&... args)
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
void setArrowEnds(float x0, float y0, float z0, float x1, float y1, float z1)
void getBoundingBox(mrpt::math::TPoint3D &bb_min, mrpt::math::TPoint3D &bb_max) const override
Evaluates the bounding box of this object (including possible children) in the coordinate frame of th...
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |