CVB++ 15.0
SparseComponentsPointers3D< T > Class Template Reference

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

#include <cvb/sparse_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.
 
std::uintptr_t BasePtrY () const noexcept
 Variable to receive the pointer to the first Y-component of the first point.
 
std::uintptr_t BasePtrZ () const noexcept
 Variable to receive the pointer to the first Z-component of the first point.
 
std::uintptr_t BasePtrW () const noexcept
 Variable to receive the pointer to the first W-component of the first point.
 
std::uintptr_t BasePtrConfidence () const noexcept
 Variable to receive the pointer to the first confidence-component of the first point.
 
std::intptr_t XInc () const noexcept
 Increment to the next X-component of the next point in bytes.
 
std::intptr_t YInc () const noexcept
 Increment to the next Y-component of the next point in bytes.
 
std::intptr_t ZInc () const noexcept
 Increment to the next Z-component of the next point in bytes.
 
std::intptr_t WInc () const noexcept
 Increment to the next W-component of the next point in bytes (if present; nullptr if not).
 
std::intptr_t ConfidenceInc () const noexcept
 Increment to the next confidence-component of the next point in bytes (if present; nullptr if not).
 
std::size_t NumPoints () const noexcept
 Variable to be filled with the number of points in point cloud.
 
PointAt (std::size_t index) const noexcept
 Gets the point at the specified index.
 
void SetPointAt (std::size_t index, T point) noexcept
 Sets the point at the specified index.
 

Detailed Description

template<class T>
class Cvb::SparseComponentsPointers3D< T >

Point components of a sparse point cloud.

Member Function Documentation

◆ BasePtrConfidence()

template<class T>
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()

template<class T>
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()

template<class T>
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()

template<class T>
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()

template<class T>
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()

template<class T>
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.

◆ NumPoints()

template<class T>
std::size_t NumPoints ( ) const
inlinenoexcept

Variable to be filled with the number of points in point cloud.

Returns
Number of points.
Exceptions
Doesnot throw any exception.

◆ PointAt()

template<class T>
T PointAt ( std::size_t index) const
inlinenoexcept

Gets the point at the specified index.

Parameters
[in]indexThe index.
Returns
A 3D point.
Exceptions
Doesnot throw any exception.

◆ SetPointAt()

template<class T>
void SetPointAt ( std::size_t index,
T point )
inlinenoexcept

Sets the point at the specified index.

Parameters
[in]indexThe index.
[in]pointThe point to be set.
Exceptions
Doesnot throw any exception.

◆ WInc()

template<class T>
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()

template<class T>
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()

template<class T>
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()

template<class T>
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.