|
Voxomap
A C++11 voxel container.
|
Voxel with side informations Side is present if the corresponding neighbor voxel exist. For example: More...
#include <SidedContainer.hpp>
Inherits T_Voxel.
Public Member Functions | |
| SidedVoxel ()=default | |
| Default constructor. More... | |
| template<typename T , typename = typename std::enable_if<!std::is_class<T>::value, int>::type> | |
| SidedVoxel (T arg) | |
| Constructor with one argument forward to Voxel constructor. More... | |
| template<typename T , typename = typename std::enable_if<std::is_class<T>::value, int>::type> | |
| SidedVoxel (T const &arg) | |
| Constructor with one argument forward to Voxel constructor. More... | |
| template<typename T , typename U , typename... Args> | |
| SidedVoxel (T &&arg_1, U &&arg_2, Args &&... args) | |
| Constructor with arguments forward to Voxel constructor. More... | |
| SidedVoxel (SidedVoxel const &other)=default | |
| Copy constructor. More... | |
| SidedVoxel (SidedVoxel &&other)=default | |
| Move constructor. More... | |
| template<typename... Args> | |
| SidedVoxel (SideEnum side, Args &&... args) | |
| Constructor with side information. More... | |
| SidedVoxel & | operator= (SidedVoxel const &other)=default |
| Default assignement operator. More... | |
| SidedVoxel & | operator= (SidedVoxel &&other)=default |
| Default move assignement operator. More... | |
| operator bool () const | |
| bool | operator== (SidedVoxel const &other) const |
| Call the T_Voxel method operator==. More... | |
| bool | operator!= (SidedVoxel const &other) const |
| Call the T_Voxel method operator!=. More... | |
| bool | operator== (T_Voxel const &other) const |
| Call the T_Voxel method operator==. More... | |
| bool | operator!= (T_Voxel const &other) const |
| Call the T_Voxel method operator!=. More... | |
| bool | operator== (uint8_t s) const |
| True if the side of this is equal to s. More... | |
| bool | operator!= (uint8_t s) const |
| True if the side of this is different to s. More... | |
| uint8_t | operator& (uint8_t s) const |
| Returns AND of internal side with s. More... | |
| uint8_t | operator| (uint8_t s) const |
| Returns OR of internal side with s. More... | |
| uint8_t | operator& (SideEnum s) const |
| Returns AND of internal side with s. More... | |
| uint8_t | operator| (SideEnum s) const |
| Returns OR of internal side with s. More... | |
| SidedVoxel & | operator&= (uint8_t s) |
| Apply AND. More... | |
| SidedVoxel & | operator|= (uint8_t s) |
| Apply OR. More... | |
| uint8_t | getSide () const |
| Returns internal side. More... | |
Private Attributes | |
| uint8_t | _voxel_side = 0 |
Voxel with side informations Side is present if the corresponding neighbor voxel exist. For example:
Definition at line 43 of file SidedContainer.hpp.
|
default |
Default constructor.
| voxomap::SidedVoxel< T_Voxel >::SidedVoxel | ( | T | arg | ) |
Constructor with one argument forward to Voxel constructor.
| voxomap::SidedVoxel< T_Voxel >::SidedVoxel | ( | T const & | arg | ) |
Constructor with one argument forward to Voxel constructor.
| voxomap::SidedVoxel< T_Voxel >::SidedVoxel | ( | T && | arg_1, |
| U && | arg_2, | ||
| Args &&... | args | ||
| ) |
Constructor with arguments forward to Voxel constructor.
|
default |
Copy constructor.
|
default |
Move constructor.
| voxomap::SidedVoxel< T_Voxel >::SidedVoxel | ( | SideEnum | side, |
| Args &&... | args | ||
| ) |
Constructor with side information.
| side | Side information |
| args | Arguments forward to voxel constructor |
|
default |
Default assignement operator.
|
default |
Default move assignement operator.
| voxomap::SidedVoxel< T_Voxel >::operator bool | ( | ) | const |
| bool voxomap::SidedVoxel< T_Voxel >::operator== | ( | SidedVoxel< T_Voxel > const & | other | ) | const |
Call the T_Voxel method operator==.
| bool voxomap::SidedVoxel< T_Voxel >::operator!= | ( | SidedVoxel< T_Voxel > const & | other | ) | const |
Call the T_Voxel method operator!=.
| bool voxomap::SidedVoxel< T_Voxel >::operator== | ( | T_Voxel const & | other | ) | const |
Call the T_Voxel method operator==.
| bool voxomap::SidedVoxel< T_Voxel >::operator!= | ( | T_Voxel const & | other | ) | const |
Call the T_Voxel method operator!=.
| bool voxomap::SidedVoxel< T_Voxel >::operator== | ( | uint8_t | s | ) | const |
True if the side of this is equal to s.
| bool voxomap::SidedVoxel< T_Voxel >::operator!= | ( | uint8_t | s | ) | const |
True if the side of this is different to s.
| uint8_t voxomap::SidedVoxel< T_Voxel >::operator& | ( | uint8_t | s | ) | const |
Returns AND of internal side with s.
| uint8_t voxomap::SidedVoxel< T_Voxel >::operator| | ( | uint8_t | s | ) | const |
Returns OR of internal side with s.
| uint8_t voxomap::SidedVoxel< T_Voxel >::operator& | ( | SideEnum | s | ) | const |
Returns AND of internal side with s.
| uint8_t voxomap::SidedVoxel< T_Voxel >::operator| | ( | SideEnum | s | ) | const |
Returns OR of internal side with s.
| SidedVoxel& voxomap::SidedVoxel< T_Voxel >::operator&= | ( | uint8_t | s | ) |
Apply AND.
| SidedVoxel& voxomap::SidedVoxel< T_Voxel >::operator|= | ( | uint8_t | s | ) |
Apply OR.
| uint8_t voxomap::SidedVoxel< T_Voxel >::getSide | ( | ) | const |
Returns internal side.
|
private |
Definition at line 146 of file SidedContainer.hpp.