engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
Chaos::FPBDConstraintColor类 参考

Generates color information for a single constraint rule in a connection graph. 更多...

#include <PBDConstraintColor.h>

Public 成员函数

void ComputeColor (const int32 Island, const FPBDConstraintGraph &ConstraintGraph, uint32 ContainerId)
 Calculate the color information for the specified island.
 
const FLevelToColorToConstraintListMap & GetIslandLevelToColorToConstraintListMap (int32 Island) const
 Get the Level-Color-ConstraintList map for the specified island.
 
int GetIslandMaxColor (int32 Island) const
 Get the maximum color index used in the specified island.
 
int GetIslandMaxLevel (int32 Island) const
 Get the maximum level index used in the specified island.
 
void InitializeColor (const FPBDConstraintGraph &ConstraintGraph)
 Initialize the color structures based on the connectivity graph (i.e., reset all color-related node, edge and island data).
 

详细描述

Generates color information for a single constraint rule in a connection graph.

Edges with the same color are non-interacting and can safely be processed in parallel.


该类的文档由以下文件生成: