Policy for base coordinate systems. More...
#include <utl/CoordinateSystem.h>
Public Types | |
typedef CoordinateSystemPtr | type |
Type to use to hold objects of this type. More... | |
Public Member Functions | |
const TransformationMatrix & | GetInverseTransformationTo (const CoordinateSystemPtr &target) const |
Get the inverse transformation to other coordinate system (w/ caching) More... | |
CoordinateSystemPtr | GetReferenceSystem () const |
Get the reference system for this coordinate system. More... | |
const TransformationMatrix & | GetTransformation () const |
Get the transformation matrix relative to reference system. More... | |
const TransformationMatrix & | GetTransformationTo (const CoordinateSystemPtr &target) const |
Get the transformation to other coordinate system (with caching) More... | |
Static Public Member Functions | |
static CoordinateSystemPtr | GetRootCoordinateSystem () |
Protected Types | |
typedef boost::weak_ptr< const CoordinateTransformer > | WeakCoordinateSystemPtr |
Protected Member Functions | |
BaseCSPolicy () | |
BaseCSPolicy (const TransformationMatrix &theTransformation, const CoordinateSystemPtr &theReferenceCS) | |
virtual CoordinateSystemPtr | GetReferenceForNewCS () const |
Get reference system for the creation of new coordinate systems. More... | |
CoordinateSystemPtr | GetThis () const |
Get a CoordinateSystemPointer for this . More... | |
virtual TransformationMatrix | GetTransformationForNewCS (const TransformationMatrix &theTransformation) const |
Calculate the correct transformation for the new CS. More... | |
Static Protected Member Functions | |
static type | FromTransformation (const TransformationMatrix &theTrafo, const CoordinateSystemPtr &theCS) |
Generic factory for post-processing. More... | |
Friends | |
class | CoordinateTransformer |
Policy for base coordinate systems.
A base coordinate system supplies itself as the reference system when contructing a new coordinate systems relative to it.
Definition at line 230 of file CoordinateSystem.h.
|
inherited |
Type to use to hold objects of this type.
This is the type returned by the TransformerConstructor factory methods.
Definition at line 95 of file CoordinateSystem.h.
|
protectedinherited |
Definition at line 83 of file CoordinateSystem.h.
|
inlineprotected |
Definition at line 238 of file CoordinateSystem.h.
Referenced by FromTransformation().
|
inlineprotected |
Definition at line 240 of file CoordinateSystem.h.
|
staticprotected |
Generic factory for post-processing.
Definition at line 98 of file CoordinateSystem.cc.
References BaseCSPolicy(), and utl::TransformationMatrix::Inverse().
|
inherited |
Get the inverse transformation to other coordinate system (w/ caching)
Definition at line 160 of file CoordinateSystem.cc.
References utl::CoordinateTransformer::fLastInverseTransformation, utl::CoordinateTransformer::fLastTarget, and utl::CoordinateTransformer::GetTransformationTo().
|
protectedvirtual |
Get reference system for the creation of new coordinate systems.
Implements utl::CoordinateTransformer.
Definition at line 66 of file CoordinateSystem.cc.
References utl::CoordinateTransformer::GetThis().
|
inlineinherited |
Get the reference system for this coordinate system.
Takes care to keep the ultimate root coordinate system unique.
Definition at line 102 of file CoordinateSystem.h.
References utl::CoordinateTransformer::fReferenceSystem, and utl::CoordinateTransformer::GetRootCoordinateSystem().
Referenced by utl::CoordinateTransformer::CollectTransformationFrom(), utl::CoordinateTransformer::FindCommonBase(), and utl::DerivedCSPolicy::GetReferenceForNewCS().
|
staticinherited |
Definition at line 49 of file CoordinateSystem.cc.
References utl::CoordinateTransformer::RootCoordinateSystem.
Referenced by utl::CoordinateTransformer::FindCommonBase(), utl::CoordinateTransformer::GetReferenceSystem(), and TestProbability::setUp().
|
protectedinherited |
Get a CoordinateSystemPointer
for this
.
Definition at line 34 of file CoordinateSystem.cc.
Referenced by GetReferenceForNewCS().
|
inlineinherited |
Get the transformation matrix relative to reference system.
Definition at line 106 of file CoordinateSystem.h.
References utl::CoordinateTransformer::fTransformation.
Referenced by utl::CoordinateTransformer::CollectTransformationFrom(), and utl::DerivedCSPolicy::GetTransformationForNewCS().
|
protectedvirtual |
Calculate the correct transformation for the new CS.
Implements utl::CoordinateTransformer.
Definition at line 82 of file CoordinateSystem.cc.
|
inherited |
Get the transformation to other coordinate system (with caching)
Definition at line 139 of file CoordinateSystem.cc.
References utl::CoordinateTransformer::CollectTransformationFrom(), utl::CoordinateTransformer::FindCommonBase(), utl::CoordinateTransformer::fLastTarget, utl::CoordinateTransformer::fLastTransformation, and utl::TransformationMatrix::Inverse().
Referenced by utl::CoordinateTransformer::GetInverseTransformationTo().
|
friend |
Definition at line 235 of file CoordinateSystem.h.