Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
SbPolyhedrizeAction.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // ---------------------------------------------------------------------//
6 // //
7 // GeoPolyhedrizeAction. For internal use by SoVisualizeAction //
8 // Author: Joe Boudreau //
9 // //
10 //----------------------------------------------------------------------//
11 
12 #ifndef SbPolyhedrizeAction_h
13 #define SbPolyhedrizeAction_h 1
14 #include "GeoModelKernel/GeoShapeAction.h"
15 #include <memory>
16 class SbPolyhedron;
17 class SbPolyhedrizeAction : public GeoShapeAction
18 
19 {
20 
21  public:
22 
24 
25  virtual ~SbPolyhedrizeAction();
26 
27  virtual void handleShift(const GeoShapeShift *shift);
28 
29  virtual void handleUnion(const GeoShapeUnion *unio);
30 
31  virtual void handleIntersection(const GeoShapeIntersection *isect);
32 
33  virtual void handleSubtraction(const GeoShapeSubtraction *subtract);
34 
35  virtual void handleBox(const GeoBox *box);
36 
37  virtual void handleCons(const GeoCons *cons);
38 
39  virtual void handlePara(const GeoPara *para);
40 
41  virtual void handlePcon(const GeoPcon *pcon);
42 
43  virtual void handlePgon(const GeoPgon *pgon);
44 
45  virtual void handleTrap(const GeoTrap *trap);
46 
47  virtual void handleTrd(const GeoTrd *trd);
48 
49  virtual void handleTube(const GeoTube *tube);
50 
51  virtual void handleTubs(const GeoTubs *tubs);
52 
53  virtual void handleSimplePolygonBrep (const GeoSimplePolygonBrep *brep);
54 
55  virtual void handleTessellatedSolid (const GeoTessellatedSolid *tessellated);
56 
57  virtual void handleGenericTrap (const GeoGenericTrap *gentrap);
58 
60 
61 
62  private:
63 
66 
67  std::unique_ptr<SbPolyhedron> m_polyhedron;
68 
69 };
70 
71 
72 
73 
74 
75 
76 #endif
77 
78 
SbPolyhedron
Definition: SbPolyhedron.h:231
SbPolyhedrizeAction::handleTrd
virtual void handleTrd(const GeoTrd *trd)
Definition: SbPolyhedrizeAction.cxx:166
SbPolyhedrizeAction
Definition: SbPolyhedrizeAction.h:19
SbPolyhedrizeAction::handleTrap
virtual void handleTrap(const GeoTrap *trap)
Definition: SbPolyhedrizeAction.cxx:153
SbPolyhedrizeAction::handleIntersection
virtual void handleIntersection(const GeoShapeIntersection *isect)
Definition: SbPolyhedrizeAction.cxx:73
SbPolyhedrizeAction::SbPolyhedrizeAction
SbPolyhedrizeAction(const SbPolyhedrizeAction &right)
SbPolyhedrizeAction::m_polyhedron
std::unique_ptr< SbPolyhedron > m_polyhedron
Definition: SbPolyhedrizeAction.h:67
SbPolyhedrizeAction::handlePgon
virtual void handlePgon(const GeoPgon *pgon)
Definition: SbPolyhedrizeAction.cxx:135
SbPolyhedrizeAction::handleGenericTrap
virtual void handleGenericTrap(const GeoGenericTrap *gentrap)
Definition: SbPolyhedrizeAction.cxx:271
SbPolyhedrizeAction::handleShift
virtual void handleShift(const GeoShapeShift *shift)
Definition: SbPolyhedrizeAction.cxx:42
SbPolyhedrizeAction::handlePcon
virtual void handlePcon(const GeoPcon *pcon)
Definition: SbPolyhedrizeAction.cxx:117
SbPolyhedrizeAction::SbPolyhedrizeAction
SbPolyhedrizeAction()
Definition: SbPolyhedrizeAction.cxx:30
SbPolyhedrizeAction::handleSimplePolygonBrep
virtual void handleSimplePolygonBrep(const GeoSimplePolygonBrep *brep)
Definition: SbPolyhedrizeAction.cxx:189
SbPolyhedrizeAction::operator=
const SbPolyhedrizeAction & operator=(const SbPolyhedrizeAction &right)
SbPolyhedrizeAction::handleTessellatedSolid
virtual void handleTessellatedSolid(const GeoTessellatedSolid *tessellated)
Definition: SbPolyhedrizeAction.cxx:202
SbPolyhedrizeAction::handlePara
virtual void handlePara(const GeoPara *para)
Definition: SbPolyhedrizeAction.cxx:107
SbPolyhedrizeAction::getPolyhedron
SbPolyhedron * getPolyhedron()
Definition: SbPolyhedrizeAction.cxx:280
SbPolyhedrizeAction::handleTube
virtual void handleTube(const GeoTube *tube)
Definition: SbPolyhedrizeAction.cxx:175
SbPolyhedrizeAction::handleSubtraction
virtual void handleSubtraction(const GeoShapeSubtraction *subtract)
Definition: SbPolyhedrizeAction.cxx:81
SbPolyhedrizeAction::handleUnion
virtual void handleUnion(const GeoShapeUnion *unio)
Definition: SbPolyhedrizeAction.cxx:65
SbPolyhedrizeAction::handleTubs
virtual void handleTubs(const GeoTubs *tubs)
Definition: SbPolyhedrizeAction.cxx:180
SbPolyhedrizeAction::handleBox
virtual void handleBox(const GeoBox *box)
Definition: SbPolyhedrizeAction.cxx:89
SbPolyhedrizeAction::~SbPolyhedrizeAction
virtual ~SbPolyhedrizeAction()
Definition: SbPolyhedrizeAction.cxx:37
SbPolyhedrizeAction::handleCons
virtual void handleCons(const GeoCons *cons)
Definition: SbPolyhedrizeAction.cxx:96
calibdata.tube
tube
Definition: calibdata.py:31