Function set for image sources.
An image source is a node that is used in render graphs, e.g. compositing graphs, shading networks. It provides access to the images produced by 3D scene renderers, or 2D image processing tasks. This class provides functionality for working with image sources, e.g. retrieving the path of rendered image source files.
#include <MFnImageSource.h>
Public Member Functions |
|
virtual MFn::Type | type () const |
Function set type. |
|
virtual | ~MFnImageSource () |
Destructor. |
|
MFnImageSource () | |
Default constructor. |
|
MFnImageSource (MObject &object, MStatus *ReturnStatus=NULL) | |
Constructor. |
|
MString | getImageName (MCommonRenderSettingsData::MpathType pathType, double frameNumber, const MString &sceneName, const MObject camera, const MObject renderLayer, MString *bufferName=NULL, MStatus *ReturnStatus=NULL) const |
Return image path associated with this image
source. |
|
MFnImageSource (const MObject &object, MStatus *ReturnStatus=NULL) | |
Constructor. |
|
Protected Member Functions |
|
virtual const char * | className () const |
Class name. |
MFnImageSource | ( | MObject & | object, |
MStatus * | ReturnStatus =
NULL |
||
) |
Constructor.
Class constructor that initializes the function set to the given MObject.
[in] | object | The MObject to attach the function set to |
[out] | ReturnStatus | the return status |
MFnImageSource | ( | const MObject & | object, |
MStatus * | ReturnStatus =
NULL |
||
) |
Constructor.
Class constructor that initializes the function set to the given MObject.
[in] | object | The MObject to attach the function set to |
[out] | ReturnStatus | the return status |
MFn::Type type | ( | ) | const [virtual] |
const char * className | ( | ) | const [protected, virtual] |
MString getImageName | ( | MCommonRenderSettingsData::MpathType | pathType, |
double | frameNumber, | ||
const MString & | sceneName, | ||
const MObject | camera, | ||
const MObject | renderLayer, | ||
MString * | bufferName = NULL , |
||
MStatus * | ReturnStatus =
NULL |
||
) | const |
Return image path associated with this image source.
[in] | pathType | Project relative, full, or temporary directory. |
[in] | frameNumber | Desired frame in image sequence. |
[in] | sceneName | Scene for which image was rendered. |
[in] | camera | Parent transform of the camera used to render the scene. |
[in] | renderLayer | Render layer used to render scene. |
[out] | bufferName | Name of the buffer containing the image, used with OpenEXR files. |
[out] | ReturnStatus | Status code. |