List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Friends
utl::TransformerConstructor< Policy > Class Template Reference

Constructors for Transformer classes. More...

#include <utl/TransformerConstructor.h>

Inheritance diagram for utl::TransformerConstructor< Policy >:
Inheritance graph
[legend]

Public Member Functions

 ~TransformerConstructor ()
 Destructor - should be virtual for base classes. More...
 

Static Public Member Functions

static Policy::type FromTransformation (const TransformationMatrix &theTrafo, const CoordinateSystemPtr &theCS)
 Construct from transformation matrix. More...
 
static Policy::type Rotation (const double angle, const Vector &theAxis, const CoordinateSystemPtr &theCS)
 Construct from general rotation about axis. More...
 
static Policy::type RotationX (const double angle, const CoordinateSystemPtr &theCS)
 Construct from rotation about X axis. More...
 
static Policy::type RotationY (const double angle, const CoordinateSystemPtr &theCS)
 Construct from rotation about Y axis. More...
 
static Policy::type RotationZ (const double angle, const CoordinateSystemPtr &theCS)
 Construct from rotation about Z axis. More...
 
static Policy::type Translation (const Vector &theTranslation, const CoordinateSystemPtr &theCS)
 Construct from translation by vector. More...
 

Private Member Functions

 TransformerConstructor (const TransformationMatrix &theTransformation, const CoordinateSystemPtr &theCS)
 

Friends

Policy::type Policy::FromTransformation (const TransformationMatrix &, const CoordinateSystemPtr &)
 

Detailed Description

template<class Policy>
class utl::TransformerConstructor< Policy >

Constructors for Transformer classes.

This class provides factory methods for coordinate systems (passive transformations) and for active transformations.

Author
Lukas Nellen
Date
19 Oct 2003

Definition at line 16 of file TransformerConstructor-fwd.h.

Constructor & Destructor Documentation

template<typename Policy >
TransformerConstructor::~TransformerConstructor ( )

Destructor - should be virtual for base classes.

Definition at line 31 of file TransformerConstructor.cc.

template<typename Policy >
TransformerConstructor::TransformerConstructor ( const TransformationMatrix theTransformation,
const CoordinateSystemPtr theCS 
)
private

Definition at line 23 of file TransformerConstructor.cc.

Member Function Documentation

template<typename Policy >
Policy::type TransformerConstructor::FromTransformation ( const TransformationMatrix theTrafo,
const CoordinateSystemPtr theCS 
)
static

Construct from transformation matrix.

Deprecated:
Use one of the other factory methods and chain the constructed objects instead. This will make the construction easier to understand than using a pre-calculated transformation matrix.

Definition at line 43 of file TransformerConstructor.cc.

Referenced by io::CoordinateSystem_ROOT::operator>>().

template<typename Policy >
Policy::type TransformerConstructor::Rotation ( const double  angle,
const Vector theAxis,
const CoordinateSystemPtr theCS 
)
static

Construct from general rotation about axis.

Definition at line 67 of file TransformerConstructor.cc.

References utl::TransformationMatrix::Rotation().

Referenced by FindTimeOffset::FindTimeOffset::FindOffset().

template<typename Policy >
Policy::type TransformerConstructor::RotationX ( const double  angle,
const CoordinateSystemPtr theCS 
)
static
template<typename Policy >
Policy::type TransformerConstructor::RotationY ( const double  angle,
const CoordinateSystemPtr theCS 
)
static
template<typename Policy >
Policy::type TransformerConstructor::RotationZ ( const double  angle,
const CoordinateSystemPtr theCS 
)
static
template<typename Policy >
Policy::type TransformerConstructor::Translation ( const Vector theTranslation,
const CoordinateSystemPtr theCS 
)
static

Friends And Related Function Documentation

template<class Policy >
Policy::type Policy::FromTransformation ( const TransformationMatrix ,
const CoordinateSystemPtr  
)
friend

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

, generated on Tue Sep 26 2023.