00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef MAYAPVIEW_H
00016 #define MAYAPVIEW_H
00017
00018 #include "pandatoolbase.h"
00019 #include "pandaFramework.h"
00020
00021 #include "pre_maya_include.h"
00022 #include <maya/MArgList.h>
00023 #include <maya/MPxCommand.h>
00024 #include <maya/MObject.h>
00025 #include "post_maya_include.h"
00026
00027
00028
00029
00030
00031
00032
00033 class MayaPview : public MPxCommand {
00034 public:
00035 MayaPview();
00036 virtual MStatus doIt(const MArgList &args);
00037
00038 static void *creator();
00039
00040 private:
00041 bool convert(const NodePath &parent, bool animate);
00042 };
00043
00044 EXPCL_MISC MStatus initializePlugin(MObject obj);
00045 EXPCL_MISC MStatus uninitializePlugin(MObject obj);
00046
00047
00048 #endif