us.temerity.pipeline.plugin
Class MRayActionUtils
java.lang.Object
us.temerity.pipeline.Named
us.temerity.pipeline.PluginID
us.temerity.pipeline.BasePlugin
us.temerity.pipeline.BaseAction
us.temerity.pipeline.plugin.CommonActionUtils
us.temerity.pipeline.plugin.PythonActionUtils
us.temerity.pipeline.plugin.MRayActionUtils
- All Implemented Interfaces:
- Serializable, Cloneable, Comparable<PluginID>, Glueable
- Direct Known Subclasses:
- MRayRenderAction
public class MRayActionUtils
- extends PythonActionUtils
Superclass of node Action plugins related to Mental Ray rendering.
This class provides convenience methods which make it easier to write Action plugins
which manipulate MI files and run the Mental Ray renderer.
- See Also:
- Serialized Form
| Fields inherited from class us.temerity.pipeline.Named |
pName |
|
Method Summary |
static String |
getMRayProgram(ActionAgenda agenda)
Generate the name of the Mental Ray renderer based on the Toolset environment and
current operating system type. |
static String |
getMRayProgram(Map<String,String> env)
Generate the name of the Mental Ray renderer based on the Toolset environment and
current operating system type. |
| Methods inherited from class us.temerity.pipeline.plugin.PythonActionUtils |
createPythonSubProcess, createPythonSubProcess, createPythonSubProcess, getPythonFileVerify, getPythonFileVerify, getPythonFileVerify, getPythonFileVerify, getPythonFileVerify, getPythonFileVerify, getPythonIndent, getPythonLaunchHeader, getPythonLaunchPipeHeader, getPythonProgram, getPythonProgram |
| Methods inherited from class us.temerity.pipeline.plugin.CommonActionUtils |
addExtraOptionsParam, addExtraOptionsParamToLayout, createScriptSubProcess, createSubProcess, createSubProcess, createSubProcess, createSubProcess, createTempCopySubProcess, createTempScript, escPath, escPath, getExtraOptionsArgs, getPrimarySourcePath, getPrimarySourcePath, getPrimarySourcePath, getPrimarySourcePaths, getPrimarySourcePaths, getPrimarySourcePaths, getPrimaryTargetPath, getPrimaryTargetPath, getPrimaryTargetPath, getPrimaryTargetPaths, getPrimaryTargetPaths, getPrimaryTargetPaths, getSecondarySourceBooleanParamValue, getSecondarySourceDoubleParamValue, getSecondarySourceDoubleParamValue, getSecondarySourceEnumParamIndex, getSecondarySourceIntegerParamValue, getSecondarySourceIntegerParamValue, getSecondarySourceLongParamValue, getSecondarySourceLongParamValue, getSecondarySourceOptionalBooleanParamValue, getSecondarySourceStringParamValue, getSecondarySourceStringParamValue, getSingleBooleanParamValue, getSingleDoubleParamValue, getSingleDoubleParamValue, getSingleEnumParamIndex, getSingleIntegerParamValue, getSingleIntegerParamValue, getSingleLongParamValue, getSingleLongParamValue, getSingleOptionalBooleanParamValue, getSingleStringParamValue, getSingleStringParamValue, getSingleTuple2dParamValue, getSingleTuple2dParamValue, getSingleTuple2dParamValue, getSingleTuple2iParamValue, getSingleTuple2iParamValue, getSingleTuple2iParamValue, getSingleTuple3dParamValue, getSingleTuple3dParamValue, getSingleTuple3dParamValue, getSingleTuple3iParamValue, getSingleTuple3iParamValue, getSingleTuple3iParamValue, getSingleTuple4dParamValue, getSingleTuple4dParamValue, getSingleTuple4dParamValue, getSourceBooleanParamValue, getSourceDoubleParamValue, getSourceDoubleParamValue, getSourceEnumParamIndex, getSourceIntegerParamValue, getSourceIntegerParamValue, getSourceLongParamValue, getSourceLongParamValue, getSourceOptionalBooleanParamValue, getSourceStringParamValue, getSourceStringParamValue, getWorkingNodeFilePath, getWorkingNodeFilePath, getWorkingNodeFilePath, getWorkingNodeFilePath, getWorkingNodeFilePaths |
| Methods inherited from class us.temerity.pipeline.BaseAction |
addPreset, addPresetValues, addSingleParam, chmod, cleanupLater, clearAllLinkParams, clearLinkParams, clone, createTemp, createTemp, equals, equalSingleParams, equalSourceParams, fromGlue, getInitialSourceParams, getPluginType, getPresetChoices, getPresetValues, getSecondarySequences, getSecondarySourceNames, getSecondarySourceParam, getSecondarySourceParams, getSecondarySourceParamValue, getSingleLayout, getSingleParam, getSingleParams, getSingleParamValue, getSourceLayout, getSourceNames, getSourceParam, getSourceParams, getSourceParamValue, getTempDir, getTempPath, hasSecondarySourceParams, hasSingleParams, hasSourceParams, initSecondarySourceParams, initSourceParams, prep, removeAllSourceParams, removeSecondarySourceParams, removeSecondarySourceParams, removeSourceParams, setSecondarySourceParamValue, setSingleLayout, setSingleParamValue, setSingleParamValues, setSourceLayout, setSourceParamValue, setSourceParamValues, supportsSourceParams, toGlue |
| Methods inherited from class us.temerity.pipeline.BasePlugin |
addSupport, compareTo, getDescription, getFullMessage, getPluginID, getResource, getResources, getResourceSize, getSupports, isUnderDevelopment, removeSupport, setSupports, supports, toString, underDevelopment |
| Methods inherited from class us.temerity.pipeline.Named |
getName |
MRayActionUtils
protected MRayActionUtils(String name,
VersionID vid,
String vendor,
String desc)
- Construct with the given name, version, vendor and description.
- Parameters:
name - The short name of the action.vid - The action plugin revision number.vendor - The name of the plugin vendor.desc - A short description of the action.
getMRayProgram
public static String getMRayProgram(ActionAgenda agenda)
throws PipelineException
- Generate the name of the Mental Ray renderer based on the Toolset environment and
current operating system type.
If the environmental variable MRAY_BINARY is defined, its value will be used as the
name of the renderer executable instead of the "ray" (Unix/MacOS) or "ray345.exe"
(Windows). On Windows, the renderer name should include the ".exe" extension.
- Parameters:
agenda - The agenda to be accomplished by the Action.
- Throws:
PipelineException
getMRayProgram
public static String getMRayProgram(Map<String,String> env)
- Generate the name of the Mental Ray renderer based on the Toolset environment and
current operating system type.
If the environmental variable RAY_BINARY is defined, its value will be used as the
name of the renderer executable instead of the "ray" (Unix/MacOS) or "ray345.exe"
(Windows). On Windows, the renderer name should include the ".exe" extension.
- Parameters:
env - The environment used to lookup RAY_BINARY.