Go to the documentation of this file.
70 CDisk(
float rOut,
float rIn, uint32_t slices = 50)
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.
CDisk()=default
Constructor.
#define DEFINE_SERIALIZABLE(class_name, NS)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
void setDiskRadius(float outRadius, float inRadius=0)
~CDisk() override=default
Private, virtual destructor: only can be deleted from smart pointers.
void setSlicesCount(uint32_t N)
Default=50.
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
A planar disk in the XY plane.
bool traceRay(const mrpt::poses::CPose3D &o, double &dist) const override
Ray tracing.
CDisk(float rOut, float rIn, uint32_t slices=50)
float getInRadius() const
Renderizable generic renderer for objects using the triangles shader.
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
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 | |