10 #define opengl_CDisk_H
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
A planar disk in the XY plane.
void render_dl() const override
Render.
bool traceRay(const mrpt::poses::CPose3D &o, double &dist) const override
Ray tracing.
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...
float getInRadius() const
void setDiskRadius(float outRadius, float inRadius=0)
float getOutRadius() const
CDisk(float rOut, float rIn, uint32_t slices=50, uint32_t loops=4)
virtual ~CDisk()
Private, virtual destructor: only can be deleted from smart pointers.
void setSlicesCount(uint32_t N)
Default=50.
void setLoopsCount(uint32_t N)
Default=4.
A renderizable object suitable for rendering with OpenGL's display lists.
EIGEN_STRONG_INLINE void notifyChange() const
Must be called to notify that the object has changed (so, the display list must be updated)
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
The namespace for 3D scene representation and rendering.
unsigned __int32 uint32_t