Template Class LayerTest

Class Documentation

template <typename VoxelType>
class LayerTest

Holds functions for comparing layers, blocks, voxels, etc for testing.

Public Functions

void CompareLayers(const Layer<VoxelType> &layer_A, const Layer<VoxelType> &layer_B) const
void CompareBlocks(const Block<VoxelType> &block_A, const Block<VoxelType> &block_B) const
void CompareVoxel(const VoxelType &voxel_A, const VoxelType &voxel_B) const
template <>
void CompareVoxel(const EsdfVoxel &voxel_A, const EsdfVoxel &voxel_B) const
template <>
void CompareVoxel(const OccupancyVoxel &voxel_A, const OccupancyVoxel &voxel_B) const
template <>
void CompareVoxel(const TsdfVoxel &voxel_A, const TsdfVoxel &voxel_B) const
template <>
void CompareVoxel(const IntensityVoxel &voxel_A, const IntensityVoxel &voxel_B) const

Public Static Attributes

constexpr double kTolerance = 1e-10