9 #ifndef opengl_CArrow_H
10 #define opengl_CArrow_H
44 float x0,
float y0,
float z0,
float x1,
float y1,
float z1)
89 float x0,
float y0,
float z0,
float x1,
float y1,
float z1,
90 float headRatio = 0.2f,
float smallRadius = 0.05f,
91 float largeRadius = 0.2f,
float arrow_roll = -1.0f,
92 float arrow_pitch = -1.0f,
float arrow_yaw = -1.0f);
97 float x0 = 0,
float y0 = 0,
float z0 = 0,
float x1 = 1,
float y1 = 1,
98 float z1 = 1,
float headRatio = 0.2f,
float smallRadius = 0.05f,
99 float largeRadius = 0.2f,
float arrow_roll = -1.0f,
100 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)
The namespace for 3D scene representation and rendering.