CVB++ 14.1
DenseComponentsPointers3D< T > Class Template Referencefinal

Point components of a dense point cloud. More...

#include <cvb/dense_components_pointers_3d.hpp>

Public Member Functions

std::uintptr_t BasePtrX () const noexcept
 Variable to receive the pointer to the first X-component of the first point. More...
 
std::uintptr_t BasePtrY () const noexcept
 Variable to receive the pointer to the first Y-component of the first point. More...
 
std::uintptr_t BasePtrZ () const noexcept
 Variable to receive the pointer to the first Z-component of the first point. More...
 
std::uintptr_t BasePtrW () const noexcept
 Variable to receive the pointer to the first W-component of the first point. More...
 
std::uintptr_t BasePtrConfidence () const noexcept
 Variable to receive the pointer to the first confidence-component of the first point. More...
 
std::intptr_t XInc () const noexcept
 Increment to the next X-component of the next point in bytes. More...
 
std::intptr_t YInc () const noexcept
 Increment to the next Y-component of the next point in bytes. More...
 
std::intptr_t ZInc () const noexcept
 Increment to the next Z-component of the next point in bytes. More...
 
std::intptr_t WInc () const noexcept
 Increment to the next W-component of the next point in bytes (if present; nullptr if not). More...
 
std::intptr_t ConfidenceInc () const noexcept
 Increment to the next confidence-component of the next point in bytes (if present; nullptr if not). More...
 
PointAt (std::size_t indexX, std::size_t indexY) const noexcept
 Gets the point at the specified index. More...
 
void SetPointAt (std::size_t indexX, std::size_t indexY, T point) noexcept
 Sets the point at the specified index. More...
 
Size2D< int > LatticeSize () const noexcept
 Gets the number of x,y,z(,w) point rows and columns of the PointCloud these components refer to. More...
 

Detailed Description

template<class T>
class Cvb::DenseComponentsPointers3D< T >

Point components of a dense point cloud.

Member Function Documentation

◆ BasePtrConfidence()

std::uintptr_t BasePtrConfidence ( ) const
inlinenoexcept

Variable to receive the pointer to the first confidence-component of the first point.

Returns
First confidence-component.
Exceptions
Doesnot throw any exception.

◆ BasePtrW()

std::uintptr_t BasePtrW ( ) const
inlinenoexcept

Variable to receive the pointer to the first W-component of the first point.

Returns
First W-component.
Exceptions
Doesnot throw any exception.

◆ BasePtrX()

std::uintptr_t BasePtrX ( ) const
inlinenoexcept

Variable to receive the pointer to the first X-component of the first point.

Returns
First X-component.
Exceptions
Doesnot throw any exception.

◆ BasePtrY()

std::uintptr_t BasePtrY ( ) const
inlinenoexcept

Variable to receive the pointer to the first Y-component of the first point.

Returns
First Y-component.
Exceptions
Doesnot throw any exception.

◆ BasePtrZ()

std::uintptr_t BasePtrZ ( ) const
inlinenoexcept

Variable to receive the pointer to the first Z-component of the first point.

Returns
First Z-component.
Exceptions
Doesnot throw any exception.

◆ ConfidenceInc()

std::intptr_t ConfidenceInc ( ) const
inlinenoexcept

Increment to the next confidence-component of the next point in bytes (if present; nullptr if not).

Returns
confidence-increment
Exceptions
Doesnot throw any exception.

◆ LatticeSize()

Size2D< int > LatticeSize ( ) const
inlinenoexcept

Gets the number of x,y,z(,w) point rows and columns of the PointCloud these components refer to.

Returns
The size as number of columns and number of rows.
Exceptions
Doesnot throw any exception.

◆ PointAt()

T PointAt ( std::size_t  indexX,
std::size_t  indexY 
) const
inlinenoexcept

Gets the point at the specified index.

Parameters
[in]indexXThe X index.
[in]indexYThe y index.
Returns
A 3D point.
Exceptions
Doesnot throw any exception.

◆ SetPointAt()

void SetPointAt ( std::size_t  indexX,
std::size_t  indexY,
point 
)
inlinenoexcept

Sets the point at the specified index.

Parameters
[in]indexXThe X index.
[in]indexYThe y index.
[in]pointThe 3D point.
Exceptions
Doesnot throw any exception.

◆ WInc()

std::intptr_t WInc ( ) const
inlinenoexcept

Increment to the next W-component of the next point in bytes (if present; nullptr if not).

Returns
W-increment
Exceptions
Doesnot throw any exception.

◆ XInc()

std::intptr_t XInc ( ) const
inlinenoexcept

Increment to the next X-component of the next point in bytes.

Returns
X-increment.
Exceptions
Doesnot throw any exception.

◆ YInc()

std::intptr_t YInc ( ) const
inlinenoexcept

Increment to the next Y-component of the next point in bytes.

Returns
Y-increment
Exceptions
Doesnot throw any exception.

◆ ZInc()

std::intptr_t ZInc ( ) const
inlinenoexcept

Increment to the next Z-component of the next point in bytes.

Returns
Z-increment
Exceptions
Doesnot throw any exception.