D:/Zythum/DinoKod/mdlExport/MDLExporter.h

00001 #ifndef __MDLEXPORTER_H__
00002 #define __MDLEXPORTER_H__
00003 
00004 #include "Common/Console.h"
00005 #include <maya/MPxFileTranslator.h>
00006 
00007 #define HEADER_MAGIC    "3DMODEL"
00008 
00009 //---------------------------------------------------------------------------------------------------------------------
00010 class KMDLExporter : public MPxFileTranslator
00011 {
00012 protected:
00013         KConsole                m_Console;
00014 
00015 public:
00016                                         KMDLExporter();
00017         virtual                 ~KMDLExporter();
00018 
00019         static void    *creator();
00020 
00021         MStatus         reader ( const MFileObject& file,
00022                                          const MString& optionsString,
00023                                          MPxFileTranslator::FileAccessMode mode);
00024         MStatus         writer ( const MFileObject& file,
00025                                      const MString& optionsString,
00026                                      MPxFileTranslator::FileAccessMode mode);
00027         bool            haveReadMethod() const;
00028         bool            haveWriteMethod() const;
00029         MString         defaultExtension() const;
00030         bool            canBeOpened() const;
00031         MFileKind       identifyFile( const MFileObject& fileName,
00032                                                   const char *buffer,
00033                                                   short size) const;
00034 };
00035 
00036 #endif  __MDLEXPORTER_H__

Generated on Sun Mar 25 20:02:13 2007 for Zythum Project by  doxygen 1.5.1-p1