MESH_ConnectedComComputerStateVariables.h

Go to the documentation of this file.
00001 #ifndef X3DTK_MESH_CONNECTEDCOMCOMPUTERSTATEVARIABLES_H
00002 #define X3DTK_MESH_CONNECTEDCOMCOMPUTERSTATEVARIABLES_H
00003 
00004 #include "MESH_SceneGraphTypes.h"
00005 #include "MESH_Mesh.h"
00006 #include "Progress.h"
00007 #include "StateVariables.h"
00008 
00009 #include <list>
00010 #include <vector>
00011 #include <map>
00012 
00013 namespace X3DTK {
00014 namespace MESH {
00015 
00022 class ConnectedComComputerStateVariables : public StateVariables
00023 {
00024 public:
00026   ConnectedComComputerStateVariables();
00027 
00029   void init();
00031   void finish();
00032    
00034   void addNode(SFNode N);
00036   bool getNode(SFNode N) const;
00037   
00039   void setSelectedNodes(const MFNode &selectedNodes);
00041   MFNode getSelectedNodes() const;
00042 
00044   void addToDeleteNode(SFNode node);
00045 
00047   void setProgress(Progress *progress);
00049   inline Progress *getProgress() const {return _progress;};
00050 
00051 private:  
00052   std::list<SFNode> _vertexSetList;
00053   MFNode _selectedNodes;
00054   Progress *_progress;
00055   MFNode _toDeleteNodes;
00056 };
00057 
00058 }
00059 }
00060 
00061 #endif

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