Ponca  2cfe00173bb12dda99e12b2b48a0e1f683bc5cdd
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 }
using Scalar = _Scalar
using VectorType = Eigen::Matrix<Scalar, Dim, 1>
using MatrixType = Eigen::Matrix<Scalar, Dim, Dim>

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 22 of file pointTypes.h.

Member Typedef Documentation

◆ MatrixType

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

Definition at line 31 of file pointTypes.h.

◆ Scalar

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

Definition at line 29 of file pointTypes.h.

◆ VectorType

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

Definition at line 30 of file pointTypes.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename _Scalar, int _Dim>
anonymous enum

Definition at line 25 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 33 of file pointTypes.h.

Member Function Documentation

◆ normal() [1/2]

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

Get the point normal.

Definition at line 46 of file pointTypes.h.

◆ normal() [2/2]

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

Get the point normal.

Definition at line 42 of file pointTypes.h.

◆ pos() [1/2]

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

Get the point position.

Definition at line 44 of file pointTypes.h.

◆ pos() [2/2]

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

Get the point position.

Definition at line 40 of file pointTypes.h.