00001 00020 #ifndef VRML1INDEXEDLINESET_HH_ 00021 #define VRML1INDEXEDLINESET_HH_ 00022 00023 #include "Node.hh" 00024 #include "Attribute.hh" 00025 00026 namespace vrml1 00027 { 00028 00029 class IndexedLineSet : public vrml1::Node 00030 { 00031 public: 00032 IndexedLineSet(); 00033 00034 void setCoordIndex(vector<int> coordIndex); 00035 vector<int> coordIndex() const; 00036 00037 void setMaterialIndex(vector<int> materialIndex); 00038 vector<int> materialIndex() const; 00039 00040 void setNormalIndex(vector<int> normalIndex); 00041 vector<int> normalIndex() const; 00042 00043 void setTextureCoordIndex(vector<int> textureCoordIndex); 00044 vector<int> textureCoordIndex() const; 00045 00046 virtual void setAttribute(Attribute *A); 00047 00048 private: 00049 vector<int> m_coordIndex; 00050 vector<int> m_materialIndex; 00051 vector<int> m_normalIndex; 00052 vector<int> m_textureCoordIndex; 00053 }; 00054 00055 } 00056 00057 #endif /*VRML1INDEXEDLINESET_HH_*/