00001 #ifndef LOAD_SOUND_H 00002 #define LOAD_SOUND_H 00003 00004 #include "LoadData.h" 00005 #include "Transferfunction.h" 00006 00007 00009 00013 class LoadTramsferFunction : public LoadData 00014 { 00015 public: 00020 LoadTramsferFunction(const char* file, int act); 00024 ~LoadTramsferFunction(); 00025 00030 Transferfunction GetPoints(); 00031 00032 int actIndex; 00033 00034 protected: 00040 void loadingTag(TiXmlNode* pParent, unsigned int indent); 00047 int attribsLoading(TiXmlElement* pElement, unsigned int indent); 00048 00049 private: 00050 //variables for internal use. 00051 bool failedLoading; 00052 Transferfunction points; 00053 }; 00054 00055 #endif