Main MRPT website > C++ reference for MRPT 1.5.7
Functions | Variables
CPointsMap_unittest.cpp File Reference
#include <mrpt/maps/CSimplePointsMap.h>
#include <mrpt/maps/CWeightedPointsMap.h>
#include <mrpt/maps/CColouredPointsMap.h>
#include <mrpt/poses/CPoint2D.h>
#include <gtest/gtest.h>
Include dependency graph for CPointsMap_unittest.cpp:

Go to the source code of this file.

Functions

template<class MAP >
void load_demo_9pts_map (MAP &pts)
 
template<class MAP >
void do_test_insertPoints ()
 
template<class MAP >
void do_test_clipOutOfRangeInZ ()
 
template<class MAP >
void do_test_clipOutOfRange ()
 
 TEST (CSimplePointsMapTests, insertPoints)
 
 TEST (CWeightedPointsMapTests, insertPoints)
 
 TEST (CColouredPointsMapTests, insertPoints)
 
 TEST (CSimplePointsMapTests, clipOutOfRangeInZ)
 
 TEST (CWeightedPointsMapTests, clipOutOfRangeInZ)
 
 TEST (CColouredPointsMapTests, clipOutOfRangeInZ)
 
 TEST (CSimplePointsMapTests, clipOutOfRange)
 
 TEST (CWeightedPointsMapTests, clipOutOfRange)
 
 TEST (CColouredPointsMapTests, clipOutOfRange)
 

Variables

const size_t demo9_N = 9
 
const float demo9_xs [demo9_N] ={0,0,0,1,1,1,2,2,2}
 
const float demo9_ys [demo9_N] ={0,1,2,0,1,2,0,1,2}
 
const float demo9_zs [demo9_N] ={0,1,2,0,1,2,0,1,2}
 

Function Documentation

template<class MAP >
void do_test_clipOutOfRange ( )

Definition at line 112 of file CPointsMap_unittest.cpp.

References load_demo_9pts_map().

template<class MAP >
void do_test_clipOutOfRangeInZ ( )

Definition at line 83 of file CPointsMap_unittest.cpp.

References load_demo_9pts_map().

template<class MAP >
void do_test_insertPoints ( )

Definition at line 40 of file CPointsMap_unittest.cpp.

References demo9_N, demo9_xs, demo9_ys, demo9_zs, and load_demo_9pts_map().

template<class MAP >
void load_demo_9pts_map ( MAP &  pts)
TEST ( CSimplePointsMapTests  ,
insertPoints   
)

Definition at line 150 of file CPointsMap_unittest.cpp.

TEST ( CWeightedPointsMapTests  ,
insertPoints   
)

Definition at line 155 of file CPointsMap_unittest.cpp.

TEST ( CColouredPointsMapTests  ,
insertPoints   
)

Definition at line 160 of file CPointsMap_unittest.cpp.

TEST ( CSimplePointsMapTests  ,
clipOutOfRangeInZ   
)

Definition at line 166 of file CPointsMap_unittest.cpp.

TEST ( CWeightedPointsMapTests  ,
clipOutOfRangeInZ   
)

Definition at line 171 of file CPointsMap_unittest.cpp.

TEST ( CColouredPointsMapTests  ,
clipOutOfRangeInZ   
)

Definition at line 176 of file CPointsMap_unittest.cpp.

TEST ( CSimplePointsMapTests  ,
clipOutOfRange   
)

Definition at line 181 of file CPointsMap_unittest.cpp.

TEST ( CWeightedPointsMapTests  ,
clipOutOfRange   
)

Definition at line 186 of file CPointsMap_unittest.cpp.

TEST ( CColouredPointsMapTests  ,
clipOutOfRange   
)

Definition at line 191 of file CPointsMap_unittest.cpp.

Variable Documentation

const size_t demo9_N = 9

Definition at line 25 of file CPointsMap_unittest.cpp.

Referenced by do_test_insertPoints(), and load_demo_9pts_map().

const float demo9_xs[demo9_N] ={0,0,0,1,1,1,2,2,2}

Definition at line 26 of file CPointsMap_unittest.cpp.

Referenced by do_test_insertPoints(), and load_demo_9pts_map().

const float demo9_ys[demo9_N] ={0,1,2,0,1,2,0,1,2}

Definition at line 27 of file CPointsMap_unittest.cpp.

Referenced by do_test_insertPoints(), and load_demo_9pts_map().

const float demo9_zs[demo9_N] ={0,1,2,0,1,2,0,1,2}

Definition at line 28 of file CPointsMap_unittest.cpp.

Referenced by do_test_insertPoints(), and load_demo_9pts_map().




Page generated by Doxygen 1.8.11 for MRPT 1.5.7 Git: 2190203 Tue May 15 02:01:15 2018 +0200 at miƩ may 16 12:40:16 CEST 2018