Policy for derived 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 | |
DerivedCSPolicy () | |
DerivedCSPolicy (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 | io::CoordinateSystem_ROOT |
Policy for derived coordinate systems.
A derived coordinate system supplies its own reference system as the reference system to use when contructing a new coordinate systems relative to it.
Definition at line 188 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 194 of file CoordinateSystem.h.
Referenced by FromTransformation().
|
inlineprotected |
Definition at line 196 of file CoordinateSystem.h.
|
staticprotected |
Generic factory for post-processing.
Definition at line 90 of file CoordinateSystem.cc.
References DerivedCSPolicy(), 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 58 of file CoordinateSystem.cc.
References utl::CoordinateTransformer::GetReferenceSystem().
|
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 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 utl::BaseCSPolicy::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 GetTransformationForNewCS().
|
protectedvirtual |
Calculate the correct transformation for the new CS.
Implements utl::CoordinateTransformer.
Definition at line 74 of file CoordinateSystem.cc.
References utl::CoordinateTransformer::GetTransformation().
|
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 211 of file CoordinateSystem.h.