00001
00003
00004
00005
00006
00007
00008
00009
00010
00012
00013 #ifndef VP1ETACONE_H
00014 #define VP1ETACONE_H
00015
00016 #include "VP1Base/VP1HelperClassBase.h"
00017 #include <QtCore/QObject>
00018
00019 class SoMaterial;
00020 class SoSeparator;
00021
00022 class VP1EtaCone : public QObject, public VP1HelperClassBase {
00023
00024 Q_OBJECT
00025
00026 public:
00027
00028
00029 static bool calcParsFromExtentAndSpacing( VP1HelperClassBase*,const double& extent, const double& spacing,
00030 const int& nmaxlimit, int& nmax, double& distmax );
00031
00032 VP1EtaCone( SoMaterial * mat,
00033 SoSeparator * attachsep,
00034 IVP1System * sys,QObject * parent = 0);
00035 virtual ~VP1EtaCone();
00036
00037 public slots:
00038
00039 void setShown(bool);
00040 void setExtent(const double&);
00041 void setEtaValue(const double&);
00042
00043 private:
00044 class Imp;
00045 Imp * d;
00046
00047 };
00048
00049 #endif