ATLAS Offline Software
Loading...
Searching...
No Matches
Trk::Surface::Transforms Struct Reference

#include <Surface.h>

Collaboration diagram for Trk::Surface::Transforms:

Public Member Functions

 Transforms (const Amg::Transform3D &atransform)
 Transforms (const Amg::Transform3D &atransform, const Amg::Vector3D &acenter)
 Transforms (const Amg::Transform3D &atransform, const Amg::Vector3D &acenter, const Amg::Vector3D &anormal)
 Transforms (const Transforms &)=default
 Transforms (Transforms &&)=default
Transformsoperator= (const Transforms &)=default
Transformsoperator= (Transforms &&)=default
 ~Transforms ()=default
 Transform3D to orient surface w.r.t to global frame.

Public Attributes

Amg::Transform3D transform
 center position of the surface
Amg::Vector3D center
 normal vector of the surface
Amg::Vector3D normal

Detailed Description

Constructor & Destructor Documentation

◆ Transforms() [1/5]

Trk::Surface::Transforms::Transforms ( const Amg::Transform3D & atransform)
inline

Definition at line 90 of file Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h.

91 : transform(atransform)
92 , center(transform.translation())
93 , normal(transform.linear().col(2))
94 {
95 }
Amg::Transform3D transform
center position of the surface

◆ Transforms() [2/5]

Trk::Surface::Transforms::Transforms ( const Amg::Transform3D & atransform,
const Amg::Vector3D & acenter )
inline

Definition at line 98 of file Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h.

100 : transform(atransform)
101 , center(acenter)
102 , normal(transform.linear().col(2))
103 {
104 }

◆ Transforms() [3/5]

Trk::Surface::Transforms::Transforms ( const Amg::Transform3D & atransform,
const Amg::Vector3D & acenter,
const Amg::Vector3D & anormal )
inline

Definition at line 107 of file Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h.

110 : transform(atransform)
111 , center(acenter)
112 , normal(anormal)
113 {
114 }

◆ Transforms() [4/5]

Trk::Surface::Transforms::Transforms ( const Transforms & )
default

◆ Transforms() [5/5]

Trk::Surface::Transforms::Transforms ( Transforms && )
default

◆ ~Transforms()

Trk::Surface::Transforms::~Transforms ( )
default

Transform3D to orient surface w.r.t to global frame.

Member Function Documentation

◆ operator=() [1/2]

Transforms & Trk::Surface::Transforms::operator= ( const Transforms & )
default

◆ operator=() [2/2]

Transforms & Trk::Surface::Transforms::operator= ( Transforms && )
default

Member Data Documentation

◆ center

Amg::Vector3D Trk::Surface::Transforms::center

normal vector of the surface

Definition at line 123 of file Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h.

◆ normal

Amg::Vector3D Trk::Surface::Transforms::normal

◆ transform

Amg::Transform3D Trk::Surface::Transforms::transform

center position of the surface

Definition at line 121 of file Tracking/TrkDetDescr/TrkSurfaces/TrkSurfaces/Surface.h.


The documentation for this struct was generated from the following file: