X3D_DirectionalLight.h

Go to the documentation of this file.
00001 #ifndef X3DTK_X3D_DIRECTIONALLIGHT
00002 #define X3DTK_X3D_DIRECTIONALLIGHT
00003 
00004 #include "X3DTypes.h"
00005 #include "X3D_X3DLightNode.h"
00006 
00007 namespace X3DTK {
00008 namespace X3D {
00009 
00018 class DirectionalLight : public X3DLightNode
00019 {
00020 public:
00022   DirectionalLight();
00024   virtual ~DirectionalLight();
00025   
00027   void setDirection(const SFVec3f &direction);
00028 
00030   inline const SFVec3f &getDirection() const {return _direction;};
00031 
00032 private:
00034   SFVec3f _direction;
00035 };
00036 
00037 }
00038 }
00039 
00040 #endif

Generated on Fri Jul 30 12:02:29 2004 for X3DToolKit by doxygen 1.3.6