CVB++ 14.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. 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...
 
std::size_t NumPoints () const noexcept
 Variable to be filled with the number of points in point cloud. More...
 
PointAt (std::size_t index) const noexcept
 Gets the point at the specified index. More...
 
void SetPointAt (std::size_t index, T point) noexcept
 Sets the point at the specified index. More...
 

Detailed Description

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

Point components of a sparse 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.

◆ NumPoints()

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()

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()

void SetPointAt ( std::size_t  index,
point 
)
inlinenoexcept

Sets the point at the specified index.

Parameters
[in]indexThe index.
[in]pointThe point to be set.
Returns
A 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.