#include <lib_batchrender.h>
A class to access the Render Queue.
Public Member Functions | |
Bool | Open (void) |
Bool | AddFile (const Filename &File, Int32 number) |
Bool | DelFile (const Filename &File) |
Bool | IsRendering () |
void | SetRendering (Int32 set) |
Bool | SetNetError (Int32 n, const String &machineName, const String &errorString, Bool isWarning) |
Bool | SetNetError (const C4DUuid &uuid, const String &machineName, const String &errorString, Bool isWarning) |
Int32 | GetElementCount () |
Filename | GetElement (Int32 n) |
void | EnableElement (Int32 n, Bool bSet) |
Bool | GetEnableElement (Int32 n) |
Int32 | GetElementStatus (Int32 n) |
void | GetJsonJobs (PyList *list) |
BaseBitmap * | GetFrameBitmap (const C4DUuid &nodeUuid, const C4DUuid &frameUuid) |
void | SetUseNet (Int32 n, Bool on) |
Private Member Functions | |
BatchRender () | |
~BatchRender () | |
|
private |
|
private |
Bool Open | ( | void | ) |
Opens the Render Queue window.
Adds a Cinema 4D file to the Render Queue.
[in] | File | The filename of the Cinema 4D file. |
[in] | number | The position within the Render Queue. If this is greater than the current number of entries it will be added at the end of the list. |
Removes a Cinema 4D file from the Render Queue.
[in] | File | The Cinema 4D file to be removed from the list. |
Bool IsRendering | ( | ) |
Checks if the render Queue is rendering.
void SetRendering | ( | Int32 | set | ) |
Sets the render status of the Render Queue.
[in] | set | The render status: BR_RENDER |
Bool SetNetError | ( | Int32 | n, |
const String & | machineName, | ||
const String & | errorString, | ||
Bool | isWarning | ||
) |
Private.
Bool SetNetError | ( | const C4DUuid & | uuid, |
const String & | machineName, | ||
const String & | errorString, | ||
Bool | isWarning | ||
) |
Private.
Int32 GetElementCount | ( | ) |
Retrieves the number of Cinema 4D scene files in the Render Queue.
Retrieves the filename of the Cinema 4D scene file with the index n.
[in] | n | The position within the Render Queue: 0 < n < GetElementCount() |
Enables or disables the Cinema 4D scene file at the index n for rendering.
[in] | n | The position within the Render Queue: 0 < n < GetElementCount() |
[in] | bSet | true to enable the scene file for rendering, false to disable it. |
Checks if a Cinema 4D scene file from the Render Queue is enabled for rendering.
[in] | n | The position within the Render Queue: 0 < n < GetElementCount() |
Retrieves the current status of the Cinema 4D scene file at the index n.
[in] | n | The position within the Render Queue: 0 < n < GetElementCount() |
void GetJsonJobs | ( | PyList * | list | ) |
Private.
BaseBitmap* GetFrameBitmap | ( | const C4DUuid & | nodeUuid, |
const C4DUuid & | frameUuid | ||
) |
Private.