ATLAS Offline Software
VP1CylindricalGrid.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 VP1CylindricalGrid //
9 // //
10 // Description: Helper class providing a cylindrical grid. //
11 // //
12 // Author: Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
13 // Initial version: July 2008 //
14 // //
16 
17 #ifndef VP1CYLINDRICALGRID_H
18 #define VP1CYLINDRICALGRID_H
19 
21 #include <QObject>
22 #include <Inventor/C/errors/debugerror.h>
23 #include <Inventor/SbColor4f.h>
24 class SoSeparator;
25 
26 class VP1CylindricalGrid : public QObject, public VP1HelperClassBase {
27 
28  Q_OBJECT
29 
30 public:
31 
32  VP1CylindricalGrid( SoSeparator * attachsep,//where the grid separator will attach itself when visible
33  IVP1System * sys,QObject * parent = 0);
34  virtual ~VP1CylindricalGrid();
35 
36 public Q_SLOTS:
37 
38  void setShown(bool);//will attach/detach itself from attachsep depending on this
39  void setColourAndTransp(const SbColor4f&);
40  void setExtent(const double&);//A negative value means that negative parts will be shown as well
41  void setSpacing(const double&);
42 
43 private:
44  class Imp;
45  Imp * m_d;
46 
47 };
48 
49 #endif
VP1CylindricalGrid::setSpacing
void setSpacing(const double &)
Definition: VP1CylindricalGrid.cxx:233
VP1CylindricalGrid
Definition: VP1CylindricalGrid.h:26
VP1CylindricalGrid::setShown
void setShown(bool)
Definition: VP1CylindricalGrid.cxx:194
VP1CylindricalGrid::setColourAndTransp
void setColourAndTransp(const SbColor4f &)
Definition: VP1CylindricalGrid.cxx:211
VP1CylindricalGrid::VP1CylindricalGrid
VP1CylindricalGrid(SoSeparator *attachsep, IVP1System *sys, QObject *parent=0)
Definition: VP1CylindricalGrid.cxx:55
VP1CylindricalGrid::~VP1CylindricalGrid
virtual ~VP1CylindricalGrid()
Definition: VP1CylindricalGrid.cxx:62
mapkey::sys
@ sys
Definition: TElectronEfficiencyCorrectionTool.cxx:42
IVP1System
Definition: IVP1System.h:36
VP1CylindricalGrid::m_d
Imp * m_d
Definition: VP1CylindricalGrid.h:44
VP1CylindricalGrid::setExtent
void setExtent(const double &)
Definition: VP1CylindricalGrid.cxx:222
VP1CylindricalGrid::Imp
Definition: VP1CylindricalGrid.cxx:35
test_pyathena.parent
parent
Definition: test_pyathena.py:15
VP1HelperClassBase
Definition: VP1HelperClassBase.h:28
VP1HelperClassBase.h