00001 00020 #ifndef VRML1POINTSET_HH_ 00021 #define VRML1POINTSET_HH_ 00022 00023 #include "Node.hh" 00024 #include "Attribute.hh" 00025 00026 namespace vrml1 00027 { 00028 00029 class PointSet : public vrml1::Node 00030 { 00031 public: 00032 PointSet(); 00033 00034 void setStartIndex(int startIndex); 00035 int startIndex() const; 00036 00037 void setNumPoints(int numPoints); 00038 int numPoints() const; 00039 00040 virtual void setAttribute(Attribute *A); 00041 00042 private: 00043 int m_startIndex; 00044 int m_numPoints; 00045 }; 00046 00047 } 00048 00049 #endif /*VRML1POINTSET_HH_*/