Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
rtabmap::util2d::Array3D Class Reference

Public Member Functions

 Array3D (const size_t width, const size_t height, const size_t depth)
 
std::vector< Eigen::Vector2f >::iterator begin ()
 
std::vector< Eigen::Vector2f >::const_iterator begin () const
 
std::vector< Eigen::Vector2f >::iterator end ()
 
std::vector< Eigen::Vector2f >::const_iterator end () const
 
Eigen::Vector2f & operator() (const size_t x, const size_t y, const size_t z)
 
const Eigen::Vector2f & operator() (const size_t x, const size_t y, const size_t z) const
 
void resize (const size_t width, const size_t height, const size_t depth)
 
Eigen::Vector2f trilinear_interpolation (const float x, const float y, const float z)
 
size_t x_size () const
 
size_t y_size () const
 
size_t z_size () const
 

Static Public Member Functions

static size_t clamp (const size_t min_value, const size_t max_value, const size_t x)
 

Private Attributes

std::vector< Eigen::Vector2f > v_
 
size_t x_dim_
 
size_t y_dim_
 
size_t z_dim_
 

Detailed Description

Definition at line 1702 of file util2d.cpp.

Constructor & Destructor Documentation

◆ Array3D()

rtabmap::util2d::Array3D::Array3D ( const size_t  width,
const size_t  height,
const size_t  depth 
)
inline

Definition at line 1705 of file util2d.cpp.

Member Function Documentation

◆ begin() [1/2]

std::vector<Eigen::Vector2f >::iterator rtabmap::util2d::Array3D::begin ( )
inline

Definition at line 1791 of file util2d.cpp.

◆ begin() [2/2]

std::vector<Eigen::Vector2f >::const_iterator rtabmap::util2d::Array3D::begin ( ) const
inline

Definition at line 1799 of file util2d.cpp.

◆ clamp()

static size_t rtabmap::util2d::Array3D::clamp ( const size_t  min_value,
const size_t  max_value,
const size_t  x 
)
inlinestatic

Definition at line 1760 of file util2d.cpp.

◆ end() [1/2]

std::vector<Eigen::Vector2f >::iterator rtabmap::util2d::Array3D::end ( )
inline

Definition at line 1795 of file util2d.cpp.

◆ end() [2/2]

std::vector<Eigen::Vector2f >::const_iterator rtabmap::util2d::Array3D::end ( ) const
inline

Definition at line 1803 of file util2d.cpp.

◆ operator()() [1/2]

Eigen::Vector2f& rtabmap::util2d::Array3D::operator() ( const size_t  x,
const size_t  y,
const size_t  z 
)
inline

Definition at line 1714 of file util2d.cpp.

◆ operator()() [2/2]

const Eigen::Vector2f& rtabmap::util2d::Array3D::operator() ( const size_t  x,
const size_t  y,
const size_t  z 
) const
inline

Definition at line 1718 of file util2d.cpp.

◆ resize()

void rtabmap::util2d::Array3D::resize ( const size_t  width,
const size_t  height,
const size_t  depth 
)
inline

Definition at line 1722 of file util2d.cpp.

◆ trilinear_interpolation()

Eigen::Vector2f rtabmap::util2d::Array3D::trilinear_interpolation ( const float  x,
const float  y,
const float  z 
)
inline

Definition at line 1731 of file util2d.cpp.

◆ x_size()

size_t rtabmap::util2d::Array3D::x_size ( ) const
inline

Definition at line 1779 of file util2d.cpp.

◆ y_size()

size_t rtabmap::util2d::Array3D::y_size ( ) const
inline

Definition at line 1783 of file util2d.cpp.

◆ z_size()

size_t rtabmap::util2d::Array3D::z_size ( ) const
inline

Definition at line 1787 of file util2d.cpp.

Member Data Documentation

◆ v_

std::vector<Eigen::Vector2f > rtabmap::util2d::Array3D::v_
private

Definition at line 1807 of file util2d.cpp.

◆ x_dim_

size_t rtabmap::util2d::Array3D::x_dim_
private

Definition at line 1808 of file util2d.cpp.

◆ y_dim_

size_t rtabmap::util2d::Array3D::y_dim_
private

Definition at line 1808 of file util2d.cpp.

◆ z_dim_

size_t rtabmap::util2d::Array3D::z_dim_
private

Definition at line 1808 of file util2d.cpp.


The documentation for this class was generated from the following file:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Jan 23 2023 03:39:00