Go to the documentation of this file.
10 #ifndef opengl_CPlanarLaserScan_H
11 #define opengl_CPlanarLaserScan_H
26 class CPlanarLaserScan;
116 m_cache_valid =
false;
void enableLine(bool enable=true)
Show or hides lines along all scanned points.
A "CObservation"-derived class that represents a 2D range scan measurement (typically from a laser sc...
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)
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
mrpt::obs::CObservation2DRangeScan m_scan
void setScan(const mrpt::obs::CObservation2DRangeScan &scan)
void setPointsColor(float R, float G, float B, float A=1.0f)
float getLineWidth() const
void enableSurface(bool enable=true)
Show or hides the scanned area as a 2D surface.
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
A cloud of points in 2D or 3D, which can be built from a sequence of laser scans.
#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...
void setSurfaceColor(float R, float G, float B, float A=1.0f)
void setLineColor(float R, float G, float B, float A=1.0f)
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
mrpt::maps::CSimplePointsMap m_cache_points
void setPointsWidth(float w)
void enablePoints(bool enable=true)
Show or hides the scanned points.
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
This object renders a 2D laser scan by means of three elements: the points, the line along end-points...
void setLineWidth(float w)
Page generated by Doxygen 1.8.16 for MRPT 1.4.0 SVN: at Mon Oct 14 22:32:58 UTC 2019 | | |