00001 #ifndef X3DTK_X3D_COORDMERGERSTATEVARIABLES_H 00002 #define X3DTK_X3D_COORDMERGERSTATEVARIABLES_H 00003 00004 #include "StateVariables.h" 00005 00006 #include <list> 00007 #include <map> 00008 #include <utility> 00009 00010 namespace X3DTK { 00011 namespace X3D { 00012 00013 class IndexedFaceSet; 00014 class Transform; 00015 class Coordinate; 00016 00023 class CoordMergerStateVariables : public StateVariables 00024 { 00025 public: 00027 CoordMergerStateVariables(); 00029 virtual ~CoordMergerStateVariables(); 00030 00032 virtual void finish(); 00033 00035 void addNode(Coordinate *C); 00037 bool getNode(Coordinate *C) const; 00038 00039 private: 00040 std::list<SFNode> _coordinateList; 00041 }; 00042 00043 } 00044 } 00045 00046 #endif