MESH_NormalsFlipperStateVariables.h

Go to the documentation of this file.
00001 #ifndef X3DTK_MESH_NORMALSFLIPPERSTATEVARIABLES_H
00002 #define X3DTK_MESH_NORMALSFLIPPERSTATEVARIABLES_H
00003 
00004 #include "MESH_SceneGraphTypes.h"
00005 #include "MESH_Mesh.h"
00006 
00007 #include <list>
00008 #include <vector>
00009 
00010 namespace X3DTK {
00011 namespace MESH {
00012 
00019 template<class MData, class VData, class EData, class FData, bool RW>
00020 class TemplateNormalsFlipperStateVariables : public StateVariables
00021 {
00022 public:
00024   TemplateNormalsFlipperStateVariables();
00025 
00027   void init();
00029   void finish();
00030   
00032   void addNode(SFNode N);
00034   bool getNode(SFNode N) const;
00036   void setSelectedNodes(const MFNode &selectedNodes);
00038   MFNode getSelectedNodes() const;
00039   
00040 private:  
00041   std::list<SFNode> _vertexSetList;
00042   MFNode _selectedNodes;
00043 };
00044 
00045 }
00046 }
00047 
00048 #include "MESH_NormalsFlipperStateVariables.inl"
00049 
00050 #endif

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