Go to the documentation of this file.
9 #ifndef opengl_CSetOfTexturedTriangles_H
10 #define opengl_CSetOfTexturedTriangles_H
16 namespace utils {
class CStream; }
38 TVertex(
float x,
float y,
float z, uint32_t u, uint32_t v);
float m_z
3D vertex coordinates.
EIGEN_STRONG_INLINE void notifyChange() const
Must be called to notify that the object has changed (so, the display list must be updated)
CSetOfTexturedTriangles()
Constructor.
size_t getTrianglesCount() const
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
const EIGEN_STRONG_INLINE AdjointReturnType t() const
Transpose.
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
A class used to store a 3D pose (a 3D translation + a rotation in 3D).
void getTriangle(size_t idx, TTriangle &t) const
void insertTriangle(const TTriangle &t)
const TTriangle & getTriangle(size_t idx) const
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
A base class for all OpenGL objects with loadable textures.
uint32_t m_v
2D texture coordinates. Notice that the texture coordinates are 2D pixels!!!
#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...
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
std::vector< TTriangle > m_triangles
Triangle array.
A set of textured triangles.
bool BASE_IMPEXP traceRay(const vector< TPolygonWithPlane > &vec, const mrpt::poses::CPose3D &pose, double &dist)
Fast ray tracing method using polygons' properties.
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
Page generated by Doxygen 1.8.16 for MRPT 1.4.0 SVN: at Mon Oct 14 22:32:58 UTC 2019 | | |