GeoModel - GeoModelCore
GeoTransform.cxx
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include "GeoModelKernel/GeoTransform.h"
6 #include "GeoModelKernel/GeoNodeAction.h"
7 
8 GeoTransform::GeoTransform (const GeoTrf::Transform3D& transform)
9  : m_transform(transform)
10 {
11 }
12 
13 GeoTransform::~GeoTransform()
14 {
15 }
16 
17 GeoTrf::Transform3D GeoTransform::getTransform(const GeoVAlignmentStore* /*store*/) const
18 {
19  return m_transform;
20 }
21 
22 GeoTrf::Transform3D GeoTransform::getDefTransform(const GeoVAlignmentStore* /*store*/) const
23 {
24  return m_transform;
25 }
26 
27 void GeoTransform::exec(GeoNodeAction *action) const
28 {
29  action->handleTransform(this);
30 }
virtual GeoTrf::Transform3D getTransform(const GeoVAlignmentStore *store=nullptr) const
Gets the total transformation.
Abstract base class for GeoModel alignment stores The interface allows to store/retrieve transformati...
virtual void exec(GeoNodeAction *action) const override final
Executes a GeoNodeAction.
This type of action sees the geometry graph in full detail, including each transformation and propert...
Definition: GeoNodeAction.h:30
GeoTrf::Transform3D getDefTransform(const GeoVAlignmentStore *store=nullptr) const
Gets the default transformation (no alignment correction)