CrossFramework Library

XG3D/ResMdlSubMesh.hpp

00001 /*
00002  * @file
00003  * @brief ResMdlSubMesh型を記述する。
00004  * @author akino
00005  */
00006 #if defined(XG3D_INCLUDED_RESMDLSUBMESH_HPP)
00007 #else
00008 #define XG3D_INCLUDED_RESMDLSUBMESH_HPP
00009 
00010 //------------------------------------------------------------
00011 #include <XBase/Pointer.hpp>
00012 #include <XG3D/BuiltInTypes.hpp>
00013 #include <XG3D/ResMdlShape.hpp>
00014 
00015 //------------------------------------------------------------
00016 namespace XG3D {
00017     class ResMdlSubMeshImpl;
00018 }
00019 
00020 //------------------------------------------------------------
00021 namespace XG3D {
00023 
00024 
00029     class ResMdlSubMesh
00030     {
00031     public:
00033 
00034 
00035         ResMdlSubMesh();
00036 
00038         ResMdlSubMesh( const ResMdlSubMeshImpl& aImpl );
00040         
00042 
00043         bool isValid()const; 
00044         bool equals( const ResMdlSubMesh& aRHS )const; 
00045         bool operator==( const ResMdlSubMesh& aRHS )const; 
00046 
00047 
00049 
00050         uint index()const;          
00051         uint nodeIndex()const;      
00052         uint matReferIndex()const;  
00053         ResMdlShape shape()const;   
00054 
00055 
00056     private:
00057         ::XBase::Pointer< const ResMdlSubMeshImpl > mPtr;
00058         //------------------------------------------------------------
00059         bool checkInvalid()const;
00060     };
00062 }
00063 //------------------------------------------------------------
00064 #endif
00065 // EOF
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 マクロ定義