ATLAS Offline Software
Loading...
Searching...
No Matches
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
17class SoShape;
18
19class SoVisualizeAction : public GeoShapeAction {
20
21public:
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
53private:
54
57
58 SoShape *m_shape;
59};
60
61
62
63
64
65
66#endif
67
68
virtual void handleBox(const GeoBox *box)
virtual void handleCons(const GeoCons *cons)
virtual void handleTube(const GeoTube *tube)
virtual void handleTessellatedSolid(const GeoTessellatedSolid *)
virtual void handleTrd(const GeoTrd *trd)
virtual void handleGenericTrap(const GeoGenericTrap *)
const SoVisualizeAction & operator=(const SoVisualizeAction &)
SoVisualizeAction(const SoVisualizeAction &)
virtual void handleShape(const GeoShape *subtract)
virtual void handleSimplePolygonBrep(const GeoSimplePolygonBrep *)
virtual void handleTrap(const GeoTrap *trap)
virtual void handlePcon(const GeoPcon *pcon)
virtual void handleTubs(const GeoTubs *tubs)