Super4PCS Library  V1.1.2(719f5c0)
GlobalRegistration::Point3D Class Reference

The basic 3D point structure. A point potentially contains also directional information and color. More...

+ Collaboration diagram for GlobalRegistration::Point3D:

Public Types

using Scalar = float
 
using VectorType = Eigen::Matrix< Scalar, 3, 1 >
 

Public Member Functions

 Point3D (Scalar x, Scalar y, Scalar z)
 
 Point3D (const Point3D &other)
 
template<typename Scalar >
 Point3D (const Eigen::Matrix< Scalar, 3, 1 > &other)
 
 Point3D ()
 
VectorTypepos ()
 
const VectorTypepos () const
 
const VectorTypergb () const
 
const VectorTypenormal () const
 
void set_rgb (const VectorType &rgb)
 
void set_normal (const VectorType &normal)
 
void normalize ()
 
bool hasColor () const
 
Scalarx ()
 
Scalary ()
 
Scalarz ()
 
Scalar x () const
 
Scalar y () const
 
Scalar z () const
 

Detailed Description

The basic 3D point structure. A point potentially contains also directional information and color.

Member Typedef Documentation

◆ Scalar

◆ VectorType

using GlobalRegistration::Point3D::VectorType = Eigen::Matrix<Scalar, 3, 1>

Constructor & Destructor Documentation

◆ Point3D() [1/4]

GlobalRegistration::Point3D::Point3D ( Scalar  x,
Scalar  y,
Scalar  z 
)
inline
+ Here is the call graph for this function:

◆ Point3D() [2/4]

GlobalRegistration::Point3D::Point3D ( const Point3D other)
inline

◆ Point3D() [3/4]

template<typename Scalar >
GlobalRegistration::Point3D::Point3D ( const Eigen::Matrix< Scalar, 3, 1 > &  other)
inlineexplicit

◆ Point3D() [4/4]

GlobalRegistration::Point3D::Point3D ( )
inline

Member Function Documentation

◆ hasColor()

bool GlobalRegistration::Point3D::hasColor ( ) const
inline

◆ normal()

const VectorType& GlobalRegistration::Point3D::normal ( ) const
inline

◆ normalize()

void GlobalRegistration::Point3D::normalize ( )
inline

◆ pos() [1/2]

VectorType& GlobalRegistration::Point3D::pos ( )
inline

◆ pos() [2/2]

const VectorType& GlobalRegistration::Point3D::pos ( ) const
inline

◆ rgb()

const VectorType& GlobalRegistration::Point3D::rgb ( ) const
inline

◆ set_normal()

void GlobalRegistration::Point3D::set_normal ( const VectorType normal)
inline

◆ set_rgb()

void GlobalRegistration::Point3D::set_rgb ( const VectorType rgb)
inline
+ Here is the call graph for this function:

◆ x() [1/2]

Scalar& GlobalRegistration::Point3D::x ( )
inline

◆ x() [2/2]

Scalar GlobalRegistration::Point3D::x ( ) const
inline

◆ y() [1/2]

Scalar& GlobalRegistration::Point3D::y ( )
inline

◆ y() [2/2]

Scalar GlobalRegistration::Point3D::y ( ) const
inline

◆ z() [1/2]

Scalar& GlobalRegistration::Point3D::z ( )
inline

◆ z() [2/2]

Scalar GlobalRegistration::Point3D::z ( ) const
inline