70 CDisk(
float rOut,
float rIn, uint32_t slices = 50)
76 ~CDisk()
override =
default;
void setDiskRadius(float outRadius, float inRadius=0)
void notifyChange() const
Call to enable calling renderUpdateBuffers() before the next render() rendering iteration.
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...
Renderizable generic renderer for objects using the triangles shader.
CDisk()=default
Constructor.
void setSlicesCount(uint32_t N)
Default=50.
A planar disk in the XY plane.
CDisk(float rOut, float rIn, uint32_t slices=50)
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
The namespace for 3D scene representation and rendering.
~CDisk() override=default
Private, virtual destructor: only can be deleted from smart pointers.
float getInRadius() const
#define DEFINE_SERIALIZABLE(class_name, NS)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
void onUpdateBuffers_Triangles() override
Must be implemented in derived classes to update the geometric entities to be drawn in "m_*_buffer" f...
float getOutRadius() const
bool traceRay(const mrpt::poses::CPose3D &o, double &dist) const override
Ray tracing.