00001 //------------------------------------------------------------------------------ 00002 // Lamp : Open source game middleware 00003 // Copyright (C) 2004 Junpei Ohtani ( Email : junpee@users.sourceforge.jp ) 00004 // 00005 // This library is free software; you can redistribute it and/or 00006 // modify it under the terms of the GNU Lesser General Public 00007 // License as published by the Free Software Foundation; either 00008 // version 2.1 of the License, or (at your option) any later version. 00009 // 00010 // This library is distributed in the hope that it will be useful, 00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 // Lesser General Public License for more details. 00014 // 00015 // You should have received a copy of the GNU Lesser General Public 00016 // License along with this library; if not, write to the Free Software 00017 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00018 //------------------------------------------------------------------------------ 00019 00020 /** @file 00021 * 変換ピクチャヘッダ 00022 * @author Junpee 00023 */ 00024 00025 #ifndef TRANSLATION_PICTURE_H_ 00026 #define TRANSLATION_PICTURE_H_ 00027 00028 namespace Lamp{ 00029 class Scene; 00030 } 00031 00032 namespace LampForMaya{ 00033 00034 //------------------------------------------------------------------------------ 00035 /** 00036 * 変換ピクチャ 00037 */ 00038 class TranslationPicture{ 00039 friend class TranslationPictureManager; 00040 public: 00041 /** 00042 * デストラクタ 00043 */ 00044 virtual ~TranslationPicture(); 00045 00046 /** 00047 * Lampへの変換 00048 * @param scene シーン 00049 * @return 成功すればtrue 00050 */ 00051 virtual bool convertToLamp(Scene* scene); 00052 00053 private: 00054 /** 00055 * コンストラクタ 00056 * @param initializeName 初期化名 00057 * @param initializePath 初期化パス 00058 * @param initializeExtension 初期化拡張子 00059 */ 00060 explicit TranslationPicture(const String& initializeName, 00061 const String& initializePath); 00062 00063 // コピーコンストラクタの隠蔽 00064 TranslationPicture(const TranslationPicture& copy); 00065 00066 // 代入コピーの隠蔽 00067 void operator =(const TranslationPicture& copy); 00068 00069 // 名前 00070 String name_; 00071 // パス 00072 String path_; 00073 00074 }; 00075 00076 //------------------------------------------------------------------------------ 00077 } // End of namespace LampForMaya 00078 #endif // End of TRANSLATION_PICTURE_H_ 00079 //------------------------------------------------------------------------------ 00080