ATLAS Offline Software
Loading...
Searching...
No Matches
VP1TrackingVolumes.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
5
7// //
8// Header file for class VP1TrackingVolumes //
9// //
10// Description: Helper class providing coordinate axes //
11// //
12// Author: Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
13// Initial version: April 2008 //
14// //
16
17#ifndef VP1TRACKINGVOLUMES_H
18#define VP1TRACKINGVOLUMES_H
19
21#include <QObject>
22
23class SoMaterial;
24class SoSeparator;
25
26class VP1TrackingVolumes : public QObject, public VP1HelperClassBase {
27
28 Q_OBJECT
29
30public:
31
32 VP1TrackingVolumes( SoMaterial * materialID,SoMaterial * materialCalo,SoMaterial * materialMS,
33 bool showID, bool showCalo, bool showMS,
34 SoSeparator * attachsep,//where the vol
35 //separator will attach
36 //itself when visible
37 IVP1System * sys,QObject * parent = 0);
38 virtual ~VP1TrackingVolumes();
39
40public Q_SLOTS:
41 void setShown(bool);
42 void setShownID(bool);
43 void setShownCalo(bool);
44 void setShownMS(bool);
45
46private:
47 class Imp;
49};
50
51#endif
VP1HelperClassBase(IVP1System *sys=0, QString helpername="")
void setShownID(bool)
will attach/detach ID from sep depending on this
VP1TrackingVolumes(SoMaterial *materialID, SoMaterial *materialCalo, SoMaterial *materialMS, bool showID, bool showCalo, bool showMS, SoSeparator *attachsep, IVP1System *sys, QObject *parent=0)
void setShownCalo(bool)
will attach/detach Calo from sep depending on this
void setShownMS(bool)
will attach/detach MS from sep depending on this
void setShown(bool)
will attach/detach itself from attachsep depending on this