GeoModel - GeoModelCore
GeoNodeAction.cxx
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include "GeoModelKernel/GeoNodeAction.h"
6 
7 GeoNodeAction::GeoNodeAction()
8  : m_terminate (false)
9 {
10 }
11 
12 GeoNodeAction::~GeoNodeAction()
13 {
14 }
15 
16 void GeoNodeAction::handleNode (const GeoGraphNode *)
17 {
18  // Do nothing...
19 }
20 
21 void GeoNodeAction::handleTransform (const GeoTransform *)
22 {
23  // Do nothing...
24 }
25 
26 void GeoNodeAction::handlePhysVol (const GeoPhysVol *)
27 {
28 }
29 
30 void GeoNodeAction::handleFullPhysVol (const GeoFullPhysVol *)
31 {
32 }
33 
34 GeoNodePath* GeoNodeAction::getPath ()
35 {
36  return &m_path;
37 }
38 
39 Query<unsigned int> GeoNodeAction::getDepthLimit ()
40 {
41  return m_depth;
42 }
43 
44 void GeoNodeAction::terminate ()
45 {
46  m_terminate = true;
47 }
48 
49 bool GeoNodeAction::shouldTerminate () const
50 {
51  return m_terminate;
52 }
53 
54 void GeoNodeAction::handleNameTag (const GeoNameTag *)
55 {
56 }
57 
58 void GeoNodeAction::handleSerialDenominator (const GeoSerialDenominator *)
59 {
60 }
61 
62 void GeoNodeAction::setDepthLimit (unsigned int limit)
63 {
64  m_depth = limit;
65 }
66 
67 void GeoNodeAction::clearDepthLimit ()
68 {
69  m_depth = Query < unsigned int >();
70 }
71 
72 void GeoNodeAction::handleSerialTransformer (const GeoSerialTransformer *)
73 {
74 }
75 
76 void GeoNodeAction::handleIdentifierTag (const GeoIdentifierTag *)
77 {
78 }
79 
80 void GeoNodeAction::handleSerialIdentifier(const GeoSerialIdentifier *)
81 {
82 }
Like a GeoSerialDenominator. Identifies volumes, including virtual volumes.
This class generates a name for all physical volumes following it. The name is a prefix string follow...
This class represent a physical volume whose absolute default and aligned positions are known and hel...
This class gives a name to the next physical volume.
Definition: GeoNameTag.h:17
This class gives an integral identifer to the following physical volume.
This class takes a physical volume and places it according to a transformation field, N times.
Represents Nodes that can be assembled together to make a graph. Subclasses (for now): ...
Definition: GeoGraphNode.h:28
A basic geometrical (Euclidean) transform. Can return a GeoTrf::Transform3D. Reference counted...
Definition: GeoTransform.h:22
A GeoPhysVol is a physical volume for normal recursive access only. This means, normally, that it represents a piece of detector that nobody cares about except for tracing engines like GEANT. More specifically:
Definition: GeoPhysVol.h:31