Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

stdafx.h

Go to the documentation of this file.
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 STD_AFX_H_
00026 #define STD_AFX_H_
00027 
00028 // 環境変数を使えばMayaバージョンの切り替えが出来るが、インストール時に環境変数の
00029 // 設定が必要になる上、切り替えも環境変数をいじる必要がある。
00030 // それだったらプロジェクトオプションをいじったほうが早そう。
00031 // MAYA_LOCATIONがMaya内の環境変数なのが痛い。
00032 
00033 #pragma comment(lib, "Foundation.lib")
00034 #pragma comment(lib, "OpenMaya.lib")
00035 #pragma comment(lib, "OpenMayaUI.lib")
00036 #pragma comment(lib, "OpenMayaAnim.lib")
00037 
00038 /// Mayaヘッダ内でのエラーを防ぐために定義
00039 #define REQUIRE_IOSTREAM
00040 #include <maya/MMatrix.h>
00041 #include <maya/MStatus.h>
00042 #include <maya/MObject.h>
00043 #include <maya/MGlobal.h>
00044 #include <maya/MPlug.h>
00045 #include <maya/MDagPath.h>
00046 #include <maya/MDagPathArray.h>
00047 #include <maya/MPlugArray.h>
00048 #include <maya/MEulerRotation.h>
00049 #include <maya/MPointArray.h>
00050 #include <maya/MFloatPointArray.h>
00051 #include <maya/MAnimUtil.h>
00052 #include <maya/MImage.h>
00053 #include <maya/MNodeMessage.h>
00054 #include <maya/MSceneMessage.h>
00055 #include <maya/MItDependencyNodes.h>
00056 #include <maya/MItDependencyGraph.h>
00057 #include <maya/MItDag.h>
00058 #include <maya/MItMeshPolygon.h>
00059 #include <maya/MItGeometry.h>
00060 #include <maya/MFnDependencyNode.h>
00061 #include <maya/MFnDagNode.h>
00062 #include <maya/MFnTypedAttribute.h>
00063 #include <maya/MFnNumericAttribute.h>
00064 #include <maya/MFnStringData.h>
00065 #include <maya/MFnMatrixData.h>
00066 #include <maya/MFnAmbientLight.h>
00067 #include <maya/MFnDirectionalLight.h>
00068 #include <maya/MFnPointLight.h>
00069 #include <maya/MFnTransform.h>
00070 #include <maya/MFnMesh.h>
00071 #include <maya/MFnSkinCluster.h>
00072 #include <maya/MFnIkJoint.h>
00073 #include <maya/MFnLambertShader.h>
00074 #include <maya/MFnAnimCurve.h>
00075 #include <maya/MPxCommand.h>
00076 #include <maya/MPxHwShaderNode.h>
00077 #include <maya/MPxFileTranslator.h>
00078 
00079 // OpenGL ライブラリ
00080 #pragma comment(lib, "OpenGL32.Lib")
00081 #pragma comment(lib, "GlU32.lib")
00082 
00083 // OpenGL ヘッダ
00084 #include <gl/gl.h>
00085 #include <gl/glu.h>
00086 
00087 //------------------------------------------------------------------------------
00088 // Lamp基本インクルード
00089 #include "LampBasic.h"
00090 
00091 // Lampのネームスペースをプロジェクト全体に対して有効にする。
00092 using namespace Lamp;
00093 
00094 //------------------------------------------------------------------------------
00095 // LampUnitヘッダ
00096 #include <LampUnit/LampUnitAll.h>
00097 
00098 // LampUnitのネームスペースをプロジェクト全体に対して有効にする。
00099 using namespace LampUnit;
00100 
00101 //------------------------------------------------------------------------------
00102 // Mayaエラーヘッダ
00103 #include "System/MayaErrorOutput.h"
00104 // Mayaノードユーティリティ
00105 #include "Utility/MayaNodeUtility.h"
00106 // MayaDAGユーティリティ
00107 #include "Utility/MayaDAGUtility.h"
00108 // Mayaアトリビュートユーティリティ
00109 #include "Utility/MayaAttributeUtility.h"
00110 
00111 //------------------------------------------------------------------------------
00112 #endif // End of STD_AFX_H_
00113 //------------------------------------------------------------------------------

Generated on Wed Mar 16 10:29:55 2005 for LampForMaya by doxygen 1.3.2