Ponca  5b0151ad2869758185d699615c3cca5855cc2cee
Point Cloud Analysis library
Loading...
Searching...
No Matches
Ponca::PointPositionNormal< _Scalar, _Dim > Class Template Reference

Point data type containing the position and normal vectors. More...

#include <pointTypes.h>

+ Collaboration diagram for Ponca::PointPositionNormal< _Scalar, _Dim >:

Public Types

enum  { Dim = _Dim }
 
typedef _Scalar Scalar
 
typedef Eigen::Matrix< Scalar, Dim, 1 > VectorType
 
typedef Eigen::Matrix< Scalar, Dim, Dim > MatrixType
 

Public Member Functions

 PointPositionNormal (const VectorType &pos=VectorType::Zero(), const VectorType &normal=VectorType::Zero())
 
const VectorType & pos () const
 Get the point position.
 
const VectorType & normal () const
 Get the point normal.
 
VectorType & pos ()
 Get the point position.
 
VectorType & normal ()
 Get the point normal.
 

Detailed Description

template<typename _Scalar, int _Dim>
class Ponca::PointPositionNormal< _Scalar, _Dim >

Point data type containing the position and normal vectors.

Definition at line 18 of file pointTypes.h.

Member Typedef Documentation

◆ MatrixType

template<typename _Scalar , int _Dim>
typedef Eigen::Matrix<Scalar, Dim, Dim> Ponca::PointPositionNormal< _Scalar, _Dim >::MatrixType

Definition at line 24 of file pointTypes.h.

◆ Scalar

template<typename _Scalar , int _Dim>
typedef _Scalar Ponca::PointPositionNormal< _Scalar, _Dim >::Scalar

Definition at line 22 of file pointTypes.h.

◆ VectorType

template<typename _Scalar , int _Dim>
typedef Eigen::Matrix<Scalar, Dim, 1> Ponca::PointPositionNormal< _Scalar, _Dim >::VectorType

Definition at line 23 of file pointTypes.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename _Scalar , int _Dim>
anonymous enum

Definition at line 21 of file pointTypes.h.

Constructor & Destructor Documentation

◆ PointPositionNormal()

template<typename _Scalar , int _Dim>
Ponca::PointPositionNormal< _Scalar, _Dim >::PointPositionNormal ( const VectorType &  pos = VectorType::Zero(),
const VectorType &  normal = VectorType::Zero() 
)
inline

Definition at line 26 of file pointTypes.h.

Member Function Documentation

◆ normal() [1/2]

template<typename _Scalar , int _Dim>
VectorType & Ponca::PointPositionNormal< _Scalar, _Dim >::normal ( )
inline

Get the point normal.

Definition at line 38 of file pointTypes.h.

◆ normal() [2/2]

template<typename _Scalar , int _Dim>
const VectorType & Ponca::PointPositionNormal< _Scalar, _Dim >::normal ( ) const
inline

Get the point normal.

Definition at line 34 of file pointTypes.h.

◆ pos() [1/2]

template<typename _Scalar , int _Dim>
VectorType & Ponca::PointPositionNormal< _Scalar, _Dim >::pos ( )
inline

Get the point position.

Definition at line 36 of file pointTypes.h.

◆ pos() [2/2]

template<typename _Scalar , int _Dim>
const VectorType & Ponca::PointPositionNormal< _Scalar, _Dim >::pos ( ) const
inline

Get the point position.

Definition at line 32 of file pointTypes.h.