NormalX3DGLScene.h

Go to the documentation of this file.
00001 #ifndef NORMALX3DGLSCENE_H
00002 #define NORMALX3DGLSCENE_H
00003 
00004 #include "GL_NormalRenderer.h"
00005 
00006 #include <X3DTK/simplex3dglscene.h>
00007 
00008 namespace X3DTK {
00009 
00010 // Class extending SimpleX3DGLscene for drawing the normals.
00011 
00012 class NormalX3DGLScene : public SimpleX3DGLScene
00013 {
00014 public:
00015   NormalX3DGLScene();
00016   
00017   void setNormal(bool value);
00018   void setNormalLength(float value);
00019   virtual void draw();
00020 
00021 private:
00022   GL::NormalRenderer *_normalRenderer;
00023   bool _normal;
00024 };
00025 
00026 }
00027 
00028 #endif

Generated on Mon Jul 12 09:40:00 2004 for X3DToolKit by doxygen 1.3.6