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