MESH_NormalsFlipper.h

Go to the documentation of this file.
00001 #ifndef X3DTK_MESH_NORMALSFLIPPER_H
00002 #define X3DTK_MESH_NORMALSFLIPPER_H
00003 
00004 #include "MESH_NormalsFlipperStateVariables.h"
00005 #include "X3DOnePassProcessor.h"
00006 #include "MESH_SceneGraphTypes.h"
00007 #include "DFSGraphTraversal.h"
00008 #include "MESH_NormalsFlipperCoreVisitor.h"
00009 #include "MESH_Mesh.h"
00010 #include "MESH_Scene.h"
00011 #include "MESH_MeshData.h"
00012 
00013 namespace X3DTK {
00014 namespace MESH {
00015 
00026 template<class MData, class VData, class EData, class FData, bool RW>
00027 class TemplateNormalsFlipper : public X3DOnePassProcessor
00028 {
00029 public:
00031   TemplateNormalsFlipper();
00033   virtual ~TemplateNormalsFlipper();
00034   
00036   void flip(Scene *S);
00038   void flip(X3DNode *N);
00040   void setSelectedNodes(const MFNode &selectedNodes);
00041 };
00042 
00044 typedef TemplateNormalsFlipper<MeshData, VertexData, EdgeData, FaceData, true> NormalsFlipper;
00045 
00046 }
00047 }
00048 
00049 #include "MESH_NormalsFlipper.inl"
00050 
00051 #endif
00052 

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