ATLAS Offline Software
Loading...
Searching...
No Matches
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
23class SoMaterial;
24class SoSeparator;
25
26class VP1CoordinateAxes : public QObject, public VP1HelperClassBase {
27
28 Q_OBJECT
29
30public:
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
39public 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&);
44private:
45 class Imp;
47};
48
49#endif
void setLength(const double &)
void setRelativeAxisThickness(const double &)
void setPosition(const SbVec3f &)
VP1CoordinateAxes(SoMaterial *xmat, SoMaterial *ymat, SoMaterial *zmat, SoSeparator *attachsep, IVP1System *sys, QObject *parent=0)
VP1HelperClassBase(IVP1System *sys=0, QString helpername="")