Main MRPT website > C++ reference for MRPT 1.9.9
Functions
CGeneralizedCylinder.cpp File Reference
#include "opengl-precomp.h"
#include <mrpt/opengl/CGeneralizedCylinder.h>
#include <mrpt/poses/CPose3D.h>
#include <mrpt/math/geometry.h>
#include <mrpt/math/ops_matrices.h>
#include <mrpt/utils/CStream.h>
#include <mrpt/utils/stl_serialization.h>
#include "opengl_internals.h"

Go to the source code of this file.

Functions

 IMPLEMENTS_SERIALIZABLE (CGeneralizedCylinder, CRenderizableDisplayList, mrpt::opengl) void CGeneralizedCylinder
 
void createMesh (const CMatrixTemplate< TPoint3D > &pointsMesh, size_t R, size_t C, vector< CGeneralizedCylinder::TQuadrilateral > &mesh)
 
void generatePolygon (CPolyhedron::Ptr &poly, const vector< TPoint3D > &profile, const CPose3D &pose)
 

Function Documentation

◆ createMesh()

void createMesh ( const CMatrixTemplate< TPoint3D > &  pointsMesh,
size_t  R,
size_t  C,
vector< CGeneralizedCylinder::TQuadrilateral > &  mesh 
)
inline

Definition at line 103 of file CGeneralizedCylinder.cpp.

References R.

Referenced by mrpt::opengl::CGeneralizedCylinder::updateMesh().

Here is the caller graph for this function:

◆ generatePolygon()

void generatePolygon ( CPolyhedron::Ptr poly,
const vector< TPoint3D > &  profile,
const CPose3D pose 
)

Definition at line 196 of file CGeneralizedCylinder.cpp.

References mrpt::poses::CPose3D::composePoint(), and mrpt::math::splitInConvexComponents().

Referenced by mrpt::opengl::CGeneralizedCylinder::getEnd(), and mrpt::opengl::CGeneralizedCylinder::getOrigin().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IMPLEMENTS_SERIALIZABLE()

IMPLEMENTS_SERIALIZABLE ( CGeneralizedCylinder  ,
CRenderizableDisplayList  ,
mrpt::opengl   
)

Definition at line 27 of file CGeneralizedCylinder.cpp.




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019