Go to the documentation of this file.
10 #ifndef opengl_CPlanarLaserScan_H
11 #define opengl_CPlanarLaserScan_H
26 class CPlanarLaserScan;
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)
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...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
GLubyte GLubyte GLubyte GLubyte w
mrpt::obs::CObservation2DRangeScan m_scan
void setScan(const mrpt::obs::CObservation2DRangeScan &scan)
void setPointsColor(float R, float G, float B, float A=1.0f)
CPlanarLaserScan()
Constructor.
float getLineWidth() const
void enableSurface(bool enable=true)
Show or hides the scanned area as a 2D surface.
A cloud of points in 2D or 3D, which can be built from a sequence of laser scans.
virtual ~CPlanarLaserScan()
Private, virtual destructor: only can be deleted from smart pointers.
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 clear()
< Clear the scan
void enablePoints(bool enable=true)
Show or hides the scanned points.
void render_dl() const override
Render.
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.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |