56 mrpt::math::
TPoint3D m_corner_min,m_corner_max;
62 static
CBoxPtr Create(const mrpt::math::
TPoint3D &corner1, const mrpt::math::
TPoint3D &corner2,
bool is_wireframe = false,
float lineWidth = 1.0 )
64 return CBoxPtr(
new CBox(corner1,corner2,is_wireframe,lineWidth));
70 void render_dl()
const;
91 CBox():m_corner_min(-1,-1,-1),m_corner_max(1,1,1),m_wireframe(false),m_lineWidth(1) { }
95 m_wireframe(is_wireframe) , m_lineWidth( lineWidth )
97 setBoxCorners(corner1,corner2);