MRPT  1.9.9
Functions
CPointCloudFilterByDistance_unittest.cpp File Reference
#include <gtest/gtest.h>
#include <mrpt/maps/CPointCloudFilterByDistance.h>
#include <mrpt/maps/CSimplePointsMap.h>
Include dependency graph for CPointCloudFilterByDistance_unittest.cpp:

Go to the source code of this file.

Functions

void run_pc_filter_test (const double map2_x_off, const double map2_tim_off, const size_t expected_m1_count, const size_t expected_m2_count)
 
 TEST (CPointCloudFilterByDistance, noOutliers)
 
 TEST (CPointCloudFilterByDistance, withOutliers)
 
 TEST (CPointCloudFilterByDistance, tooOldMap)
 

Function Documentation

◆ run_pc_filter_test()

void run_pc_filter_test ( const double  map2_x_off,
const double  map2_tim_off,
const size_t  expected_m1_count,
const size_t  expected_m2_count 
)

Definition at line 14 of file CPointCloudFilterByDistance_unittest.cpp.

References EXPECT_EQ(), mrpt::maps::CPointCloudFilterByDistance::filter(), mrpt::maps::CPointsMap::insertPoint(), mrpt::poses::CPose3D::inverseComposePoint(), mrpt::system::now(), mrpt::maps::CPointCloudFilterBase::TExtraFilterParams::out_deletion_mask, mrpt::maps::CPointsMap::size(), and mrpt::system::timestampAdd().

Referenced by TEST().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ TEST() [1/3]

TEST ( CPointCloudFilterByDistance  ,
noOutliers   
)

Definition at line 52 of file CPointCloudFilterByDistance_unittest.cpp.

References run_pc_filter_test().

Here is the call graph for this function:

◆ TEST() [2/3]

TEST ( CPointCloudFilterByDistance  ,
withOutliers   
)

Definition at line 58 of file CPointCloudFilterByDistance_unittest.cpp.

References run_pc_filter_test().

Here is the call graph for this function:

◆ TEST() [3/3]

TEST ( CPointCloudFilterByDistance  ,
tooOldMap   
)

Definition at line 64 of file CPointCloudFilterByDistance_unittest.cpp.

References run_pc_filter_test().

Here is the call graph for this function:



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 338471620 Mon Feb 17 00:12:39 2020 +0100 at lun feb 17 00:15:10 CET 2020