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

RageModelGeometry.h

Go to the documentation of this file.
00001 /* 00002 * RageModelGeometry - stores model geometry 00003 */ 00004 00005 #ifndef RAGE_MODEL_GEOMETRY_H 00006 #define RAGE_MODEL_GEOMETRY_H 00007 00008 #include "RageTypes.h" 00009 #include "ModelTypes.h" 00010 #include <vector> 00011 00012 class RageCompiledGeometry; 00013 00014 class RageModelGeometry 00015 { 00016 public: 00017 RageModelGeometry (); 00018 virtual ~RageModelGeometry (); 00019 00020 void LoadMilkshapeAscii( const CString& sMilkshapeAsciiFile, bool bNeedsNormals ); 00021 void OptimizeBones(); 00022 bool HasAnyPerVertexBones() const; 00023 00024 int m_iRefCount; 00025 00026 vector<msMesh> m_Meshes; 00027 RageCompiledGeometry* m_pCompiledGeometry; // video memory copy of geometry shared by all meshes 00028 00029 RageVector3 m_vMins, m_vMaxs; 00030 }; 00031 00032 00033 00034 #endif 00035 00036 /* 00037 * Copyright (c) 2001-2002 Chris Danford 00038 * All rights reserved. 00039 * 00040 * Permission is hereby granted, free of charge, to any person obtaining a 00041 * copy of this software and associated documentation files (the 00042 * "Software"), to deal in the Software without restriction, including 00043 * without limitation the rights to use, copy, modify, merge, publish, 00044 * distribute, and/or sell copies of the Software, and to permit persons to 00045 * whom the Software is furnished to do so, provided that the above 00046 * copyright notice(s) and this permission notice appear in all copies of 00047 * the Software and that both the above copyright notice(s) and this 00048 * permission notice appear in supporting documentation. 00049 * 00050 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00051 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00052 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF 00053 * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS 00054 * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT 00055 * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 00056 * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 00057 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00058 * PERFORMANCE OF THIS SOFTWARE. 00059 */

Generated on Thu Jan 27 20:57:28 2005 for StepMania by doxygen 1.3.7