10 #ifndef opengl_CPlanarLaserScan_H 11 #define opengl_CPlanarLaserScan_H 26 class CPlanarLaserScan;
116 m_cache_valid =
false;
mrpt::maps::CSimplePointsMap m_cache_points
void setSurfaceColor(float R, float G, float B, float A=1.0f)
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
A cloud of points in 2D or 3D, which can be built from a sequence of laser scans.
EIGEN_STRONG_INLINE void notifyChange() const
Must be called to notify that the object has changed (so, the display list must be updated)
void enableLine(bool enable=true)
Show or hides lines along all scanned points.
void setLineWidth(float w)
void setPointsWidth(float w)
A renderizable object suitable for rendering with OpenGL's display lists.
void enableSurface(bool enable=true)
Show or hides the scanned area as a 2D surface.
#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...
This object renders a 2D laser scan by means of three elements: the points, the line along end-points...
float getLineWidth() const
void enablePoints(bool enable=true)
Show or hides the scanned points.
mrpt::obs::CObservation2DRangeScan m_scan
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
A "CObservation"-derived class that represents a 2D range scan measurement (typically from a laser sc...
void setLineColor(float R, float G, float B, float A=1.0f)
void setPointsColor(float R, float G, float B, float A=1.0f)
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
void setScan(const mrpt::obs::CObservation2DRangeScan &scan)