00001 00020 #ifndef VRML1NORMALBINDINGS_HH_ 00021 #define VRML1NORMALBINDINGS_HH_ 00022 00023 #include "Node.hh" 00024 #include "Attribute.hh" 00025 00026 namespace vrml1 00027 { 00028 00029 class NormalBinding : public vrml1::Node 00030 { 00031 public: 00032 enum e_Bindings { DEFAULT, OVERALL, PER_PART, PER_PART_INDEXED, 00033 PER_FACE, PER_FACE_INDEXED, 00034 PER_VERTEX, PER_VERTEX_INDEXED }; 00035 00036 NormalBinding(); 00037 00038 void setValue(e_Bindings value); 00039 e_Bindings value() const; 00040 00041 virtual void setAttribute(Attribute *A); 00042 00043 private: 00044 e_Bindings m_value; 00045 }; 00046 00047 } 00048 00049 #endif /*VRML1NORMALBINDINGS_HH_*/