00001 /* 00002 * PROPRIETARY INFORMATION. This software is proprietary to 00003 * Side Effects Software Inc., and is not to be reproduced, 00004 * transmitted, or disclosed in any way without written permission. 00005 * 00006 * Produced by: 00007 * Oleg Samus 00008 * Side Effects 00009 * 123 Front Street West 00010 * Toronto, Ontario 00011 * Canada M5V 3E7 00012 * 416-504-9876 00013 * 00014 * NAME: ROP library (C++) 00015 * 00016 * COMMENTS: FBX output 00017 * 00018 */ 00019 00020 #ifndef __ROP_FBXExporterWrapper_h__ 00021 #define __ROP_FBXExporterWrapper_h__ 00022 00023 #include "ROP_API.h" 00024 #include "ROP_FBXCommon.h" 00025 #include "ROP_FBXErrorManager.h" 00026 00027 #ifdef FBX_SUPPORTED 00028 00029 class ROP_FBXExporter; 00030 /********************************************************************************************************/ 00031 class ROP_API ROP_FBXExporterWrapper 00032 { 00033 public: 00034 ROP_FBXExporterWrapper(); 00035 ~ROP_FBXExporterWrapper(); 00036 00037 // These are responsible for the actual conversion process. 00038 bool initializeExport(const char* output_name, float tstart, float tend, ROP_FBXExportOptions* options); 00039 void doExport(void); 00040 bool finishExport(void); 00041 00042 ROP_FBXErrorManager* getErrorManager(void); 00043 static bool isSupported(void); 00044 static UT_String* getVersions(void); 00045 00046 private: 00047 00048 ROP_FBXExporter* myFBXExporter; 00049 }; 00050 /********************************************************************************************************/ 00051 #else // FBX_SUPPORTED 00052 00053 #define NULL 0 00054 00055 class ROP_API ROP_FBXExporterWrapper 00056 { 00057 public: 00058 ROP_FBXExporterWrapper() { } 00059 ~ROP_FBXExporterWrapper() { } 00060 00061 // These are responsible for the actual conversion process. 00062 bool initializeExport(const char* output_name, float tstart, float tend, ROP_FBXExportOptions* options) { return false; } 00063 void doExport(void) { } 00064 bool finishExport(void) { return false; } 00065 00066 ROP_FBXErrorManager* getErrorManager(void) { return NULL; } 00067 static bool isSupported(void) { return false; } 00068 static UT_String* getVersions(void) { return NULL; } 00069 }; 00070 00071 #endif // FBX_SUPPORTED 00072 /********************************************************************************************************/ 00073 #endif
1.5.9