15 #ifndef MAYASAVEPVIEW_H 16 #define MAYASAVEPVIEW_H 31 #include <maya/MTypes.h> 32 #if MAYA_API_VERSION < 201600 33 #include <maya/OpenMayaMac.h> 40 #include "dtool_config.h" 45 #define REQUIRE_IOSTREAM 46 #endif // PHAVE_IOSTREAM 48 #include <maya/MArgList.h> 49 #include <maya/MPxCommand.h> 50 #include <maya/MObject.h> 72 virtual MStatus
doIt(
const MArgList &args);
81 #define EXPCL_MISC __declspec(dllexport) 86 EXPCL_MISC MStatus initializePlugin(MObject obj);
87 EXPCL_MISC MStatus uninitializePlugin(MObject obj);
static void * creator()
This is used to create a new instance of the plugin.
virtual MStatus doIt(const MArgList &args)
Called when the plugin command is invoked.
This class serves as a plug-in to Maya to save the scene and view it using the external pview program...