Class CSetOfTexturedTriangles
Defined in File CSetOfTexturedTriangles.h
Inheritance Relationships
Base Types
public mrpt::viz::CVisualObject(Class CVisualObject)public mrpt::viz::VisualObjectParams_TexturedTriangles(Class VisualObjectParams_TexturedTriangles)
Class Documentation
-
class CSetOfTexturedTriangles : public virtual mrpt::viz::CVisualObject, public mrpt::viz::VisualObjectParams_TexturedTriangles
A set of textured triangles. This class can be used to draw any solid, arbitrarily complex object with textures.
See also
opengl::Scene
Public Functions
-
CSetOfTexturedTriangles() = default
-
virtual ~CSetOfTexturedTriangles() override = default
-
virtual mrpt::math::TBoundingBoxf internalBoundingBoxLocal() const override
Evaluates the bounding box of this object (including possible children) in the coordinate frame of the object parent.
-
inline void clearTriangles()
-
inline size_t getTrianglesCount() const
-
virtual bool traceRay(const mrpt::poses::CPose3D &o, double &dist) const override
Simulation of ray-trace, given a pose. Returns true if the ray effectively collisions with the object (returning the distance to the origin of the ray in “dist”), or false in other case. “dist” variable yields undefined behaviour when false is returned
-
CSetOfTexturedTriangles() = default