00001 #ifndef IGUANA_GL_BROWSERS_IG_PLANEDIRECTION_H
00002 # define IGUANA_GL_BROWSERS_IG_PLANEDIRECTION_H
00003
00004
00005
00006 # include "Iguana/GLBrowsers/interface/config.h"
00007 # include <Inventor/SbLinear.h>
00008 # include <qobject.h>
00009
00010
00011
00012
00013
00014
00015
00016
00017 class IGUANA_GL_BROWSERS_API IgPlaneDirection : public QObject
00018 {
00019 Q_OBJECT
00020 public:
00021 IgPlaneDirection ();
00022 IgPlaneDirection (const SbVec3f &vec);
00023 IgPlaneDirection (const float x, const float y, const float z);
00024
00025 bool isDirty ();
00026 void setValue (float x, float y, float z);
00027 void setValue (const SbVec3f &vec);
00028 SbVec3f value ();
00029
00030 signals:
00031 void dirty();
00032
00033 private:
00034 SbVec3f m_vector;
00035 };
00036
00037
00038
00039
00040 #endif // IGUANA_GL_BROWSERS_IG_PLANEDIRECTION_H