Auxiliary struct holding any quadrilateral, represented by foour points. More...
#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. | |
Auxiliary struct holding any quadrilateral, represented by foour points.
Definition at line 52 of file CGeneralizedCylinder.h.
| mrpt::opengl::CGeneralizedCylinder::TQuadrilateral::TQuadrilateral | ( | const TPoint3D & | p1, | |
| const TPoint3D & | p2, | |||
| const TPoint3D & | p3, | |||
| const TPoint3D & | p4 | |||
| ) | [inline] |
Constructor from 4 points.
Definition at line 80 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] |
Destructor.
Definition at line 101 of file CGeneralizedCylinder.h.
| 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.
Normal vector.
Definition at line 66 of file CGeneralizedCylinder.h.
Quadrilateral`'s points.
Definition at line 62 of file CGeneralizedCylinder.h.
| Page generated by Doxygen 1.6.1 for MRPT 0.9.0 SVN: at Mon Jun 7 06:47:58 UTC 2010 |