Go to the documentation of this file.
10 #ifndef opengl_CGridPlaneXZ_H
11 #define opengl_CGridPlaneXZ_H
67 float& xmin,
float& xmax,
float& zmin,
float&
zmax)
const
90 float xMin = -10,
float xMax = 10,
float zMin = -10,
float zMax = 10,
91 float y = 0,
float frequency = 1,
float lineWidth = 1.3f,
92 bool antiAliasing =
true);
106 float xMin = -10,
float xMax = 10,
float zMin = -10,
float zMax = 10,
107 float y = 0,
float frequency = 1,
float lineWidth = 1.3f,
108 bool antiAliasing =
true);
float getPlaneYcoord() const
void setGridFrequency(float freq)
void getPlaneLimits(float &xmin, float &xmax, float &zmin, float &zmax) const
A renderizable object suitable for rendering with OpenGL's display lists.
void setLineWidth(float w)
EIGEN_STRONG_INLINE void notifyChange() const
Must be called to notify that the object has changed (so, the display list must be updated)
std::shared_ptr< CGridPlaneXZ > Ptr
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
GLubyte GLubyte GLubyte GLubyte w
#define ASSERT_(f)
Defines an assertion mechanism.
static Ptr Create(Args &&... args)
void enableAntiAliasing(bool enable=true)
void setPlaneLimits(float xmin, float xmax, float zmin, float zmax)
void render_dl() const override
Render.
bool isAntiAliasingEnabled() const
CGridPlaneXZ(float xMin=-10, float xMax=10, float zMin=-10, float zMax=10, float y=0, float frequency=1, float lineWidth=1.3f, bool antiAliasing=true)
Constructor.
float getGridFrequency() const
A grid of lines over the XZ plane.
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...
virtual ~CGridPlaneXZ()
Private, virtual destructor: only can be deleted from smart pointers.
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
float getLineWidth() const
void setPlaneYcoord(float y)
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 | |