|
supereight
|
Functions | |
| template<typename OctreeT > | |
| OctreeT::DataType | getData (const OctreeT &octree, const Eigen::Vector3i &voxel_coord) |
| Single/multi-res get data functions. More... | |
| template<typename OctreeT , typename BlockT > | |
| OctreeT::DataType | getData (const OctreeT &octree, BlockT *block_ptr, const Eigen::Vector3i &voxel_coord) |
| Get the voxel data for a given coordinate. More... | |
| template<typename OctreeT > | |
| std::enable_if_t< OctreeT::res_==se::Res::Multi, typename OctreeT::DataType > | getData (const OctreeT &octree, const Eigen::Vector3i &voxel_coord, const int scale_desired, int &scale_returned) |
| Multi-res get data functions. More... | |
| template<typename OctreeT , typename BlockT > | |
| std::enable_if_t< OctreeT::res_==se::Res::Multi, typename OctreeT::DataType > | getData (const OctreeT &octree, BlockT *block_ptr, const Eigen::Vector3i &voxel_coord, const int scale_desired, int &scale_returned) |
| Get the voxel data for a given coordinate and desired scale. More... | |
| template<typename OctreeT > | |
| std::enable_if_t< OctreeT::DataType::fld_==se::Field::Occupancy, typename OctreeT::DataType > | getMaxData (const OctreeT &octree, const Eigen::Vector3i &voxel_coord, const int scale_desired) |
| Get the max occupancy data at a given scale. More... | |
| template<typename OctreeT > | |
| std::optional< se::field_t > | getField (const OctreeT &octree, const Eigen::Vector3i &voxel_coord) |
| Single/Multi-res get field functions. More... | |
| template<typename OctreeT , typename BlockT > | |
| std::optional< se::field_t > | getField (const OctreeT &octree, BlockT *block_ptr, const Eigen::Vector3i &voxel_coord) |
| Get the field value for a given coordinate. More... | |
| template<typename OctreeT > | |
| std::enable_if_t< OctreeT::res_==se::Res::Multi, std::optional< se::field_t > > | getField (const OctreeT &octree, const Eigen::Vector3i &voxel_coord, const int scale_desired, int &scale_returned) |
| Multi-res get field functions. More... | |
| template<typename OctreeT , typename BlockT > | |
| std::enable_if_t< OctreeT::res_==se::Res::Multi, std::optional< se::field_t > > | getField (const OctreeT &octree, BlockT *block_ptr, const Eigen::Vector3i &voxel_coord, const int scale_desired, int &scale_returned) |
| Get the field value for a given coordinate and desired scale. More... | |
| template<typename OctreeT > | |
| std::enable_if_t< OctreeT::res_==se::Res::Single, std::optional< se::field_t > > | getFieldInterp (const OctreeT &octree, const Eigen::Vector3f &voxel_coord_f) |
| Single-res get field interpolation functions. More... | |
| template<typename OctreeT > | |
| std::enable_if_t< OctreeT::res_==se::Res::Multi, std::optional< se::field_t > > | getFieldInterp (const OctreeT &octree, const Eigen::Vector3f &voxel_coord_f) |
| Multi-res get field interpolation functions. More... | |
| template<typename OctreeT > | |
| std::enable_if_t< OctreeT::res_==se::Res::Multi, std::optional< se::field_t > > | getFieldInterp (const OctreeT &octree, const Eigen::Vector3f &voxel_coord_f, int &scale_returned) |
| Get the interplated field value for a given coordinate [float voxel coordinates]. More... | |
| template<typename OctreeT > | |
| std::enable_if_t< OctreeT::fld_==se::Field::Occupancy &&OctreeT::res_==se::Res::Multi, std::optional< se::field_t > > | getFieldInterp (const OctreeT &octree, const Eigen::Vector3f &voxel_coord_f, const int scale_desired, int &scale_returned) |
| Get the interplated field value for a given coordinate [float voxel coordinates] and desired scale. More... | |
| template<typename OctreeT > | |
| std::enable_if_t< OctreeT::res_==se::Res::Single, std::optional< se::field_vec_t > > | getFieldGrad (const OctreeT &octree, const Eigen::Vector3f &voxel_coord_f) |
| Single-res get gradient functions. More... | |
| template<typename OctreeT > | |
| std::enable_if_t< OctreeT::res_==se::Res::Multi, std::optional< se::field_vec_t > > | getFieldGrad (const OctreeT &octree, const Eigen::Vector3f &voxel_coord_f) |
| Multi-res get gradient functions. More... | |
| template<typename OctreeT > | |
| std::enable_if_t< OctreeT::res_==se::Res::Multi, std::optional< se::field_vec_t > > | getFieldGrad (const OctreeT &octree, const Eigen::Vector3f &voxel_coord_f, int &scale_returned) |
| Get the field gradient for a given coordinate [float voxel coordinates]. More... | |
| template<typename OctreeT > | |
| std::enable_if_t< OctreeT::res_==se::Res::Multi, std::optional< se::field_vec_t > > | getFieldGrad (const OctreeT &octree, const Eigen::Vector3f &voxel_coord_f, const int scale_desired, int &scale_returned) |
| Get the field gradient for a given coordinate [float voxel coordinates] and desired scale. More... | |
Variables | |
| template<typename OctreeT > | |
| std::enable_if_t<(OctreeT::fld_==se::Field::TSDF &&OctreeT::res_==se::Res::Multi), std::optional< se::field_t > > | getFieldInterp (const OctreeT &octree, const Eigen::Vector3f &voxel_coord_f, const int scale_desired, int &scale_returned) |
| Get the interplated field value for a given coordinate [float voxel coordinates] and desired scale. More... | |
|
inline |
Single/multi-res get data functions.
Get the voxel data for a given coordinate. The function returns init data if the data is not allocated.
| OctreeT | The type of the octree used |
| [in] | octree | The reference to the octree |
| [in] | voxel_coord | The voxel coordinates to be accessed |
|
inline |
Get the voxel data for a given coordinate.
The function checks first if the voxel coordinates are contained in the provided block pointer. If this is not the case the function fetches the correct block. The function returns init data if the data is not allocated.
| OctreeT | The type of the octree used |
| [in] | octree | The reference to the octree |
| [in] | block_ptr | The pointer to the block to checked first |
| [in] | voxel_coord | The voxel coordinates to be accessed |
|
inline |
Multi-res get data functions.
Get the voxel data for a given coordinate and desired scale. The function returns init data if the data is not allocated.
| OctreeT | The type of the octree used |
| [in] | octree_ptr | The pointer to the octree |
| [in] | voxel_coord | The voxel coordinates to be accessed |
| [in] | scale_desired | The scale to fetch the data from (init data for MultiresTSDF at node level) |
| [in] | scale_returned | The scale the data is returned from (max (scale desired, finest scale with valid data) |
|
inline |
Get the voxel data for a given coordinate and desired scale.
The function checks first if the voxel coordinates are contained in the provided block pointer. If this is not the case the function fetches the correct block. The function returns init data if the data is not allocated.
| OctreeT | The type of the octree used |
| [in] | octree | The reference to the octree |
| [in] | block_ptr | The pointer to the block to checked first |
| [in] | voxel_coord | The voxel coordinates to be accessed |
| [in] | scale_desired | The scale to fetch the data from (init data for MultiresTSDF at node level) |
| [in] | scale_returned | The scale the data is returned from (max (scale desired, finest scale with valid data) |
|
inline |
Get the max occupancy data at a given scale.
| OctreeT | The type of octree used (has to be of field type occupancy and multi-res) |
| octree | The reference to the octree |
| voxel_coord | The voxel coordinates in [voxel] to be accessed |
| scale_desired | The scale to be accessed |
|
inline |
Single/Multi-res get field functions.
Get the field value for a given coordinate. The function returns {}/invalid if the data is invalid.
| OctreeT | The type of the octree used |
| [in] | octree | The reference to the octree |
| [in] | voxel_coord | The voxel coordinates to be accessed |
|
inline |
Get the field value for a given coordinate.
The function returns {}/invalid if the data is invalid. The function checks first if the voxel coordinates are contained in the provided block pointer. If this is not the case the function fetches the correct octant.
| OctreeT | The type of the octree used |
| [in] | octree | The reference to the octree |
| [in] | block_ptr | The pointer to the block to checked first |
| [in] | voxel_coord | The voxel coordinates to be accessed |
|
inline |
Multi-res get field functions.
Get the field value for a given coordinate and desired scale. The function returns {}/invalid if the data is invalid.
| OctreeT | The type of the octree used |
| [in] | octree | The reference to the octree |
| [in] | voxel_coord | The voxel coordinates to be accessed |
| [in] | scale_desired | The scale to fetch the data from (init data for MultiresTSDF at node level) |
| [in] | scale_returned | The scale the field value is returned from (max (scale desired, finest scale with valid data) |
|
inline |
Get the field value for a given coordinate and desired scale.
The function returns {}/invalid if the data is invalid. The function checks first if the voxel coordinates are contained in the provided block pointer. If this is not the case the function fetches the correct octant.
| OctreeT | The type of the octree used |
| [in] | octree | The reference to the octree |
| [in] | block_ptr | The pointer to the block to checked first |
| [in] | voxel_coord | The voxel coordinates to be accessed |
| [in] | scale_desired | The scale to fetch the data from (init data for MultiresTSDF at node level) |
| [in] | scale_returned | The scale the field value is returned from (max (scale desired, finest scale with valid data) |
|
inline |
Single-res get field interpolation functions.
Get the interplated field value for a given coordinate [float voxel coordinates]. The function returns {}/invalid if the data is invalid.
| OctreeT | The type of the octree used |
| [in] | octree_ptr | The pointer to the octree |
| [in] | voxel_coord_f | The voxel coordinates to be accessed [float voxel coordiantes] |
|
inline |
Multi-res get field interpolation functions.
Get the interplated field value for a given coordinate [float voxel coordinates]. The value is interpolated at the finest common scale. The function returns {}/invalid if the data is invalid.
| OctreeT | The type of the octree used |
| [in] | octree_ptr | The pointer to the octree |
| [in] | voxel_coord_f | The voxel coordinates to be accessed [float voxel coordiantes] |
|
inline |
Get the interplated field value for a given coordinate [float voxel coordinates].
The value is interpolated at the finest common scale (scale_returned). The function returns {}/invalid if the data is invalid.
| OctreeT | The type of the octree used |
| [in] | octree | The reference to the octree |
| [in] | voxel_coord_f | The voxel coordinates to be accessed [float voxel coordiantes] |
| [in] | scale_returned | The scale the field value has been interpolated at |
|
inline |
Get the interplated field value for a given coordinate [float voxel coordinates] and desired scale.
The value is interpolated at the finest common scale (scale_returned). The function returns {}/invalid if the data is invalid.
| OctreeT | The type of the octree used |
| [in] | octree | The reference to the octree |
| [in] | voxel_coord_f | The voxel coordinates to be accessed [float voxel coordiantes] |
| [in] | scale_desired | The finest scale to interpolate the data at |
| [in] | scale_returned | The scale the field value has been interpolated at (max (scale desired, finest common neighbour scale) |
|
inline |
Single-res get gradient functions.
Get the field gradient for a given coordinate [float voxel coordinates]. The function returns {}/invalid if the gradient is invalid.
| OctreeT | The type of the octree used |
| [in] | octree | The reference to the octree |
| [in] | voxel_coord_f | The voxel coordinates to be accessed [float voxel coordiantes] |
|
inline |
Multi-res get gradient functions.
Get the field gradient for a given coordinate [float voxel coordinates]. The function returns {}/invalid if the gradient is invalid.
| OctreeT | The type of the octree used |
| [in] | octree | The reference to the octree |
| [in] | voxel_coord_f | The voxel coordinates to be accessed [float voxel coordiantes] |
|
inline |
Get the field gradient for a given coordinate [float voxel coordinates].
The function returns {}/invalid if the gradient is invalid.
| OctreeT | The type of the octree used |
| [in] | octree | The reference to the octree |
| [in] | voxel_coord_f | The voxel coordinates to be accessed [float voxel coordiantes] |
| [in] | scale_returned | The scale the gradient has been computed at |
|
inline |
Get the field gradient for a given coordinate [float voxel coordinates] and desired scale.
The function returns {}/invalid if the gradient is invalid.
| OctreeT | The type of the octree used |
| [in] | octree | The reference to the octree |
| [in] | voxel_coord_f | The voxel coordinates to be accessed [float voxel coordiantes] |
| [in] | scale_desired | The finest scale to compute the gradient at |
| [in] | scale_returned | The scale the gradient has been computed at (max (scale desired, finest common neighbour scale) |
|
inline |
Get the interplated field value for a given coordinate [float voxel coordinates] and desired scale.
The value is interpolated at the finest common scale (scale_returned). The function returns {}/invalid if the data is invalid.
| OctreeT | The type of the octree used |
| [in] | octree | The reference to the octree |
| [in] | voxel_coord_f | The voxel coordinates to be accessed [float voxel coordiantes] |
| [in] | scale_desired | The finest scale to interpolate the data at |
| [in] | scale_returned | The scale the field value has been interpolated at (max (scale desired, finest common neighbour scale) |
1.8.13