#include <lib_batchrender.h>
A class to access the Render Queue.
Private Member Functions | |
BatchRender () | |
~BatchRender () | |
|
private |
|
private |
Bool Open | ( | ) |
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.
Bool GetTextureError | ( | ) |
Checks if there is a texture error.
void SetTextureError | ( | Bool | state | ) |
Sets the texture error state.
[in] | state | true to set a texture error, false to clear it. |
Bool GetCheckTexture | ( | ) |
Checks if texture checking is enabled.
void SetCheckTexture | ( | Bool | state | ) |
Enables or disables texture checking.
[in] | state | true to enable texture checking, false to disable it. |
Retrieves the number of takes for the Cinema 4D scene file at the index n.
[in] | n | The position within the Render Queue: 0 < n < GetElementCount() |
void GetAllTakeNames | ( | Int32 | n, |
maxon::BaseArray< String > & | names | ||
) |
Retrieves the names of all takes for the Cinema 4D scene file at the index n.
[in] | n | The position within the Render Queue: 0 < n < GetElementCount() |
[out] | names | An array to store the names of all takes. Indexes can be used directly with SetActiveTakeIndex. |
Retrieves the active take index for the Cinema 4D scene file at the index n.
[in] | n | The position within the Render Queue: 0 < n < GetElementCount() |
Retrieves the active take name for the Cinema 4D scene file at the index n.
[in] | n | The position within the Render Queue: 0 < n < GetElementCount() |
Sets the active take index for the Cinema 4D scene file at the index n.
[in] | n | The position within the Render Queue: 0 < n < GetElementCount() |
[in] | index | The index of the take to set as active. |
[in] | takeOnly | true to set only the take, false to also set the take and camera and render settings. |
Retrieves the number of render settings for the Cinema 4D scene file at the index n.
[in] | n | The position within the Render Queue: 0 < n < GetElementCount() |
void GetAllRenderSettingsNames | ( | Int32 | n, |
maxon::BaseArray< String > & | names | ||
) |
Retrieves the names of all render settings for the Cinema 4D scene file at the index n.
[in] | n | The position within the Render Queue: 0 < n < GetElementCount() |
[out] | names | An array to store the names of all render settings. Indexes can be used directly with SetActiveRenderSettingsIndex. |
Retrieves the active render settings index for the Cinema 4D scene file at the index n.
[in] | n | The position within the Render Queue: 0 < n < GetElementCount() |
Retrieves the active render settings name for the Cinema 4D scene file at the index n.
[in] | n | The position within the Render Queue: 0 < n < GetElementCount() |
Sets the active render settings index for the Cinema 4D scene file at the index n.
[in] | n | The position within the Render Queue: 0 < n < GetElementCount() |
[in] | index | The index of the render settings to set as active. |
void GetAllCameraNames | ( | Int32 | n, |
maxon::BaseArray< String > & | names | ||
) |
Retrieves the names of all cameras for the Cinema 4D scene file at the index n.
[in] | n | The position within the Render Queue: 0 < n < GetElementCount() |
[out] | names | An array to store the names of all cameras. Indexes can be used with SetActiveCameraIndex by adding 1. |
Retrieves the number of cameras for the Cinema 4D scene file at the index n.
[in] | n | The position within the Render Queue: 0 < n < GetElementCount() |
Retrieves the active camera index for the Cinema 4D scene file at the index n.
[in] | n | The position within the Render Queue: 0 < n < GetElementCount() |
Retrieves the active camera name for the Cinema 4D scene file at the index n.
[in] | n | The position within the Render Queue: 0 < n < GetElementCount() |
[in] | filename | true to retrieve the filename, false to retrieve the camera name. |
Sets the active camera index for the Cinema 4D scene file at the index n.
[in] | n | The position within the Render Queue: 0 < n < GetElementCount() |
[in] | index | The index of the camera to set as active. |