3 #ifndef _APIApplication_H_
4 #define _APIApplication_H_
8 namespace AnyCAD{
namespace API
29 bool SetLogFileName (
const Path& fileName) ;
44 bool Initialize (
const String& configFile) ;
59 void SetApplicationPath (
const Path& strPath) ;
64 Path GetApplicationPath () ;
70 void SetTextureLibraryPath (
const Path& strPath) ;
76 void SetModelLibraryPath (
const Path& strPath) ;
81 Path GetModelLibraryPath () ;
89 Renderer CreateRenderer (
long hWnd,
int nWidth,
int nHeight) ;
97 View3d CreateView (
long hWnd,
int nWidth,
int nHeight) ;
116 bool WaitForEventLoop (
long loopId) ;
122 void ExitEventLoop (
long loopId,
bool done) ;
127 void LogMessage (
const String& msg) ;
131 #endif //_APIApplication_H_
平台应用程序
Definition: APIApplication.h:21
std::string String
Definition: APIString.h:10
The base class for parameter values.
Definition: APIParameterValue.h:19
std::vector< String > StringList
Definition: APIString.h:12
The material with phong Algorithm.
Definition: APIPhongMaterial.h:20
TODO:
Definition: APIPath.h:16
三维视图
Definition: APIView3d.h:24
#define DECLARE_APIOBJECT(className)
Definition: APIObjectDef.h:10
渲染器。
Definition: APIRenderer.h:25