void getTriangle(size_t idx, TTriangle &t) const
void insertTriangle(const TTriangle &t)
const TTriangle & getTriangle(size_t idx) const
size_t getTrianglesCount() const
bool traceRay(const mrpt::poses::CPose3D &o, double &dist) const override
Simulation of ray-trace, given a pose.
CSetOfTexturedTriangles()=default
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...
#define DEFINE_SERIALIZABLE(class_name, NS)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
virtual ~CSetOfTexturedTriangles() override=default
void onUpdateBuffers_TexturedTriangles() override
Must be implemented in derived classes to update the geometric entities to be drawn in "m_*_buffer" f...
std::vector< mrpt::opengl::TTriangle > m_triangles
List of triangles.
Renderizable generic renderer for objects using the triangles-with-a-texture shader.
A set of textured triangles.