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)
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
static Ptr Create(Args &&... args)
virtual ~CArrow()
Private, virtual destructor: only can be deleted from smart pointers.
void setArrowYawPitchRoll(float yaw, float pitch, float roll)
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.
void setSmallRadius(float rat)
void setLargeRadius(float rat)
std::shared_ptr< CArrow > Ptr
void render_dl() const override
Render.
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...
void setHeadRatio(float rat)
A renderizable object suitable for rendering with OpenGL's display lists.
EIGEN_STRONG_INLINE void notifyChange() const
Must be called to notify that the object has changed (so, the display list must be updated)
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.