Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
SoVisualizeAction.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 // SoVisualizeAction. For internal use only. //
8 // Author: Joe Boudreau //
9 // //
10 //----------------------------------------------------------------------//
11 
12 #ifndef SOVISUALIZEACTION_H
13 #define SOVISUALIZEACTION_H 1
14 
15 #include "GeoModelKernel/GeoShapeAction.h"
16 
17 class SoShape;
18 
19 class SoVisualizeAction : public GeoShapeAction {
20 
21 public:
22 
24 
25  virtual ~SoVisualizeAction();
26 
27  using GeoShapeAction::handleShape;
28  virtual void handleShape(const GeoShape *subtract);
29 
30  virtual void handleBox(const GeoBox *box);
31 
32  virtual void handleCons(const GeoCons *cons);
33 
34  virtual void handlePcon(const GeoPcon *pcon);
35 
36  virtual void handleTrap(const GeoTrap *trap);
37 
38  virtual void handleTrd(const GeoTrd *trd);
39 
40  virtual void handleTube(const GeoTube *tube);
41 
42  virtual void handleTubs(const GeoTubs *tubs);
43 
44  virtual void handleSimplePolygonBrep(const GeoSimplePolygonBrep *);
45 
46  virtual void handleTessellatedSolid (const GeoTessellatedSolid *);
47 
48  virtual void handleGenericTrap (const GeoGenericTrap *);
49 
50  SoShape * getShape() { return m_shape; }
51  void reset() { m_shape = 0; }
52 
53 private:
54 
57 
58  SoShape *m_shape;
59 };
60 
61 
62 
63 
64 
65 
66 #endif
67 
68 
SoVisualizeAction::handleTubs
virtual void handleTubs(const GeoTubs *tubs)
Definition: SoVisualizeAction.cxx:237
SoVisualizeAction::m_shape
SoShape * m_shape
Definition: SoVisualizeAction.h:58
SoVisualizeAction::SoVisualizeAction
SoVisualizeAction()
Definition: SoVisualizeAction.cxx:40
SoVisualizeAction::handleShape
virtual void handleShape(const GeoShape *subtract)
Definition: SoVisualizeAction.cxx:52
SoVisualizeAction::handleCons
virtual void handleCons(const GeoCons *cons)
Definition: SoVisualizeAction.cxx:155
SoVisualizeAction::handleSimplePolygonBrep
virtual void handleSimplePolygonBrep(const GeoSimplePolygonBrep *)
Definition: SoVisualizeAction.cxx:249
SoVisualizeAction::~SoVisualizeAction
virtual ~SoVisualizeAction()
Definition: SoVisualizeAction.cxx:47
SoVisualizeAction::handleTube
virtual void handleTube(const GeoTube *tube)
Definition: SoVisualizeAction.cxx:225
SoVisualizeAction::reset
void reset()
Definition: SoVisualizeAction.h:51
SoVisualizeAction::SoVisualizeAction
SoVisualizeAction(const SoVisualizeAction &)
SoVisualizeAction::getShape
SoShape * getShape()
Definition: SoVisualizeAction.h:50
SoVisualizeAction::handleTrap
virtual void handleTrap(const GeoTrap *trap)
Definition: SoVisualizeAction.cxx:204
SoVisualizeAction::handleTrd
virtual void handleTrd(const GeoTrd *trd)
Definition: SoVisualizeAction.cxx:215
SoVisualizeAction
Definition: SoVisualizeAction.h:19
SoVisualizeAction::handleTessellatedSolid
virtual void handleTessellatedSolid(const GeoTessellatedSolid *)
Definition: SoVisualizeAction.cxx:267
SoVisualizeAction::handlePcon
virtual void handlePcon(const GeoPcon *pcon)
Definition: SoVisualizeAction.cxx:171
SoVisualizeAction::handleGenericTrap
virtual void handleGenericTrap(const GeoGenericTrap *)
Definition: SoVisualizeAction.cxx:312
SoVisualizeAction::handleBox
virtual void handleBox(const GeoBox *box)
Definition: SoVisualizeAction.cxx:147
SoVisualizeAction::operator=
const SoVisualizeAction & operator=(const SoVisualizeAction &)
calibdata.tube
tube
Definition: calibdata.py:31