#include <SurfaceDeformation.h>
Public Types | |
typedef Topology::Local2DPoint | Local2DPoint |
typedef Vector2DBase< double, LocalTag > | Local2DVector |
typedef Topology::LocalTrackAngles | LocalTrackAngles |
typedef Topology::MathVector2D | MathVector2D |
typedef Topology::Vector2D | Vector2D |
Public Member Functions | |
virtual bool | add (const SurfaceDeformation &other)=0 |
virtual SurfaceDeformation * | clone () const =0 |
virtual std::vector< double > | parameters () const =0 |
parameters - interpretation left to the concrete implementation | |
virtual Local2DVector | positionCorrection (const Local2DPoint &localPos, const LocalTrackAngles &localAngles, double length, double width) const =0 |
virtual int | type () const =0 |
specific type, i.e. SurfaceDeformationFactory::Type |
Abstract base class for corrections to be applied to 2D local positions on a surface if the surface is not perfectly following its parameterisaton (e.g. bows for a Plane).
Definition at line 18 of file SurfaceDeformation.h.
Definition at line 22 of file SurfaceDeformation.h.
typedef Vector2DBase<double, LocalTag> SurfaceDeformation::Local2DVector |
Definition at line 21 of file SurfaceDeformation.h.
Definition at line 23 of file SurfaceDeformation.h.
Definition at line 25 of file SurfaceDeformation.h.
Definition at line 24 of file SurfaceDeformation.h.
virtual bool SurfaceDeformation::add | ( | const SurfaceDeformation & | other | ) | [pure virtual] |
update information with parameters of 'other', false in case the type or some parameters do not match and thus the information cannot be used (then no changes are done), true if merge was successful
Implemented in BowedSurfaceDeformation, and TwoBowedSurfacesDeformation.
Referenced by AlignableDetUnit::addSurfaceDeformation(), and ora::Sequences::create().
virtual SurfaceDeformation* SurfaceDeformation::clone | ( | ) | const [pure virtual] |
Implemented in BowedSurfaceDeformation, and TwoBowedSurfacesDeformation.
Referenced by AlignableDetUnit::cacheTransformation(), and AlignableDetUnit::setSurfaceDeformation().
virtual std::vector<double> SurfaceDeformation::parameters | ( | ) | const [pure virtual] |
parameters - interpretation left to the concrete implementation
Implemented in BowedSurfaceDeformation, and TwoBowedSurfacesDeformation.
Referenced by BowedSurfaceDeformation::add(), and TwoBowedSurfacesDeformation::add().
virtual Local2DVector SurfaceDeformation::positionCorrection | ( | const Local2DPoint & | localPos, |
const LocalTrackAngles & | localAngles, | ||
double | length, | ||
double | width | ||
) | const [pure virtual] |
correction to add to local position depending on
Implemented in BowedSurfaceDeformation, and TwoBowedSurfacesDeformation.
virtual int SurfaceDeformation::type | ( | ) | const [pure virtual] |
specific type, i.e. SurfaceDeformationFactory::Type
Implemented in BowedSurfaceDeformation, and TwoBowedSurfacesDeformation.
Referenced by BowedSurfaceDeformation::add(), TwoBowedSurfacesDeformation::add(), and AlignableDetUnit::addSurfaceDeformation().