GvCalcTable Class Reference Graph View

#include <c4d_graphview.h>

详细描述

Used for iterator nodes. Cannot be instantiated.

公共成员函数

Bool   AddNodeToTable ( GvRun *run, GvNode *node)
void  ResetTable ( GvRun *run)
Int32   GetTableCount ( GvRun *run)
GvNode GetTableNode ( GvRun *run, Int32 id)

私有成员函数

  GvCalcTable ()
  ~GvCalcTable ()

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

◆  GvCalcTable()

GvCalcTable () private

◆  ~GvCalcTable()

~ GvCalcTable () private

成员函数文档编制

◆  AddNodeToTable()

Bool AddNodeToTable ( GvRun run ,
GvNode node  
)

Marks a node to be calculated with the next GvRun::CalculateTable() . A node is only added once.

参数
[in] run The run helper. The caller owns the pointed run helper.
[in] node The node to add. The caller owns the pointed node.
返回
true if the node was added, otherwise false .

◆  ResetTable()

void ResetTable ( GvRun run )

Clears the table without destroying it.

参数
[in] run The run helper. The caller owns the pointed run helper.

◆  GetTableCount()

Int32 GetTableCount ( GvRun run )

Get the number of nodes added to the table.

参数
[in] run The run helper. The caller owns the pointed run helper.
返回
The node count.

◆  GetTableNode()

GvNode * GetTableNode ( GvRun run ,
Int32   id  
)

Retrieves a node in the table by index.

参数
[in] run The run helper. The caller owns the pointed run helper.
[in] id The node index: 0 <= id < id GetTableCount()
返回
The retrieved node.