44 float x0,
float y0,
float z0,
float x1,
float y1,
float z1)
90 float x0 = 0,
float y0 = 0,
float z0 = 0,
float x1 = 1,
float y1 = 1,
91 float z1 = 1,
float headRatio = 0.2f,
float smallRadius = 0.05f,
92 float largeRadius = 0.2f,
float arrow_roll = -1.0f,
93 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 notifyChange() const
Must be called to notify that the object has changed (so, the display list must be updated) ...
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.
#define DEFINE_SCHEMA_SERIALIZABLE()
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
A renderizable object suitable for rendering with OpenGL's display lists.
~CArrow() override=default
Private, virtual destructor: only can be deleted from smart pointers.
void setSmallRadius(float rat)
#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)
The namespace for 3D scene representation and rendering.
void setHeadRatio(float rat)