A solid or wireframe box in 3D, defined by 6 rectangular faces parallel to the planes X...
 
mrpt::utils::TColor getBoxBorderColor() const
 
bool isBoxBorderEnabled() const
 
#define MRPT_OVERRIDE
C++11 "override" for virtuals: 
 
bool BASE_IMPEXP traceRay(const std::vector< TPolygonWithPlane > &vec, const mrpt::poses::CPose3D &pose, double &dist)
Fast ray tracing method using polygons' properties. 
 
mrpt::utils::TColor m_solidborder_color
Color of the solid box borders. 
 
bool m_wireframe
true: wireframe, false: solid 
 
bool m_draw_border
Draw line borders to solid box with the given linewidth (default: true) 
 
EIGEN_STRONG_INLINE void notifyChange() const
Must be called to notify that the object has changed (so, the display list must be updated) ...
 
float m_lineWidth
For wireframe only. 
 
A renderizable object suitable for rendering with OpenGL's display lists. 
 
void getBoxCorners(mrpt::math::TPoint3D &corner1, mrpt::math::TPoint3D &corner2) const
 
#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 setWireframe(bool is_wireframe=true)
 
void enableBoxBorder(bool drawBorder=true)
 
void setBoxBorderColor(const mrpt::utils::TColor &c)
 
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...
 
mrpt::math::TPoint3D m_corner_min
 
virtual ~CBox()
Destructor. 
 
float getLineWidth() const
 
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)