Blender V5.0
BLI_dot_export_attribute_enums.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11#include "BLI_string_ref.hh"
12
13namespace blender::dot_export {
14
19
21{
22 switch (value) {
24 return "LR";
26 return "TB";
27 }
28 return "";
29}
30
39
41{
42 switch (value) {
44 return "rectangle";
46 return "ellipse";
48 return "circle";
50 return "point";
52 return "diamond";
54 return "square";
55 }
56 return "";
57}
58
68
70{
71 switch (value) {
73 return "normal";
75 return "inv";
77 return "dot";
79 return "none";
81 return "empty";
83 return "box";
85 return "vee";
86 }
87 return "";
88}
89
96
98{
99 switch (value) {
101 return "forward";
103 return "back";
105 return "both";
107 return "none";
108 }
109 return "";
110}
111
112} // namespace blender::dot_export
static btScalar Dot(const btScalar *a, const btScalar *b, int ndof)
#define Square(a, x, y)
StringRef dirType_to_string(Attr_dirType value)
StringRef shape_to_string(Attr_shape value)
StringRef arrowType_to_string(Attr_arrowType value)
StringRef rankdir_to_string(Attr_rankdir value)