40 float x0,
float y0,
float z0,
float x1,
float y1,
float z1)
81 float x0 = 0,
float y0 = 0,
float z0 = 0,
float x1 = 1,
float y1 = 1,
82 float z1 = 1,
float headRatio = 0.2f,
float smallRadius = 0.05f,
83 float largeRadius = 0.2f)
void setArrowEnds(float x0, float y0, float z0, float x1, float y1, float z1)
void setLargeRadius(float rat)
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 notifyChange() const
Call to enable calling renderUpdateBuffers() before the next render() rendering iteration.
Renderizable generic renderer for objects using the triangles shader.
#define DEFINE_SCHEMA_SERIALIZABLE()
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
uint32_t m_slices
Number of radial divisions.
~CArrow() override=default
void setSmallRadius(float rat)
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)
Constructor.
uint32_t getSlicesCount() const
Number of radial divisions.
void onUpdateBuffers_Triangles() override
Must be implemented in derived classes to update the geometric entities to be drawn in "m_*_buffer" f...
The namespace for 3D scene representation and rendering.
void setHeadRatio(float rat)
#define DEFINE_SERIALIZABLE(class_name, NS)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
void setSlicesCount(uint32_t slices)
Number of radial divisions.