Helios++
Helios software for LiDAR simulations
HeliosTests::RigidMotionTest Class Reference

Rigid motion test. More...

#include <RigidMotionTest.h>

Inheritance diagram for HeliosTests::RigidMotionTest:
Collaboration diagram for HeliosTests::RigidMotionTest:

Public Member Functions

 RigidMotionTest ()
 Rigid motion test constructor.
 
bool run () override
 
bool testPureRigidMotion ()
 Test rigid motion implementation on its own. More...
 
bool testHeliosRigidMotion ()
 Test rigid motion implementation adapted to Helios components. More...
 
bool testPureIdentityR2 ()
 Test identity rigid motion in \(\mathbb{R}^{2}\). More...
 
bool testPureTranslationR2 ()
 Test translation rigid motion in \(\mathbb{R}^{2}\). More...
 
bool testPureReflectionR2 ()
 Test reflection rigid motion in \(\mathbb{R}^{2}\). More...
 
bool testPureGlideReflectionR2 ()
 Test glide reflection rigid motion in \(\mathbb{R}^{2}\). More...
 
bool testPureRotationR2 ()
 Test rotation rigid motion in \(\mathbb{R}^{2}\). More...
 
bool testPureIdentityR3 ()
 Test identity rigid motion in \(\mathbb{R}^{3}\). More...
 
bool testPureTranslationR3 ()
 Test translation rigid motion in \(\mathbb{R}^{3}\). More...
 
bool testPureReflectionR3 ()
 Test reflection rigid motion in \(\mathbb{R}^{3}\). More...
 
bool testPureGlideReflectionR3 ()
 Test glide reflection rigid motion in \(\mathbb{R}^{3}\). More...
 
bool testPureRotationR3 ()
 Test rotation rigid motion in \(\mathbb{R}^{3}\). More...
 
bool testPureHelicalR3 ()
 Test helical rigid motion in \(\mathbb{R}^{3}\). More...
 
bool testPureRotationalSymmetryR3 ()
 Test rotational symmetry rigid motion in \(\mathbb{R}^{3}\). More...
 
bool testHeliosIdentityR3 (DynMovingObject const &dmo)
 Test identity dynamic motion in \(\mathbb{R}^{3}\). More...
 
bool testHeliosTranslationR3 (DynMovingObject const &dmo)
 Test translation dynamic motion in \(\mathbb{R}^{3}\). More...
 
bool testHeliosReflectionR3 (DynMovingObject const &dmo)
 Test reflection dynamic motion in \(\mathbb{R}^{3}\). More...
 
bool testHeliosGlideReflectionR3 (DynMovingObject const &dmo)
 Test glide reflection dynamic motion in \(\mathbb{R}^{3}\). More...
 
bool testHeliosRotationR3 (DynMovingObject const &dmo)
 Test rotation dynamic motion in \(\mathbb{R}^{3}\). More...
 
bool testHeliosHelicalR3 (DynMovingObject const &dmo)
 Test helical dynamic motion in \(\mathbb{R}^{3}\). More...
 
bool testHeliosRotationalSymmetryR3 (DynMovingObject const &dmo)
 Test rotational symmetry dynamic motion in \(\mathbb{R}^{3}\). More...
 
- Public Member Functions inherited from HeliosTests::BaseTest
 BaseTest (std::string const &name)
 Base test constructor. More...
 
std::string getName ()
 Obtain the test name. More...
 
void operator() (std::ostream &out=std::cout, bool color=true)
 Another way to call test function. More...
 
bool test (std::ostream &out=std::cout, bool color=true)
 Perform the test and output its final status. More...
 

Public Attributes

double const eps = 0.00001
 Decimal precision for validation purposes.
 
RigidMotionEngine rme
 The rigid motion engine to be used by tests.
 
RigidMotionR2Factory rm2f
 The R2 rigid motion factory to be used by tests.
 
RigidMotionR3Factory rm3f
 The R3 rigid motion factory to be used by tests.
 
mat R2X
 Matrix of points in R2 to be used by tests.
 
mat R3X
 Matrix of points in R3 to be used by tests.
 
DynMotionEngine dme
 The dynamic motion engine to be used by helios tests.
 

Additional Inherited Members

- Protected Attributes inherited from HeliosTests::BaseTest
std::string const name
 The name for the test.
 

Detailed Description

Rigid motion test.

Author
Alberto M. Esmoris Pena
Version
1.0

Member Function Documentation

◆ run()

bool HeliosTests::RigidMotionTest::run ( )
overridevirtual
See also
BaseTest::run

Implements HeliosTests::BaseTest.

◆ testHeliosGlideReflectionR3()

bool HeliosTests::RigidMotionTest::testHeliosGlideReflectionR3 ( DynMovingObject const &  dmo)

Test glide reflection dynamic motion in \(\mathbb{R}^{3}\).

Returns
True if passed, false otherwise

◆ testHeliosHelicalR3()

bool HeliosTests::RigidMotionTest::testHeliosHelicalR3 ( DynMovingObject const &  dmo)

Test helical dynamic motion in \(\mathbb{R}^{3}\).

Returns
True if passed, false otherwise

◆ testHeliosIdentityR3()

bool HeliosTests::RigidMotionTest::testHeliosIdentityR3 ( DynMovingObject const &  dmo)

Test identity dynamic motion in \(\mathbb{R}^{3}\).

Returns
True if passed, false otherwise

◆ testHeliosReflectionR3()

bool HeliosTests::RigidMotionTest::testHeliosReflectionR3 ( DynMovingObject const &  dmo)

Test reflection dynamic motion in \(\mathbb{R}^{3}\).

Returns
True if passed, false otherwise

◆ testHeliosRigidMotion()

bool HeliosTests::RigidMotionTest::testHeliosRigidMotion ( )

Test rigid motion implementation adapted to Helios components.

Returns
True if passed, false otherwise

◆ testHeliosRotationalSymmetryR3()

bool HeliosTests::RigidMotionTest::testHeliosRotationalSymmetryR3 ( DynMovingObject const &  dmo)

Test rotational symmetry dynamic motion in \(\mathbb{R}^{3}\).

Returns
True if passed, false otherwise

◆ testHeliosRotationR3()

bool HeliosTests::RigidMotionTest::testHeliosRotationR3 ( DynMovingObject const &  dmo)

Test rotation dynamic motion in \(\mathbb{R}^{3}\).

Returns
True if passed, false otherwise

◆ testHeliosTranslationR3()

bool HeliosTests::RigidMotionTest::testHeliosTranslationR3 ( DynMovingObject const &  dmo)

Test translation dynamic motion in \(\mathbb{R}^{3}\).

Returns
True if passed, false otherwise

◆ testPureGlideReflectionR2()

bool HeliosTests::RigidMotionTest::testPureGlideReflectionR2 ( )

Test glide reflection rigid motion in \(\mathbb{R}^{2}\).

Returns
True if passed, false otherwise

◆ testPureGlideReflectionR3()

bool HeliosTests::RigidMotionTest::testPureGlideReflectionR3 ( )

Test glide reflection rigid motion in \(\mathbb{R}^{3}\).

Returns
True if passed, false otherwise

◆ testPureHelicalR3()

bool HeliosTests::RigidMotionTest::testPureHelicalR3 ( )

Test helical rigid motion in \(\mathbb{R}^{3}\).

Returns
True if passed, false otherwise

◆ testPureIdentityR2()

bool HeliosTests::RigidMotionTest::testPureIdentityR2 ( )

Test identity rigid motion in \(\mathbb{R}^{2}\).

Returns
True if passed, false otherwise

◆ testPureIdentityR3()

bool HeliosTests::RigidMotionTest::testPureIdentityR3 ( )

Test identity rigid motion in \(\mathbb{R}^{3}\).

Returns
True if passed, false otherwise

◆ testPureReflectionR2()

bool HeliosTests::RigidMotionTest::testPureReflectionR2 ( )

Test reflection rigid motion in \(\mathbb{R}^{2}\).

Returns
True if passed, false otherwise

◆ testPureReflectionR3()

bool HeliosTests::RigidMotionTest::testPureReflectionR3 ( )

Test reflection rigid motion in \(\mathbb{R}^{3}\).

Returns
True if passed, false otherwise

◆ testPureRigidMotion()

bool HeliosTests::RigidMotionTest::testPureRigidMotion ( )

Test rigid motion implementation on its own.

Returns
True if passed, false otherwise

◆ testPureRotationalSymmetryR3()

bool HeliosTests::RigidMotionTest::testPureRotationalSymmetryR3 ( )

Test rotational symmetry rigid motion in \(\mathbb{R}^{3}\).

Returns
True if passed, false otherwise

◆ testPureRotationR2()

bool HeliosTests::RigidMotionTest::testPureRotationR2 ( )

Test rotation rigid motion in \(\mathbb{R}^{2}\).

Returns
True if passed, false otherwise

◆ testPureRotationR3()

bool HeliosTests::RigidMotionTest::testPureRotationR3 ( )

Test rotation rigid motion in \(\mathbb{R}^{3}\).

Returns
True if passed, false otherwise

◆ testPureTranslationR2()

bool HeliosTests::RigidMotionTest::testPureTranslationR2 ( )

Test translation rigid motion in \(\mathbb{R}^{2}\).

Returns
True if passed, false otherwise

◆ testPureTranslationR3()

bool HeliosTests::RigidMotionTest::testPureTranslationR3 ( )

Test translation rigid motion in \(\mathbb{R}^{3}\).

Returns
True if passed, false otherwise

The documentation for this class was generated from the following file: