ATLAS Offline Software
SoVisualizeAction.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 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  virtual void handleShape(const GeoShape *subtract);
28 
29  virtual void handleBox(const GeoBox *box);
30 
31  virtual void handleCons(const GeoCons *cons);
32 
33  virtual void handlePcon(const GeoPcon *pcon);
34 
35  virtual void handleTrap(const GeoTrap *trap);
36 
37  virtual void handleTrd(const GeoTrd *trd);
38 
39  virtual void handleTube(const GeoTube *tube);
40 
41  virtual void handleTubs(const GeoTubs *tubs);
42 
43  virtual void handleSimplePolygonBrep(const GeoSimplePolygonBrep *);
44 
45  virtual void handleTessellatedSolid (const GeoTessellatedSolid *);
46 
47  virtual void handleGenericTrap (const GeoGenericTrap *);
48 
49  SoShape * getShape() { return m_shape; }
50  void reset() { m_shape = 0; }
51 
52 private:
53 
56 
57  SoShape *m_shape;
58 };
59 
60 
61 
62 
63 
64 
65 #endif
66 
67 
SoVisualizeAction::handleTubs
virtual void handleTubs(const GeoTubs *tubs)
Definition: SoVisualizeAction.cxx:236
SoVisualizeAction::m_shape
SoShape * m_shape
Definition: SoVisualizeAction.h:57
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:154
SoVisualizeAction::handleSimplePolygonBrep
virtual void handleSimplePolygonBrep(const GeoSimplePolygonBrep *)
Definition: SoVisualizeAction.cxx:248
SoVisualizeAction::~SoVisualizeAction
virtual ~SoVisualizeAction()
Definition: SoVisualizeAction.cxx:47
SoVisualizeAction::handleTube
virtual void handleTube(const GeoTube *tube)
Definition: SoVisualizeAction.cxx:224
SoVisualizeAction::reset
void reset()
Definition: SoVisualizeAction.h:50
SoVisualizeAction::SoVisualizeAction
SoVisualizeAction(const SoVisualizeAction &)
SoVisualizeAction::getShape
SoShape * getShape()
Definition: SoVisualizeAction.h:49
SoVisualizeAction::handleTrap
virtual void handleTrap(const GeoTrap *trap)
Definition: SoVisualizeAction.cxx:203
SoVisualizeAction::handleTrd
virtual void handleTrd(const GeoTrd *trd)
Definition: SoVisualizeAction.cxx:214
SoVisualizeAction
Definition: SoVisualizeAction.h:19
SoVisualizeAction::handleTessellatedSolid
virtual void handleTessellatedSolid(const GeoTessellatedSolid *)
Definition: SoVisualizeAction.cxx:266
SoVisualizeAction::handlePcon
virtual void handlePcon(const GeoPcon *pcon)
Definition: SoVisualizeAction.cxx:170
SoVisualizeAction::handleGenericTrap
virtual void handleGenericTrap(const GeoGenericTrap *)
Definition: SoVisualizeAction.cxx:311
SoVisualizeAction::handleBox
virtual void handleBox(const GeoBox *box)
Definition: SoVisualizeAction.cxx:146
SoVisualizeAction::operator=
const SoVisualizeAction & operator=(const SoVisualizeAction &)
calibdata.tube
tube
Definition: calibdata.py:31