14 #ifndef MAYASAVEPVIEW_H 15 #define MAYASAVEPVIEW_H 30 #include <maya/MTypes.h> 31 #if MAYA_API_VERSION < 201600 32 #include <maya/OpenMayaMac.h> 39 #include "dtool_config.h" 44 #define REQUIRE_IOSTREAM 45 #endif // PHAVE_IOSTREAM 47 #include <maya/MArgList.h> 48 #include <maya/MPxCommand.h> 49 #include <maya/MObject.h> 66 virtual MStatus
doIt(
const MArgList &args);
75 #define EXPCL_MISC __declspec(dllexport) MStatus initializePlugin(MObject obj)
Called by Maya when the plugin is loaded.
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.
MStatus uninitializePlugin(MObject obj)
Called by Maya when the plugin is unloaded.
This class serves as a plug-in to Maya to save the scene and view it using the external pview program...