Ocean
Ocean Test Tracking Library

The Ocean Test Tracking Library implements tests for Ocean's Tracking library. More...

Collaboration diagram for Ocean Test Tracking Library:

Modules

 Ocean Test Tracking Oculus Tags Library
 The Ocean Test Tracking Library implements tests for Ocean's Tracking Oculus Tag library.
 

Data Structures

class  Ocean::Test::TestTracking::TestDatabase
 This class implements tests for the Database class. More...
 
class  Ocean::Test::TestTracking::TestHomographyImageAlignmentDense
 This class implements a test for the dense homography image alignment. More...
 
class  Ocean::Test::TestTracking::TestPatternTracker
 This class implements a test for pattern tracker. More...
 
class  Ocean::Test::TestTracking::TestSimilarityTracker
 This class implements tests for the SimilarityTracker class. More...
 
class  Ocean::Test::TestTracking::TestSmoothedTransformation
 This class implements tests for the SmoothedTransformation class. More...
 
class  Ocean::Test::TestTracking::TestVocabularyTree
 This class implements a test for the VocabularyTree class. More...
 

Functions

OCEAN_TEST_TRACKING_EXPORT bool Ocean::Test::TestTracking::testTracking (const double testDuration, Worker &worker, const std::string &testFunctions=std::string())
 Tests the entire tracking library. More...
 
OCEAN_TEST_TRACKING_EXPORT void Ocean::Test::TestTracking::testTrackingAsynchron (const double testDuration, const std::string &testFunctions=std::string())
 Tests the entire tracking library. More...
 

Detailed Description

The Ocean Test Tracking Library implements tests for Ocean's Tracking library.

The library is platform independent.

Function Documentation

◆ testTracking()

OCEAN_TEST_TRACKING_EXPORT bool Ocean::Test::TestTracking::testTracking ( const double  testDuration,
Worker worker,
const std::string &  testFunctions = std::string() 
)

Tests the entire tracking library.

Parameters
testDurationNumber of seconds for each test, with range (0, infinity)
workerThe worker object to distribute some computation on as many CPU cores as defined in the worker object.
testFunctionsOptional name of the functions to be tested
Returns
True, if the entire test succeeded

◆ testTrackingAsynchron()

OCEAN_TEST_TRACKING_EXPORT void Ocean::Test::TestTracking::testTrackingAsynchron ( const double  testDuration,
const std::string &  testFunctions = std::string() 
)

Tests the entire tracking library.

This function returns directly as the actual test is invoked in an own thread.
This function in intended for non-console applications like e.g., mobile devices.

Parameters
testDurationNumber of seconds for each test, with range (0, infinity)
testFunctionsOptional name of the functions to be tested