|
Ponca
7d8ac87a7de01d881c9fde3c42e397b44bffb901
Point Cloud Analysis library
|
Variant of the PointPositionNormal data type that uses external raw data. More...
#include <pointTypes.h>
Collaboration diagram for Ponca::PointPositionNormalBinding< _Scalar, _Dim >:Public Types | |
| enum | { Dim = _Dim } |
| using | Scalar = _Scalar |
| using | VectorType = Eigen::Matrix< Scalar, Dim, 1 > |
| using | MatrixType = Eigen::Matrix< Scalar, Dim, Dim > |
Public Member Functions | |
| PointPositionNormalBinding (const Scalar *_interlacedArray, const int _pId) | |
| const Eigen::Map< const VectorType > & | pos () const |
| Get the point position. | |
| const Eigen::Map< const VectorType > & | normal () const |
| Get the point normal. | |
Variant of the PointPositionNormal data type that uses external raw data.
Using this approach, one can use the ponca library with already existing data-structures and without any data-duplication.
We use this class to map an interlaced raw array containing both point normals and coordinates, during the instantiation of the class.
Definition at line 90 of file pointTypes.h.
| using Ponca::PointPositionNormalBinding< _Scalar, _Dim >::MatrixType = Eigen::Matrix<Scalar, Dim, Dim> |
Definition at line 99 of file pointTypes.h.
| using Ponca::PointPositionNormalBinding< _Scalar, _Dim >::Scalar = _Scalar |
Definition at line 97 of file pointTypes.h.
| using Ponca::PointPositionNormalBinding< _Scalar, _Dim >::VectorType = Eigen::Matrix<Scalar, Dim, 1> |
Definition at line 98 of file pointTypes.h.
|
inline |
Definition at line 101 of file pointTypes.h.
|
inline |
Get the point normal.
Definition at line 110 of file pointTypes.h.
|
inline |
Get the point position.
Definition at line 108 of file pointTypes.h.