ATLAS Offline Software
VP1CoordinateAxes.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 VP1CoordinateAxes //
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 VP1COORDINATEAXES_H
18 #define VP1COORDINATEAXES_H
19 
21 #include <QObject>
22 
23 class SoMaterial;
24 class SoSeparator;
25 
26 class VP1CoordinateAxes : public QObject, public VP1HelperClassBase {
27 
28  Q_OBJECT
29 
30 public:
31 
32  VP1CoordinateAxes( SoMaterial * xmat,SoMaterial * ymat,SoMaterial * zmat,
33  SoSeparator * attachsep,//where the axis
34  //separator will attach
35  //itself when visible
36  IVP1System * sys,QObject * parent = 0);
37  virtual ~VP1CoordinateAxes();
38 
39 public Q_SLOTS:
40  void setShown(bool);//will attach/detach itself from attachsep depending on this
41  void setLength(const double&);//A negative value means that negative parts will be shown as well
42  void setPosition(const SbVec3f&);
43  void setRelativeAxisThickness(const double&);
44 private:
45  class Imp;
46  Imp * m_d;
47 };
48 
49 #endif
VP1CoordinateAxes::VP1CoordinateAxes
VP1CoordinateAxes(SoMaterial *xmat, SoMaterial *ymat, SoMaterial *zmat, SoSeparator *attachsep, IVP1System *sys, QObject *parent=0)
Definition: VP1CoordinateAxes.cxx:59
VP1CoordinateAxes::Imp
Definition: VP1CoordinateAxes.cxx:27
VP1CoordinateAxes::m_d
Imp * m_d
Definition: VP1CoordinateAxes.h:45
VP1CoordinateAxes::setShown
void setShown(bool)
Definition: VP1CoordinateAxes.cxx:180
VP1CoordinateAxes::setLength
void setLength(const double &)
Definition: VP1CoordinateAxes.cxx:209
VP1CoordinateAxes::setPosition
void setPosition(const SbVec3f &)
Definition: VP1CoordinateAxes.cxx:197
mapkey::sys
@ sys
Definition: TElectronEfficiencyCorrectionTool.cxx:42
IVP1System
Definition: IVP1System.h:36
test_pyathena.parent
parent
Definition: test_pyathena.py:15
VP1CoordinateAxes
Definition: VP1CoordinateAxes.h:26
VP1HelperClassBase
Definition: VP1HelperClassBase.h:28
VP1CoordinateAxes::~VP1CoordinateAxes
virtual ~VP1CoordinateAxes()
Definition: VP1CoordinateAxes.cxx:67
VP1CoordinateAxes::setRelativeAxisThickness
void setRelativeAxisThickness(const double &)
Definition: VP1CoordinateAxes.cxx:220
VP1HelperClassBase.h