#include <mrpt/opengl/CGeneralizedCylinder.h>
Public Member Functions | |
| void | getAsPolygonUnsafe (mrpt::math::TPolygon3D &vec) const |
| Given a polygon with 4 already positions allocated, this method fills it with the quadrilateral points. | |
| TQuadrilateral (const TPoint3D &p1, const TPoint3D &p2, const TPoint3D &p3, const TPoint3D &p4) | |
| Constructor from 4 points. | |
| template<class T > | |
| TQuadrilateral (const T(&p)[4]) | |
| Construction from any array of four compatible objects. | |
| TQuadrilateral () | |
| Empty constructor. | |
| ~TQuadrilateral () | |
| Destructor. | |
Public Attributes | |
| TPoint3D | points [4] |
| Quadrilateral`'s points. | |
| float | normal [3] |
| Normal vector. | |
Private Member Functions | |
| void | calculateNormal () |
| Automatically compute a vector normal to this quadrilateral. | |
Definition at line 52 of file CGeneralizedCylinder.h.
| mrpt::opengl::CGeneralizedCylinder::TQuadrilateral::TQuadrilateral | ( | const T(&) | p[4] | ) | [inline] |
Construction from any array of four compatible objects.
Definition at line 90 of file CGeneralizedCylinder.h.
| mrpt::opengl::CGeneralizedCylinder::TQuadrilateral::TQuadrilateral | ( | ) | [inline] |
| mrpt::opengl::CGeneralizedCylinder::TQuadrilateral::~TQuadrilateral | ( | ) | [inline] |
| void mrpt::opengl::CGeneralizedCylinder::TQuadrilateral::calculateNormal | ( | ) | [private] |
Automatically compute a vector normal to this quadrilateral.
| void mrpt::opengl::CGeneralizedCylinder::TQuadrilateral::getAsPolygonUnsafe | ( | mrpt::math::TPolygon3D & | vec | ) | const [inline] |
Given a polygon with 4 already positions allocated, this method fills it with the quadrilateral points.
Definition at line 71 of file CGeneralizedCylinder.h.
| Page generated by Doxygen 1.5.9 for MRPT 0.7.1 SVN: at Mon Aug 17 22:20:53 EDT 2009 |