25 class CPlanarLaserScan;
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...
void notifyChange() const
Must be called to notify that the object has changed (so, the display list must be updated) ...
mrpt::maps::CSimplePointsMap m_cache_points
void setSurfaceColor(float R, float G, float B, float A=1.0f)
A cloud of points in 2D or 3D, which can be built from a sequence of laser scans. ...
void enableLine(bool enable=true)
Show or hides lines along all scanned points.
GLubyte GLubyte GLubyte GLubyte w
CPlanarLaserScan()
Constructor.
void setLineWidth(float w)
void setPointsWidth(float w)
~CPlanarLaserScan() override=default
Private, virtual destructor: only can be deleted from smart pointers.
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.
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...
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)
void clear()
< Clear the scan
void setScan(const mrpt::obs::CObservation2DRangeScan &scan)