Namespaces | Defines | Variables

D:/Programmierung/C/TRTK/include/TRTK/Definitions.hpp File Reference

This file contains some commonly used constants of the TRTK library as well as some macro definitions. More...

#include "Version.hpp"
Include dependency graph for Definitions.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  TRTK
 

Namespace of the Transformation and Registration Toolkit.


Defines

#define MAKE_NONCOPYABLE(ClassName)
 Declare a class as non-copyable.
#define TRTK_PARALLELIZE
#define TRTK_PARALLELIZE_GRADIENT
#define TRTK_PARALLELIZE_JACOBIAN

Variables

const double TRTK::pi = 3.141592653589793238

Detailed Description

This file contains some commonly used constants of the TRTK library as well as some macro definitions.

Author:
Christoph Haenisch
Version:
0.1.0
Date:
last changed on 2013-08-16

Definition in file Definitions.hpp.


Define Documentation

#define MAKE_NONCOPYABLE (   ClassName )
Value:
ClassName(const ClassName &); \
    void operator=(const ClassName &);

Declare a class as non-copyable.

The macro takes the class name as its first argument. The macro must be placed in the private section of the class.

Example:

 class Example
 {
     MAKE_NONCOPYABLE(Example)
 public:
     Example();
     // ...
 };

Definition at line 51 of file Definitions.hpp.

#define TRTK_PARALLELIZE

If the macro TRTK_PARALLELIZE is defined some algorithms will make use of OpenMP.

The definition of TRTK_PARALLELIZE will trigger the following definitions:

  • TRTK_PARALLELIZE_GRADIENT
  • TRTK_PARALLELIZE_JACOBIAN

Definition at line 69 of file Definitions.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines