CMS 3D CMS Logo

AlignableSurface.h
Go to the documentation of this file.
1 #ifndef Alignment_CommonAlignment_AlignableSurface_H
2 #define Alignment_CommonAlignment_AlignableSurface_H
3 
13 #include <vector>
14 
17 
18 class Plane;
19 
20 class AlignableSurface : public GloballyPositioned<align::Scalar> {
21 public:
23  AlignableSurface(const Plane& surface);
24 
26  AlignableSurface(const align::PositionType& = PositionType(), // default 0
27  const align::RotationType& = RotationType() // default identity
28  );
29 
30  align::Scalar width() const { return theWidth; }
31 
32  align::Scalar length() const { return theLength; }
33 
35 
37 
40 
43 
46 
49 
52 
55 
56 private:
59 };
60 
61 #endif
GloballyPositioned
Definition: GloballyPositioned.h:18
AlignableSurface::theWidth
align::Scalar theWidth
Definition: AlignableSurface.h:57
TkRotation< Scalar >
AlignableSurface::toLocal
align::RotationType toLocal(const align::RotationType &) const
Return in local frame a rotation given in global frame.
Definition: AlignableSurface.cc:35
AlignableSurface::length
align::Scalar length() const
Definition: AlignableSurface.h:32
GloballyPositioned< align::Scalar >::RotationType
TkRotation< align::Scalar > RotationType
Definition: GloballyPositioned.h:22
align::Scalar
double Scalar
Definition: Definitions.h:25
AlignableSurface::theLength
align::Scalar theLength
Definition: AlignableSurface.h:58
GloballyPositioned.h
AlignableSurface::toGlobal
align::GlobalPoints toGlobal(const align::LocalPoints &) const
Return in global coord given a set of local points.
Definition: AlignableSurface.cc:15
Point3DBase< Scalar, GlobalTag >
Utilities.h
align::EulerAngles
AlgebraicVector EulerAngles
Definition: Definitions.h:34
AlignableSurface::AlignableSurface
AlignableSurface(const Plane &surface)
Constructor to set surface from geometry.
AlignableSurface::setWidth
void setWidth(align::Scalar width)
Definition: AlignableSurface.h:34
GloballyPositioned< align::Scalar >::PositionType
Point3DBase< align::Scalar, GlobalTag > PositionType
Definition: GloballyPositioned.h:21
AlignableSurface
Definition: AlignableSurface.h:20
AlignableSurface::width
align::Scalar width() const
Definition: AlignableSurface.h:30
Plane
Definition: Plane.h:16
AlignableSurface::setLength
void setLength(align::Scalar length)
Definition: AlignableSurface.h:36
align::GlobalPoints
std::vector< GlobalPoint > GlobalPoints
Definition: Utilities.h:27
align::LocalPoints
std::vector< LocalPoint > LocalPoints
Definition: Utilities.h:29