Go to the documentation of this file.
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 notifyChange() const
Call to enable calling renderUpdateBuffers() before the next render() rendering iteration.
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.
#define DEFINE_SERIALIZABLE(class_name, NS)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
void setHeadRatio(float rat)
void setSmallRadius(float rat)
void onUpdateBuffers_Triangles() override
Must be implemented in derived classes to update the geometric entities to be drawn in "m_*_buffer" f...
uint32_t getSlicesCount() const
Number of radial divisions
void setSlicesCount(uint32_t slices)
Number of radial divisions
void setLargeRadius(float rat)
~CArrow() override=default
#define DEFINE_SCHEMA_SERIALIZABLE()
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
void setArrowEnds(float x0, float y0, float z0, float x1, float y1, float z1)
uint32_t m_slices
Number of radial divisions.
Renderizable generic renderer for objects using the triangles shader.
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...
The namespace for 3D scene representation and rendering.
Page generated by Doxygen 1.8.18 for MRPT 2.0.4 at Thu Sep 24 07:14:18 UTC 2020 | |