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 
21  public GloballyPositioned<align::Scalar>
22 {
23  public:
24 
27  const Plane& surface
28  );
29 
32  const align::PositionType& = PositionType(), // default 0
33  const align::RotationType& = RotationType() // default identity
34  );
35 
36  align::Scalar width() const { return theWidth; }
37 
38  align::Scalar length() const { return theLength; }
39 
41 
43 
46 
49  const align::LocalPoints&
50  ) const;
51 
54  const align::RotationType&
55  ) const;
56 
59  const align::EulerAngles&
60  ) const;
61 
64  const align::RotationType&
65  ) const;
66 
69  const align::EulerAngles&
70  ) const;
71 
72  private:
73 
76 };
77 
78 #endif
align::Scalar width() const
double Scalar
Definition: Definitions.h:27
AlignableSurface(const Plane &surface)
Constructor to set surface from geometry.
void setWidth(align::Scalar width)
Definition: Plane.h:17
std::vector< GlobalPoint > GlobalPoints
Definition: Utilities.h:28
void setLength(align::Scalar length)
align::RotationType toLocal(const align::RotationType &) const
Return in local frame a rotation given in global frame.
align::Scalar theWidth
AlgebraicVector EulerAngles
Definition: Definitions.h:36
align::Scalar length() const
Point3DBase< align::Scalar, GlobalTag > PositionType
TkRotation< align::Scalar > RotationType
align::GlobalPoints toGlobal(const align::LocalPoints &) const
Return in global coord given a set of local points.
align::Scalar theLength
std::vector< LocalPoint > LocalPoints
Definition: Utilities.h:30