BatchRender 类参考 Library » 批量渲染

#include <lib_batchrender.h>

详细描述

A class to access the Render Queue.

公共成员函数

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)

私有成员函数

  BatchRender ()
  ~BatchRender ()

构造函数 & 析构函数文档编制

◆  BatchRender()

BatchRender () private

◆  ~BatchRender()

~ BatchRender () private

成员函数文档编制

◆  Open()

Bool Open ( void  )

Opens the Render Queue window.

返回
true if successful, otherwise false .

◆  AddFile()

Bool AddFile ( const Filename File ,
Int32   number  
)

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.
返回
true if successful, otherwise false .

◆  DelFile()

Bool DelFile ( const Filename File )

Removes a Cinema 4D file from the Render Queue.

参数
[in] File The Cinema 4D file to be removed from the list.
返回
true if successful, otherwise false .

◆  IsRendering()

Bool IsRendering ( )

Checks if the render Queue is rendering.

返回
true if the render Queue is rendering, otherwise false .

◆  SetRendering()

void SetRendering ( Int32   set )

Sets the render status of the Render Queue.

参数
[in] set The render status: BR_RENDER

◆  SetNetError() [1/2]

Bool SetNetError ( Int32   n ,
const String machineName ,
const String errorString ,
Bool   isWarning  
)

Private .

◆  SetNetError() [2/2]

Bool SetNetError ( const C4DUuid uuid ,
const String machineName ,
const String errorString ,
Bool   isWarning  
)

Private .

◆  GetElementCount()

Int32 GetElementCount ( )

Retrieves the number of Cinema 4D scene files in the Render Queue.

返回
The number of Cinema 4D scene files.

◆  GetElement()

Filename GetElement ( Int32   n )

Retrieves the filename of the Cinema 4D scene file with the index n .

参数
[in] n The position within the Render Queue: 0 < n < GetElementCount()
返回
The filename of the Cinema 4D scene file.

◆  EnableElement()

void EnableElement ( Int32   n ,
Bool   bSet  
)

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.

◆  GetEnableElement()

Bool GetEnableElement ( Int32   n )

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()
返回
true if the scene file is enabled for rendering, otherwise false .

◆  GetElementStatus()

Int32 GetElementStatus ( Int32   n )

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()
返回
状态: RM_RENDER

◆  GetJsonJobs()

void GetJsonJobs ( PyList *  list )

Private .

◆  GetFrameBitmap()

BaseBitmap * GetFrameBitmap ( const C4DUuid nodeUuid ,
const C4DUuid frameUuid  
)

Private .

◆  SetUseNet()

void SetUseNet ( Int32   n ,
Bool   on  
)

Private .