Go to the documentation of this file.
10 #define opengl_CDisk_H
63 static CDiskPtr Create(
float radiusOut,
float radiusIn,uint32_t slices=50,uint32_t loops=4);
68 CDisk():m_radiusIn(0),m_radiusOut(1),m_nSlices(50),m_nLoops(4) {}
70 CDisk(
float rOut,
float rIn,uint32_t slices,uint32_t loops):m_radiusIn(rIn),m_radiusOut(rOut),m_nSlices(slices),m_nLoops(loops) {}
void setDiskRadius(float outRadius, float inRadius=0)
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)
CDisk(float rOut, float rIn, uint32_t slices, uint32_t loops)
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
void setSlicesCount(uint32_t N)
Default=50.
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
A planar disk in the XY plane.
virtual ~CDisk()
Private, virtual destructor: only can be deleted from smart pointers.
#define DEFINE_SERIALIZABLE_PRE_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
This declaration must be inserted in all CSerializable classes definition, before the class declarati...
float getInRadius() const
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
void setLoopsCount(uint32_t N)
Default=4.
bool BASE_IMPEXP traceRay(const vector< TPolygonWithPlane > &vec, const mrpt::poses::CPose3D &pose, double &dist)
Fast ray tracing method using polygons' properties.
float getOutRadius() const
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
Page generated by Doxygen 1.8.16 for MRPT 1.4.0 SVN: at Mon Oct 14 23:08:25 UTC 2019 | | |