ATLAS Offline Software
Loading...
Searching...
No Matches
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>
24class SoSeparator;
25
26class VP1CylindricalGrid : public QObject, public VP1HelperClassBase {
27
28 Q_OBJECT
29
30public:
31
32 VP1CylindricalGrid( SoSeparator * attachsep,//where the grid separator will attach itself when visible
33 IVP1System * sys,QObject * parent = 0);
34 virtual ~VP1CylindricalGrid();
35
36public 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
43private:
44 class Imp;
46
47};
48
49#endif
void setSpacing(const double &)
void setExtent(const double &)
VP1CylindricalGrid(SoSeparator *attachsep, IVP1System *sys, QObject *parent=0)
void setColourAndTransp(const SbColor4f &)
VP1HelperClassBase(IVP1System *sys=0, QString helpername="")