ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
graphics
VP1
VP1Utils
VP1Utils
SurfaceToSoNode.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef SURFACETOSONODE_H
6
#define SURFACETOSONODE_H
7
9
// //
10
// Header file for class SurfaceToSoNode //
11
// //
12
// Author: Andreas Salzburger <Andreas.Salzburger@cern.ch> (primary) //
13
// Thomas Kittelmann <Thomas.Kittelmann@cern.ch> //
14
// //
15
// Initial VP1 version: June 2007 //
16
// //
18
19
class
SoNode;
20
21
namespace
Trk
{
22
class
Surface
;
23
class
PlaneSurface
;
24
class
CylinderSurface
;
25
class
DiscSurface
;
26
class
StraightLineSurface
;
27
class
PerigeeSurface
;
28
}
29
30
class
SurfaceToSoNode
{
31
32
public
:
33
// Public type definitions:
34
35
// Default constructor
36
SurfaceToSoNode
();
37
38
// Destructor
39
virtual
~SurfaceToSoNode
();
40
41
// the general one, has to do a dynamic cast
42
SoNode*
translateSurface
(
const
Trk::Surface
& sf,
const
bool
& simple=
false
)
const
;
43
44
// translate a PlaneSurface
45
SoNode*
translatePlaneSurface
(
const
Trk::PlaneSurface
& psf )
const
;
46
// translate a CylinderSurface
47
SoNode*
translateCylinderSurface
(
const
Trk::CylinderSurface
& csf )
const
;
48
// translate a DiscSurface
49
SoNode*
translateDiscSurface
(
const
Trk::DiscSurface
& dsf)
const
;
50
// translate a StraightLineSurface
51
SoNode*
translateStraightLineSurface
(
const
Trk::StraightLineSurface
& slsf,
const
bool
& simple=
false
)
const
;
52
// translate a PerigeeSurface
53
SoNode*
translatePerigeeSurface
(
const
Trk::PerigeeSurface
& persf)
const
;
54
55
static
const
double
surfaceThickness
;
56
};
57
58
#endif
59
60
SurfaceToSoNode::translateCylinderSurface
SoNode * translateCylinderSurface(const Trk::CylinderSurface &csf) const
Definition
SurfaceToSoNode.cxx:175
SurfaceToSoNode::SurfaceToSoNode
SurfaceToSoNode()
Definition
SurfaceToSoNode.cxx:49
SurfaceToSoNode::translatePerigeeSurface
SoNode * translatePerigeeSurface(const Trk::PerigeeSurface &persf) const
Definition
SurfaceToSoNode.cxx:243
SurfaceToSoNode::translateStraightLineSurface
SoNode * translateStraightLineSurface(const Trk::StraightLineSurface &slsf, const bool &simple=false) const
Definition
SurfaceToSoNode.cxx:216
SurfaceToSoNode::translatePlaneSurface
SoNode * translatePlaneSurface(const Trk::PlaneSurface &psf) const
Definition
SurfaceToSoNode.cxx:101
SurfaceToSoNode::translateDiscSurface
SoNode * translateDiscSurface(const Trk::DiscSurface &dsf) const
Definition
SurfaceToSoNode.cxx:191
SurfaceToSoNode::~SurfaceToSoNode
virtual ~SurfaceToSoNode()
Definition
SurfaceToSoNode.cxx:55
SurfaceToSoNode::surfaceThickness
static const double surfaceThickness
Definition
SurfaceToSoNode.h:55
SurfaceToSoNode::translateSurface
SoNode * translateSurface(const Trk::Surface &sf, const bool &simple=false) const
Definition
SurfaceToSoNode.cxx:57
Trk::CylinderSurface
Class for a CylinderSurface in the ATLAS detector.
Definition
CylinderSurface.h:55
Trk::DiscSurface
Class for a DiscSurface in the ATLAS detector.
Definition
DiscSurface.h:54
Trk::PerigeeSurface
Class describing the Line to which the Perigee refers to.
Definition
PerigeeSurface.h:43
Trk::PlaneSurface
Class for a planaer rectangular or trapezoidal surface in the ATLAS detector.
Definition
PlaneSurface.h:64
Trk::StraightLineSurface
Class for a StraightLineSurface in the ATLAS detector to describe dirft tube and straw like detectors...
Definition
StraightLineSurface.h:51
Trk::Surface
Abstract Base Class for tracking surfaces.
Definition
Surface.h:79
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition
FakeTrackBuilder.h:9
Generated on
for ATLAS Offline Software by
1.17.0