MESH_NormalsDrawer.h

Go to the documentation of this file.
00001 #ifndef X3DTK_MESH_NORMALSDRAWER_H
00002 #define X3DTK_MESH_NORMALSDRAWER_H
00003 
00004 #include "MESH_NormalsDrawerStateVariables.h"
00005 #include "DFSGraphTraversal.h"
00006 #include "MESH_NormalsDrawerCoreVisitor.h"
00007 #include "X3DOnePassProcessor.h"
00008 #include "MESH_SceneGraphTypes.h"
00009 #include "MESH_MeshData.h"
00010 
00011 namespace X3DTK {
00012 namespace MESH {
00013 
00022 template<class MData, class VData, class EData, class FData, bool RW>
00023 class TemplateNormalsDrawer : public X3DOnePassProcessor
00024 {
00025 public:
00027   TemplateNormalsDrawer();
00029   virtual ~TemplateNormalsDrawer();
00030   
00032   void draw(X3DNode *N, float amplitude = 1.0f);
00033 };
00034 
00036 typedef TemplateNormalsDrawer<MeshData, VertexData, EdgeData, FaceData, true> NormalsDrawer;
00037 
00038 }
00039 }
00040 
00041 #include "MESH_NormalsDrawer.inl"
00042 
00043 #endif
00044 

Generated on Fri Aug 27 13:16:22 2004 for X3DToolKit by doxygen 1.3.6