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