GeoModel - GeoModelCore
Public Member Functions | Private Member Functions | Private Attributes | List of all members
GeoAlignableTransform Class Referencefinal
Inheritance diagram for GeoAlignableTransform:
GeoTransform GeoGraphNode RCBase

Public Member Functions

 GeoAlignableTransform (const GeoTrf::Transform3D &transform)
 
virtual GeoTrf::Transform3D getTransform (const GeoVAlignmentStore *store=nullptr) const override
 Gets the total transform, including the alignment correction.
 
void setDelta (const GeoTrf::Transform3D &delta, GeoVAlignmentStore *store=nullptr)
 Sets an alignment delta.
 
void clearDelta (GeoVAlignmentStore *store=nullptr)
 Clears the alignment delta.
 
virtual void dockTo (GeoVPhysVol *parent) override
 
- Public Member Functions inherited from GeoTransform
 GeoTransform (const GeoTrf::Transform3D &transform)
 
 GeoTransform (const GeoTransform &right)=delete
 
GeoTransform & operator= (const GeoTransform &right)=delete
 
GeoTrf::Transform3D getDefTransform (const GeoVAlignmentStore *store=nullptr) const
 Gets the default transformation (no alignment correction)
 
virtual void exec (GeoNodeAction *action) const override final
 Executes a GeoNodeAction.
 
- Public Member Functions inherited from RCBase
void ref () const
 
void unref () const
 
unsigned int refCount () const
 

Private Member Functions

 GeoAlignableTransform (const GeoAlignableTransform &right)
 
GeoAlignableTransform & operator= (const GeoAlignableTransform &right)
 

Private Attributes

GeoTrf::Transform3D * m_delta
 
std::vector< GeoGraphNode * > m_parentList
 

Detailed Description

Definition at line 13 of file GeoAlignableTransform.h.

Member Function Documentation

void GeoAlignableTransform::dockTo ( GeoVPhysVol *  parent)
overridevirtual

When a node is added to a parent in the graph, the node is always notified. What happens at that time is up to the node. Most nodes do not need to do anything. Some–the alignable transforms in particular–need to take some actions, such as adding the parent volume to a list

Reimplemented from GeoGraphNode.

Definition at line 72 of file GeoAlignableTransform.cxx.

73 {
74  m_parentList.push_back (parent);
75 }

The documentation for this class was generated from the following files: