33 typedef std::map<const NodeOperation *, std::string>
OpNameMap;
40 static int file_index_;
46 static std::string current_node_name_;
48 static std::string current_op_name_;
64 group_states_.clear();
66 group_states_[execution_group] =
EG_WAIT;
77 node_names_[
node] = std::string(
node->get_bnode() ?
node->get_bnode()->name :
"");
84 current_node_name_ = node_names_[
node];
91 op_names_[operation] = current_node_name_;
98 current_op_name_ = op_names_[operation];
133 const char *name,
const char *
color,
const char *style,
char *
str,
int maxlen);
135 const char *name,
const char *
color,
const char *style,
char *
str,
int maxlen);
Group Output data from inside of a node group A color picker Mix two input colors RGB to Convert a color s luminance to a grayscale value Generate a normal vector and a dot product Bright Control the brightness and contrast of the input color Vector Map an input vectors to used to fine tune the interpolation of the input Camera Retrieve information about the camera and how it relates to the current shading point s position Clamp a value between a minimum and a maximum Vector Perform vector math operation Invert a color
static std::string node_name(const Node *node)
static void node_to_operations(const Node *node)
static void operation_read_write_buffer(const NodeOperation *operation)
static void operation_added(const NodeOperation *operation)
static int graphviz_operation(const ExecutionSystem *system, NodeOperation *operation, const ExecutionGroup *group, char *str, int maxlen)
static void execution_group_started(const ExecutionGroup *group)
static void delete_operation_exports()
static int graphviz_legend(char *str, int maxlen, bool has_execution_groups)
static std::string operation_name(const NodeOperation *op)
static void convert_started()
static int graphviz_legend_line(const char *name, const char *color, const char *style, char *str, int maxlen)
static bool graphviz_system(const ExecutionSystem *system, char *str, int maxlen)
static void node_added(const Node *node)
std::map< const Node *, std::string > NodeNameMap
static void export_operation(const NodeOperation *op, MemoryBuffer *render)
static void operation_rendered(const NodeOperation *op, MemoryBuffer *render)
static void execution_group_finished(const ExecutionGroup *group)
std::map< const NodeOperation *, std::string > OpNameMap
static int graphviz_legend_color(const char *name, const char *color, char *str, int maxlen)
std::map< const ExecutionGroup *, GroupState > GroupStateMap
static void graphviz(const ExecutionSystem *system, StringRefNull name="")
static void execute_started(const ExecutionSystem *system)
static int graphviz_legend_group(const char *name, const char *color, const char *style, char *str, int maxlen)
Class ExecutionGroup is a group of Operations that are executed as one. This grouping is used to comb...
the ExecutionSystem contains the whole compositor tree.
a MemoryBuffer contains access to the data of a chunk
bool is_a_single_elem() const
NodeOperation contains calculation logic.
static constexpr bool COM_EXPORT_GRAPHVIZ
static constexpr bool COM_GRAPHVIZ_SHOW_NODE_NAME
static constexpr bool COM_EXPORT_OPERATION_BUFFERS