CrossFramework Library
|
00001 /* 00002 * @file 00003 * @brief ResMdlShape型を記述する。 00004 * @author akino 00005 */ 00006 #if defined(XG3D_INCLUDED_RESMDLSHAPE_HPP) 00007 #else 00008 #define XG3D_INCLUDED_RESMDLSHAPE_HPP 00009 00010 //------------------------------------------------------------ 00011 #include <XBase/Pointer.hpp> 00012 #include <XG3D/BuiltInTypes.hpp> 00013 00014 //------------------------------------------------------------ 00015 namespace XG3D { 00016 class ResMdlShapeImpl; 00017 } 00018 00019 //------------------------------------------------------------ 00020 namespace XG3D { 00022 00023 00028 class ResMdlShape 00029 { 00030 public: 00032 00033 00034 ResMdlShape(); 00035 00037 ResMdlShape( const ResMdlShapeImpl& aImpl ); 00039 00041 00042 bool isValid()const; 00043 bool equals( const ResMdlShape& aRHS )const; 00044 bool operator==( const ResMdlShape& aRHS )const; 00045 00046 00048 00049 const char* name()const; 00050 uint index()const; 00051 bool isSkinning()const; 00052 00053 00054 //============================================================ 00055 // 内部実装用関数群。 00056 const ResMdlShapeImpl* impl_()const; 00057 private: 00058 ::XBase::Pointer< const ResMdlShapeImpl > mPtr; 00059 //------------------------------------------------------------ 00060 bool checkInvalid()const; 00061 }; 00063 } 00064 //------------------------------------------------------------ 00065 #endif 00066 // EOF