Go to the documentation of this file.
10 #ifndef opengl_CGridPlaneXY_H
11 #define opengl_CGridPlaneXY_H
67 float& xmin,
float& xmax,
float& ymin,
float& ymax)
const
99 float xMin,
float xMax,
float yMin,
float yMax,
float z = 0,
100 float frequency = 1,
float lineWidth = 1.3f,
bool antiAliasing =
true);
104 float xMin = -10,
float xMax = 10,
float yMin = -10,
float yMax = 10,
105 float z = 0,
float frequency = 1,
float lineWidth = 1.3f,
106 bool antiAliasing =
true);
std::shared_ptr< CGridPlaneXY > Ptr
virtual void render_dl() const override
Render.
void setLineWidth(float w)
CGridPlaneXY(float xMin=-10, float xMax=10, float yMin=-10, float yMax=10, float z=0, float frequency=1, float lineWidth=1.3f, bool antiAliasing=true)
Constructor
float getLineWidth() const
void setPlaneZcoord(float z)
A renderizable object suitable for rendering with OpenGL's display lists.
bool isAntiAliasingEnabled() const
EIGEN_STRONG_INLINE void notifyChange() const
Must be called to notify that the object has changed (so, the display list must be updated)
void enableAntiAliasing(bool enable=true)
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.
float getGridFrequency() const
void setGridFrequency(float freq)
void setPlaneLimits(float xmin, float xmax, float ymin, float ymax)
A grid of lines over the XY plane.
void getPlaneLimits(float &xmin, float &xmax, float &ymin, float &ymax) const
static Ptr Create(Args &&... args)
float getPlaneZcoord() const
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
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 ~CGridPlaneXY()
Private, virtual destructor: only can be deleted from smart pointers.
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 | |