|
Blender V4.3
|
Namespaces | |
| namespace | image_render |
| namespace | tests |
| namespace | trim |
| namespace | undo |
Classes | |
| struct | Clipboard |
| struct | ClosestGreasePencilDrawing |
| struct | ColorTemplate |
| struct | Curves2DBVHTree |
| struct | CurveSegmentsData |
| struct | DrawingInfo |
| class | DrawingPlacement |
| struct | ExtensionData |
| struct | FillBoundary |
| class | ImageBufferAccessor |
| struct | KeyframeClipboard |
| struct | LineartLimitInfo |
| struct | MutableDrawingInfo |
| struct | PerimeterData |
| struct | PointTransferData |
| struct | PrimitiveToolOperation |
Typedefs | |
| using | SelectionUpdateFunc |
Functions | |
| static std::array< float3, 175 > | stroke_positions ({ float3(-1.281f, 0.0f, -0.315f), float3(-1.269f, 0.0f, -0.302f), float3(-1.261f, 0.0f, -0.293f), float3(-1.251f, 0.0f, -0.282f), float3(-1.241f, 0.0f, -0.271f), float3(-1.23f, 0.0f, -0.259f), float3(-1.219f, 0.0f, -0.247f), float3(-1.208f, 0.0f, -0.234f), float3(-1.196f, 0.0f, -0.221f), float3(-1.184f, 0.0f, -0.208f), float3(-1.172f, 0.0f, -0.194f), float3(-1.159f, 0.0f, -0.18f), float3(-1.147f, 0.0f, -0.165f), float3(-1.134f, 0.0f, -0.151f), float3(-1.121f, 0.0f, -0.136f), float3(-1.108f, 0.0f, -0.121f), float3(-1.094f, 0.0f, -0.106f), float3(-1.08f, 0.0f, -0.091f), float3(-1.066f, 0.0f, -0.076f), float3(-1.052f, 0.0f, -0.061f), float3(-1.037f, 0.0f, -0.047f), float3(-1.022f, 0.0f, -0.032f), float3(-1.007f, 0.0f, -0.017f), float3(-0.991f, 0.0f, -0.003f), float3(-0.975f, 0.0f, 0.012f), float3(-0.959f, 0.0f, 0.027f), float3(-0.942f, 0.0f, 0.041f), float3(-0.926f, 0.0f, 0.056f), float3(-0.909f, 0.0f, 0.071f), float3(-0.893f, 0.0f, 0.086f), float3(-0.876f, 0.0f, 0.1f), float3(-0.859f, 0.0f, 0.115f), float3(-0.842f, 0.0f, 0.129f), float3(-0.824f, 0.0f, 0.144f), float3(-0.807f, 0.0f, 0.158f), float3(-0.79f, 0.0f, 0.172f), float3(-0.773f, 0.0f, 0.186f), float3(-0.755f, 0.0f, 0.199f), float3(-0.738f, 0.0f, 0.212f), float3(-0.721f, 0.0f, 0.224f), float3(-0.703f, 0.0f, 0.236f), float3(-0.686f, 0.0f, 0.248f), float3(-0.67f, 0.0f, 0.26f), float3(-0.653f, 0.0f, 0.27f), float3(-0.637f, 0.0f, 0.28f), float3(-0.621f, 0.0f, 0.29f), float3(-0.605f, 0.0f, 0.298f), float3(-0.589f, 0.0f, 0.306f), float3(-0.574f, 0.0f, 0.313f), float3(-0.559f, 0.0f, 0.319f), float3(-0.544f, 0.0f, 0.325f), float3(-0.53f, 0.0f, 0.331f), float3(-0.516f, 0.0f, 0.336f), float3(-0.503f, 0.0f, 0.34f), float3(-0.489f, 0.0f, 0.344f), float3(-0.477f, 0.0f, 0.347f), float3(-0.464f, 0.0f, 0.35f), float3(-0.452f, 0.0f, 0.352f), float3(-0.44f, 0.0f, 0.354f), float3(-0.429f, 0.0f, 0.355f), float3(-0.418f, 0.0f, 0.355f), float3(-0.407f, 0.0f, 0.355f), float3(-0.397f, 0.0f, 0.354f), float3(-0.387f, 0.0f, 0.353f), float3(-0.378f, 0.0f, 0.351f), float3(-0.368f, 0.0f, 0.348f), float3(-0.36f, 0.0f, 0.344f), float3(-0.351f, 0.0f, 0.34f), float3(-0.344f, 0.0f, 0.336f), float3(-0.336f, 0.0f, 0.33f), float3(-0.329f, 0.0f, 0.324f), float3(-0.322f, 0.0f, 0.318f), float3(-0.316f, 0.0f, 0.31f), float3(-0.311f, 0.0f, 0.303f), float3(-0.306f, 0.0f, 0.294f), float3(-0.301f, 0.0f, 0.285f), float3(-0.297f, 0.0f, 0.275f), float3(-0.293f, 0.0f, 0.264f), float3(-0.29f, 0.0f, 0.253f), float3(-0.288f, 0.0f, 0.241f), float3(-0.286f, 0.0f, 0.229f), float3(-0.285f, 0.0f, 0.216f), float3(-0.284f, 0.0f, 0.202f), float3(-0.283f, 0.0f, 0.188f), float3(-0.283f, 0.0f, 0.173f), float3(-0.284f, 0.0f, 0.158f), float3(-0.285f, 0.0f, 0.142f), float3(-0.286f, 0.0f, 0.125f), float3(-0.288f, 0.0f, 0.108f), float3(-0.29f, 0.0f, 0.091f), float3(-0.293f, 0.0f, 0.073f), float3(-0.295f, 0.0f, 0.054f), float3(-0.298f, 0.0f, 0.035f), float3(-0.302f, 0.0f, 0.016f), float3(-0.305f, 0.0f, -0.004f), float3(-0.309f, 0.0f, -0.024f), float3(-0.313f, 0.0f, -0.044f), float3(-0.317f, 0.0f, -0.065f), float3(-0.321f, 0.0f, -0.085f), float3(-0.326f, 0.0f, -0.106f), float3(-0.33f, 0.0f, -0.127f), float3(-0.335f, 0.0f, -0.148f), float3(-0.339f, 0.0f, -0.168f), float3(-0.344f, 0.0f, -0.189f), float3(-0.348f, 0.0f, -0.21f), float3(-0.353f, 0.0f, -0.23f), float3(-0.357f, 0.0f, -0.25f), float3(-0.361f, 0.0f, -0.27f), float3(-0.365f, 0.0f, -0.29f), float3(-0.369f, 0.0f, -0.309f), float3(-0.372f, 0.0f, -0.328f), float3(-0.375f, 0.0f, -0.347f), float3(-0.377f, 0.0f, -0.365f), float3(-0.379f, 0.0f, -0.383f), float3(-0.38f, 0.0f, -0.4f), float3(-0.38f, 0.0f, -0.417f), float3(-0.38f, 0.0f, -0.434f), float3(-0.379f, 0.0f, -0.449f), float3(-0.377f, 0.0f, -0.464f), float3(-0.374f, 0.0f, -0.478f), float3(-0.371f, 0.0f, -0.491f), float3(-0.366f, 0.0f, -0.503f), float3(-0.361f, 0.0f, -0.513f), float3(-0.354f, 0.0f, -0.523f), float3(-0.347f, 0.0f, -0.531f), float3(-0.339f, 0.0f, -0.538f), float3(-0.33f, 0.0f, -0.543f), float3(-0.32f, 0.0f, -0.547f), float3(-0.31f, 0.0f, -0.549f), float3(-0.298f, 0.0f, -0.55f), float3(-0.286f, 0.0f, -0.55f), float3(-0.274f, 0.0f, -0.548f), float3(-0.261f, 0.0f, -0.544f), float3(-0.247f, 0.0f, -0.539f), float3(-0.232f, 0.0f, -0.533f), float3(-0.218f, 0.0f, -0.525f), float3(-0.202f, 0.0f, -0.515f), float3(-0.186f, 0.0f, -0.503f), float3(-0.169f, 0.0f, -0.49f), float3(-0.151f, 0.0f, -0.475f), float3(-0.132f, 0.0f, -0.458f), float3(-0.112f, 0.0f, -0.44f), float3(-0.091f, 0.0f, -0.42f), float3(-0.069f, 0.0f, -0.398f), float3(-0.045f, 0.0f, -0.375f), float3(-0.021f, 0.0f, -0.35f), float3(0.005f, 0.0f, -0.324f), float3(0.031f, 0.0f, -0.297f), float3(0.06f, 0.0f, -0.268f), float3(0.089f, 0.0f, -0.238f), float3(0.12f, 0.0f, -0.207f), float3(0.153f, 0.0f, -0.175f), float3(0.187f, 0.0f, -0.14f), float3(0.224f, 0.0f, -0.104f), float3(0.262f, 0.0f, -0.067f), float3(0.302f, 0.0f, -0.027f), float3(0.344f, 0.0f, 0.014f), float3(0.388f, 0.0f, 0.056f), float3(0.434f, 0.0f, 0.1f), float3(0.483f, 0.0f, 0.145f), float3(0.533f, 0.0f, 0.191f), float3(0.585f, 0.0f, 0.238f), float3(0.637f, 0.0f, 0.284f), float3(0.69f, 0.0f, 0.33f), float3(0.746f, 0.0f, 0.376f), float3(0.802f, 0.0f, 0.421f), float3(0.859f, 0.0f, 0.464f), float3(0.915f, 0.0f, 0.506f), float3(0.97f, 0.0f, 0.545f), float3(1.023f, 0.0f, 0.581f), float3(1.075f, 0.0f, 0.614f), float3(1.122f, 0.0f, 0.643f), float3(1.169f, 0.0f, 0.671f), float3(1.207f, 0.0f, 0.693f), float3(1.264f, 0.0f, 0.725f), }) |
| static constexpr std::array< float, 175 > | stroke_radii ({ 0.00143, 0.00259, 0.00334, 0.00420, 0.00503, 0.00581, 0.00656, 0.00728, 0.00791, 0.00851, 0.00907, 0.00960, 0.01005, 0.01050, 0.01087, 0.01121, 0.01151, 0.01181, 0.01208, 0.01234, 0.01256, 0.01279, 0.01297, 0.01316, 0.01331, 0.01350, 0.01365, 0.01380, 0.01391, 0.01399, 0.01410, 0.01414, 0.01418, 0.01421, 0.01421, 0.01421, 0.01425, 0.01425, 0.01429, 0.01433, 0.01440, 0.01448, 0.01455, 0.01462, 0.01474, 0.01485, 0.01496, 0.01511, 0.01526, 0.01541, 0.01556, 0.01575, 0.01594, 0.01616, 0.01639, 0.01661, 0.01688, 0.01714, 0.01740, 0.01766, 0.01796, 0.01826, 0.01856, 0.01886, 0.01920, 0.01950, 0.01980, 0.02014, 0.02044, 0.02074, 0.02107, 0.02138, 0.02171, 0.02205, 0.02239, 0.02273, 0.02306, 0.02344, 0.02381, 0.02415, 0.02452, 0.02490, 0.02531, 0.02569, 0.02610, 0.02651, 0.02693, 0.02734, 0.02775, 0.02816, 0.02854, 0.02895, 0.02933, 0.02974, 0.03015, 0.03056, 0.03105, 0.03161, 0.03225, 0.03296, 0.03364, 0.03431, 0.03495, 0.03551, 0.03608, 0.03652, 0.03694, 0.03731, 0.03765, 0.03791, 0.03818, 0.03840, 0.03859, 0.03874, 0.03885, 0.03889, 0.03889, 0.03881, 0.03870, 0.03859, 0.03848, 0.03836, 0.03829, 0.03821, 0.03814, 0.03810, 0.03810, 0.03810, 0.03810, 0.03814, 0.03814, 0.03818, 0.03814, 0.03814, 0.03810, 0.03806, 0.03799, 0.03784, 0.03769, 0.03743, 0.03713, 0.03675, 0.03630, 0.03581, 0.03521, 0.03461, 0.03405, 0.03356, 0.03308, 0.03263, 0.03218, 0.03165, 0.03105, 0.03038, 0.02963, 0.02884, 0.02801, 0.02715, 0.02625, 0.02535, 0.02441, 0.02344, 0.02246, 0.02149, 0.02048, 0.01935, 0.01811, 0.01673, 0.01526, 0.01369, 0.01208, 0.01050, 0.00885, 0.00758, 0.00581, }) |
| static constexpr std::array< float, 175 > | stroke_opacities ({ 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, 1.0f, }) |
| static std::array< float3, 700 > | monkey_fill_positions ({ float3(-0.4911, 0.0000, -0.1781), float3(-0.5168, 0.0000, -0.1806), float3(-0.5361, 0.0000, -0.1817), float3(-0.5618, 0.0000, -0.1829), float3(-0.5892, 0.0000, -0.1827), float3(-0.6193, 0.0000, -0.1814), float3(-0.6499, 0.0000, -0.1782), float3(-0.6808, 0.0000, -0.1729), float3(-0.7107, 0.0000, -0.1651), float3(-0.7404, 0.0000, -0.1555), float3(-0.7698, 0.0000, -0.1447), float3(-0.7993, 0.0000, -0.1332), float3(-0.8289, 0.0000, -0.1209), float3(-0.8586, 0.0000, -0.1090), float3(-0.8871, 0.0000, -0.0973), float3(-0.9125, 0.0000, -0.0838), float3(-0.9353, 0.0000, -0.0688), float3(-0.9561, 0.0000, -0.0525), float3(-0.9752, 0.0000, -0.0346), float3(-0.9944, 0.0000, -0.0160), float3(-1.0148, 0.0000, 0.0028), float3(-1.0348, 0.0000, 0.0215), float3(-1.0500, 0.0000, 0.0407), float3(-1.0639, 0.0000, 0.0613), float3(-1.0752, 0.0000, 0.0838), float3(-1.0848, 0.0000, 0.1082), float3(-1.0936, 0.0000, 0.1346), float3(-1.1024, 0.0000, 0.1639), float3(-1.1102, 0.0000, 0.1953), float3(-1.1128, 0.0000, 0.2277), float3(-1.1091, 0.0000, 0.2579), float3(-1.1023, 0.0000, 0.2849), float3(-1.0934, 0.0000, 0.3086), float3(-1.0831, 0.0000, 0.3285), float3(-1.0724, 0.0000, 0.3451), float3(-1.0607, 0.0000, 0.3594), float3(-1.0474, 0.0000, 0.3713), float3(-1.0310, 0.0000, 0.3804), float3(-1.0108, 0.0000, 0.3874), float3(-0.9862, 0.0000, 0.3922), float3(-0.9568, 0.0000, 0.3941), float3(-0.9243, 0.0000, 0.3934), float3(-0.8897, 0.0000, 0.3861), float3(-0.8556, 0.0000, 0.3754), float3(-0.8237, 0.0000, 0.3608), float3(-0.7982, 0.0000, 0.3440), float3(-0.7786, 0.0000, 0.3290), float3(-0.7633, 0.0000, 0.3183), float3(-0.7498, 0.0000, 0.3135), float3(-0.7374, 0.0000, 0.3134), float3(-0.7261, 0.0000, 0.3179), float3(-0.7146, 0.0000, 0.3262), float3(-0.7030, 0.0000, 0.3395), float3(-0.6920, 0.0000, 0.3576), float3(-0.6831, 0.0000, 0.3806), float3(-0.6748, 0.0000, 0.4052), float3(-0.6648, 0.0000, 0.4305), float3(-0.6527, 0.0000, 0.4549), float3(-0.6375, 0.0000, 0.4783), float3(-0.6195, 0.0000, 0.5021), float3(-0.5985, 0.0000, 0.5256), float3(-0.5775, 0.0000, 0.5488), float3(-0.5560, 0.0000, 0.5715), float3(-0.5339, 0.0000, 0.5930), float3(-0.5119, 0.0000, 0.6130), float3(-0.4905, 0.0000, 0.6312), float3(-0.4697, 0.0000, 0.6474), float3(-0.4499, 0.0000, 0.6613), float3(-0.4306, 0.0000, 0.6734), float3(-0.4116, 0.0000, 0.6845), float3(-0.3918, 0.0000, 0.6954), float3(-0.3709, 0.0000, 0.7059), float3(-0.3486, 0.0000, 0.7157), float3(-0.3251, 0.0000, 0.7249), float3(-0.3006, 0.0000, 0.7333), float3(-0.2755, 0.0000, 0.7414), float3(-0.2500, 0.0000, 0.7489), float3(-0.2242, 0.0000, 0.7562), float3(-0.1979, 0.0000, 0.7631), float3(-0.1710, 0.0000, 0.7695), float3(-0.1434, 0.0000, 0.7752), float3(-0.1151, 0.0000, 0.7801), float3(-0.0861, 0.0000, 0.7841), float3(-0.0563, 0.0000, 0.7869), float3(-0.0260, 0.0000, 0.7889), float3(0.0049, 0.0000, 0.7899), float3(0.0362, 0.0000, 0.7898), float3(0.0679, 0.0000, 0.7881), float3(0.0996, 0.0000, 0.7853), float3(0.1313, 0.0000, 0.7812), float3(0.1632, 0.0000, 0.7756), float3(0.1953, 0.0000, 0.7687), float3(0.2277, 0.0000, 0.7608), float3(0.2606, 0.0000, 0.7513), float3(0.2934, 0.0000, 0.7404), float3(0.3258, 0.0000, 0.7276), float3(0.3570, 0.0000, 0.7135), float3(0.3870, 0.0000, 0.6983), float3(0.4157, 0.0000, 0.6819), float3(0.4440, 0.0000, 0.6645), float3(0.4719, 0.0000, 0.6459), float3(0.4994, 0.0000, 0.6261), float3(0.5260, 0.0000, 0.6046), float3(0.5520, 0.0000, 0.5816), float3(0.5770, 0.0000, 0.5575), float3(0.6008, 0.0000, 0.5328), float3(0.6231, 0.0000, 0.5077), float3(0.6423, 0.0000, 0.4829), float3(0.6580, 0.0000, 0.4617), float3(0.6713, 0.0000, 0.4432), float3(0.6828, 0.0000, 0.4266), float3(0.6928, 0.0000, 0.4118), float3(0.7016, 0.0000, 0.3987), float3(0.7094, 0.0000, 0.3871), float3(0.7165, 0.0000, 0.3769), float3(0.7233, 0.0000, 0.3679), float3(0.7301, 0.0000, 0.3598), float3(0.7373, 0.0000, 0.3524), float3(0.7454, 0.0000, 0.3458), float3(0.7545, 0.0000, 0.3398), float3(0.7651, 0.0000, 0.3351), float3(0.7770, 0.0000, 0.3317), float3(0.7909, 0.0000, 0.3311), float3(0.8068, 0.0000, 0.3340), float3(0.8246, 0.0000, 0.3398), float3(0.8438, 0.0000, 0.3486), float3(0.8651, 0.0000, 0.3575), float3(0.8893, 0.0000, 0.3665), float3(0.9166, 0.0000, 0.3740), float3(0.9459, 0.0000, 0.3791), float3(0.9751, 0.0000, 0.3811), float3(1.0029, 0.0000, 0.3800), float3(1.0288, 0.0000, 0.3754), float3(1.0520, 0.0000, 0.3673), float3(1.0722, 0.0000, 0.3556), float3(1.0888, 0.0000, 0.3403), float3(1.1027, 0.0000, 0.3220), float3(1.1133, 0.0000, 0.3010), float3(1.1215, 0.0000, 0.2780), float3(1.1269, 0.0000, 0.2534), float3(1.1296, 0.0000, 0.2284), float3(1.1292, 0.0000, 0.2031), float3(1.1254, 0.0000, 0.1778), float3(1.1178, 0.0000, 0.1530), float3(1.1076, 0.0000, 0.1299), float3(1.0955, 0.0000, 0.1079), float3(1.0817, 0.0000, 0.0870), float3(1.0668, 0.0000, 0.0677), float3(1.0508, 0.0000, 0.0491), float3(1.0339, 0.0000, 0.0313), float3(1.0157, 0.0000, 0.0144), float3(0.9969, 0.0000, -0.0015), float3(0.9784, 0.0000, -0.0170), float3(0.9600, 0.0000, -0.0321), float3(0.9413, 0.0000, -0.0468), float3(0.9216, 0.0000, -0.0611), float3(0.9009, 0.0000, -0.0751), float3(0.8787, 0.0000, -0.0893), float3(0.8556, 0.0000, -0.1027), float3(0.8312, 0.0000, -0.1152), float3(0.8058, 0.0000, -0.1268), float3(0.7788, 0.0000, -0.1372), float3(0.7505, 0.0000, -0.1467), float3(0.7214, 0.0000, -0.1549), float3(0.6929, 0.0000, -0.1617), float3(0.6652, 0.0000, -0.1665), float3(0.6388, 0.0000, -0.1691), float3(0.6131, 0.0000, -0.1701), float3(0.5883, 0.0000, -0.1699), float3(0.5644, 0.0000, -0.1691), float3(0.5416, 0.0000, -0.1683), float3(0.5195, 0.0000, -0.1680), float3(0.4975, 0.0000, -0.1687), float3(0.4754, 0.0000, -0.1705), float3(0.4527, 0.0000, -0.1741), float3(0.4293, 0.0000, -0.1797), float3(0.4054, 0.0000, -0.1881), float3(0.3813, 0.0000, -0.1992), float3(0.3585, 0.0000, -0.2120), float3(0.3368, 0.0000, -0.2266), float3(0.3174, 0.0000, -0.2426), float3(0.2996, 0.0000, -0.2594), float3(0.2840, 0.0000, -0.2768), float3(0.2702, 0.0000, -0.2946), float3(0.2585, 0.0000, -0.3127), float3(0.2500, 0.0000, -0.3308), float3(0.2447, 0.0000, -0.3489), float3(0.2418, 0.0000, -0.3672), float3(0.2412, 0.0000, -0.3860), float3(0.2425, 0.0000, -0.4051), float3(0.2456, 0.0000, -0.4246), float3(0.2509, 0.0000, -0.4447), float3(0.2576, 0.0000, -0.4652), float3(0.2666, 0.0000, -0.4867), float3(0.2766, 0.0000, -0.5091), float3(0.2871, 0.0000, -0.5326), float3(0.2973, 0.0000, -0.5569), float3(0.3060, 0.0000, -0.5826), float3(0.3131, 0.0000, -0.6100), float3(0.3197, 0.0000, -0.6384), float3(0.3260, 0.0000, -0.6681), float3(0.3315, 0.0000, -0.6984), float3(0.3360, 0.0000, -0.7291), float3(0.3391, 0.0000, -0.7593), float3(0.3399, 0.0000, -0.7884), float3(0.3382, 0.0000, -0.8158), float3(0.3340, 0.0000, -0.8417), float3(0.3273, 0.0000, -0.8657), float3(0.3185, 0.0000, -0.8881), float3(0.3073, 0.0000, -0.9088), float3(0.2941, 0.0000, -0.9278), float3(0.2786, 0.0000, -0.9449), float3(0.2610, 0.0000, -0.9600), float3(0.2413, 0.0000, -0.9733), float3(0.2193, 0.0000, -0.9845), float3(0.1953, 0.0000, -0.9935), float3(0.1693, 0.0000, -1.0004), float3(0.1421, 0.0000, -1.0051), float3(0.1136, 0.0000, -1.0072), float3(0.0842, 0.0000, -1.0073), float3(0.0548, 0.0000, -1.0059), float3(0.0258, 0.0000, -1.0037), float3(-0.0027, 0.0000, -1.0003), float3(-0.0309, 0.0000, -0.9959), float3(-0.0584, 0.0000, -0.9904), float3(-0.0858, 0.0000, -0.9848), float3(-0.1127, 0.0000, -0.9783), float3(-0.1386, 0.0000, -0.9703), float3(-0.1649, 0.0000, -0.9604), float3(-0.1910, 0.0000, -0.9479), float3(-0.2165, 0.0000, -0.9345), float3(-0.2414, 0.0000, -0.9205), float3(-0.2654, 0.0000, -0.9055), float3(-0.2877, 0.0000, -0.8898), float3(-0.3076, 0.0000, -0.8723), float3(-0.3240, 0.0000, -0.8532), float3(-0.3367, 0.0000, -0.8316), float3(-0.3451, 0.0000, -0.8077), float3(-0.3505, 0.0000, -0.7829), float3(-0.3531, 0.0000, -0.7584), float3(-0.3528, 0.0000, -0.7349), float3(-0.3503, 0.0000, -0.7115), float3(-0.3460, 0.0000, -0.6880), float3(-0.3411, 0.0000, -0.6643), float3(-0.3361, 0.0000, -0.6403), float3(-0.3304, 0.0000, -0.6164), float3(-0.3244, 0.0000, -0.5925), float3(-0.3180, 0.0000, -0.5687), float3(-0.3124, 0.0000, -0.5441), float3(-0.3051, 0.0000, -0.5191), float3(-0.2959, 0.0000, -0.4917), float3(-0.2882, 0.0000, -0.4639), float3(-0.2814, 0.0000, -0.4363), float3(-0.2759, 0.0000, -0.4084), float3(-0.2707, 0.0000, -0.3827), float3(-0.2703, 0.0000, -0.3586), float3(-0.2772, 0.0000, -0.3375), float3(-0.2871, 0.0000, -0.3178), float3(-0.2995, 0.0000, -0.2996), float3(-0.3145, 0.0000, -0.2830), float3(-0.3320, 0.0000, -0.2672), float3(-0.3488, 0.0000, -0.2531), float3(-0.3639, 0.0000, -0.2407), float3(-0.3778, 0.0000, -0.2292), float3(-0.3909, 0.0000, -0.2191), float3(-0.4032, 0.0000, -0.2102), float3(-0.4146, 0.0000, -0.2027), float3(-0.4260, 0.0000, -0.1968), float3(-0.4348, 0.0000, -0.1931), float3(-0.4479, 0.0000, -0.1886), float3(0.5292, 0.0000, 0.1742), float3(0.5291, 0.0000, 0.1621), float3(0.5274, 0.0000, 0.1386), float3(0.5239, 0.0000, 0.1160), float3(0.5185, 0.0000, 0.0945), float3(0.5115, 0.0000, 0.0741), float3(0.5030, 0.0000, 0.0548), float3(0.4931, 0.0000, 0.0368), float3(0.4820, 0.0000, 0.0200), float3(0.4697, 0.0000, 0.0046), float3(0.4565, 0.0000, -0.0094), float3(0.4424, 0.0000, -0.0219), float3(0.4275, 0.0000, -0.0330), float3(0.4121, 0.0000, -0.0424), float3(0.3961, 0.0000, -0.0501), float3(0.3799, 0.0000, -0.0562), float3(0.3634, 0.0000, -0.0605), float3(0.3468, 0.0000, -0.0629), float3(0.3303, 0.0000, -0.0634), float3(0.3139, 0.0000, -0.0620), float3(0.2979, 0.0000, -0.0585), float3(0.2823, 0.0000, -0.0529), float3(0.2672, 0.0000, -0.0452), float3(0.2529, 0.0000, -0.0352), float3(0.2393, 0.0000, -0.0230), float3(0.2267, 0.0000, -0.0085), float3(0.2153, 0.0000, 0.0085), float3(0.2050, 0.0000, 0.0279), float3(0.1960, 0.0000, 0.0499), float3(0.1886, 0.0000, 0.0745), float3(0.1827, 0.0000, 0.1017), float3(0.1786, 0.0000, 0.1316), float3(0.1763, 0.0000, 0.1643), float3(-0.0844, 0.0000, -0.3010), float3(-0.0825, 0.0000, -0.3034), float3(-0.0751, 0.0000, -0.3128), float3(-0.0677, 0.0000, -0.3216), float3(-0.0600, 0.0000, -0.3298), float3(-0.0522, 0.0000, -0.3372), float3(-0.0440, 0.0000, -0.3437), float3(-0.0354, 0.0000, -0.3491), float3(-0.0264, 0.0000, -0.3535), float3(-0.0168, 0.0000, -0.3566), float3(-0.0065, 0.0000, -0.3583), float3(0.0045, 0.0000, -0.3585), float3(0.0163, 0.0000, -0.3571), float3(0.0290, 0.0000, -0.3540), float3(0.0427, 0.0000, -0.3491), float3(0.0574, 0.0000, -0.3421), float3(0.0732, 0.0000, -0.3331), float3(0.0816, 0.0000, -0.3278), float3(-0.6551, 0.0000, 0.4448), float3(-0.6353, 0.0000, 0.4689), float3(-0.6211, 0.0000, 0.4845), float3(-0.6033, 0.0000, 0.5034), float3(-0.5856, 0.0000, 0.5211), float3(-0.5672, 0.0000, 0.5387), float3(-0.5485, 0.0000, 0.5555), float3(-0.5295, 0.0000, 0.5718), float3(-0.5103, 0.0000, 0.5875), float3(-0.4909, 0.0000, 0.6028), float3(-0.4712, 0.0000, 0.6174), float3(-0.4512, 0.0000, 0.6313), float3(-0.4307, 0.0000, 0.6444), float3(-0.4099, 0.0000, 0.6568), float3(-0.3884, 0.0000, 0.6684), float3(-0.3665, 0.0000, 0.6793), float3(-0.3439, 0.0000, 0.6893), float3(-0.3207, 0.0000, 0.6984), float3(-0.2971, 0.0000, 0.7069), float3(-0.2731, 0.0000, 0.7148), float3(-0.2490, 0.0000, 0.7222), float3(-0.2247, 0.0000, 0.7292), float3(-0.2003, 0.0000, 0.7356), float3(-0.1759, 0.0000, 0.7416), float3(-0.1515, 0.0000, 0.7471), float3(-0.1272, 0.0000, 0.7518), float3(-0.1028, 0.0000, 0.7556), float3(-0.0785, 0.0000, 0.7586), float3(-0.0543, 0.0000, 0.7607), float3(-0.0302, 0.0000, 0.7621), float3(-0.0062, 0.0000, 0.7627), float3(0.0177, 0.0000, 0.7625), float3(0.0415, 0.0000, 0.7616), float3(0.0652, 0.0000, 0.7602), float3(0.0887, 0.0000, 0.7583), float3(0.1122, 0.0000, 0.7559), float3(0.1355, 0.0000, 0.7529), float3(0.1585, 0.0000, 0.7493), float3(0.1814, 0.0000, 0.7451), float3(0.2041, 0.0000, 0.7404), float3(0.2266, 0.0000, 0.7352), float3(0.2488, 0.0000, 0.7290), float3(0.2706, 0.0000, 0.7216), float3(0.2921, 0.0000, 0.7131), float3(0.3135, 0.0000, 0.7041), float3(0.3348, 0.0000, 0.6945), float3(0.3559, 0.0000, 0.6845), float3(0.3769, 0.0000, 0.6739), float3(0.3978, 0.0000, 0.6628), float3(0.4185, 0.0000, 0.6510), float3(0.4390, 0.0000, 0.6383), float3(0.4594, 0.0000, 0.6249), float3(0.4795, 0.0000, 0.6106), float3(0.4995, 0.0000, 0.5956), float3(0.5193, 0.0000, 0.5801), float3(0.5390, 0.0000, 0.5642), float3(0.5586, 0.0000, 0.5479), float3(0.5780, 0.0000, 0.5312), float3(0.5970, 0.0000, 0.5141), float3(0.6153, 0.0000, 0.4966), float3(0.6324, 0.0000, 0.4797), float3(0.6498, 0.0000, 0.4620), float3(0.6638, 0.0000, 0.4477), float3(0.6843, 0.0000, 0.4263), float3(-0.7765, 0.0000, 0.3255), float3(-0.7908, 0.0000, 0.3335), float3(-0.8048, 0.0000, 0.3402), float3(-0.8225, 0.0000, 0.3467), float3(-0.8426, 0.0000, 0.3529), float3(-0.8651, 0.0000, 0.3587), float3(-0.8878, 0.0000, 0.3633), float3(-0.9105, 0.0000, 0.3670), float3(-0.9323, 0.0000, 0.3693), float3(-0.9529, 0.0000, 0.3701), float3(-0.9720, 0.0000, 0.3695), float3(-0.9896, 0.0000, 0.3675), float3(-1.0057, 0.0000, 0.3640), float3(-1.0203, 0.0000, 0.3592), float3(-1.0333, 0.0000, 0.3528), float3(-1.0447, 0.0000, 0.3452), float3(-1.0546, 0.0000, 0.3362), float3(-1.0633, 0.0000, 0.3261), float3(-1.0708, 0.0000, 0.3150), float3(-1.0767, 0.0000, 0.3027), float3(-1.0818, 0.0000, 0.2894), float3(-1.0861, 0.0000, 0.2752), float3(-1.0897, 0.0000, 0.2604), float3(-1.0922, 0.0000, 0.2446), float3(-1.0938, 0.0000, 0.2277), float3(-1.0944, 0.0000, 0.2098), float3(-1.0939, 0.0000, 0.1910), float3(-1.0924, 0.0000, 0.1714), float3(-1.0897, 0.0000, 0.1511), float3(-1.0855, 0.0000, 0.1303), float3(-1.0798, 0.0000, 0.1095), float3(-1.0723, 0.0000, 0.0890), float3(-1.0642, 0.0000, 0.0702), float3(0.8135, 0.0000, 0.3341), float3(0.8191, 0.0000, 0.3376), float3(0.8246, 0.0000, 0.3408), float3(0.8304, 0.0000, 0.3438), float3(0.8368, 0.0000, 0.3465), float3(0.8430, 0.0000, 0.3491), float3(0.8494, 0.0000, 0.3515), float3(0.8558, 0.0000, 0.3536), float3(0.8623, 0.0000, 0.3557), float3(0.8688, 0.0000, 0.3575), float3(0.8752, 0.0000, 0.3593), float3(0.8813, 0.0000, 0.3609), float3(0.8872, 0.0000, 0.3625), float3(0.8929, 0.0000, 0.3640), float3(0.8984, 0.0000, 0.3653), float3(0.9039, 0.0000, 0.3665), float3(0.9093, 0.0000, 0.3675), float3(0.9146, 0.0000, 0.3684), float3(0.9199, 0.0000, 0.3692), float3(0.9253, 0.0000, 0.3698), float3(0.9305, 0.0000, 0.3703), float3(0.9358, 0.0000, 0.3706), float3(0.9410, 0.0000, 0.3709), float3(0.9462, 0.0000, 0.3710), float3(0.9514, 0.0000, 0.3710), float3(0.9566, 0.0000, 0.3708), float3(0.9617, 0.0000, 0.3706), float3(0.9668, 0.0000, 0.3702), float3(0.9718, 0.0000, 0.3697), float3(0.9768, 0.0000, 0.3692), float3(0.9818, 0.0000, 0.3685), float3(0.9867, 0.0000, 0.3677), float3(0.9916, 0.0000, 0.3667), float3(0.9964, 0.0000, 0.3657), float3(1.0012, 0.0000, 0.3646), float3(1.0060, 0.0000, 0.3634), float3(1.0107, 0.0000, 0.3621), float3(1.0154, 0.0000, 0.3607), float3(1.0200, 0.0000, 0.3593), float3(1.0245, 0.0000, 0.3577), float3(1.0290, 0.0000, 0.3561), float3(1.0335, 0.0000, 0.3543), float3(1.0379, 0.0000, 0.3525), float3(1.0422, 0.0000, 0.3507), float3(1.0465, 0.0000, 0.3487), float3(1.0507, 0.0000, 0.3468), float3(1.0549, 0.0000, 0.3447), float3(1.0591, 0.0000, 0.3427), float3(1.0633, 0.0000, 0.3404), float3(1.0675, 0.0000, 0.3380), float3(1.0717, 0.0000, 0.3351), float3(1.0761, 0.0000, 0.3318), float3(1.0805, 0.0000, 0.3279), float3(1.0849, 0.0000, 0.3235), float3(1.0893, 0.0000, 0.3186), float3(1.0936, 0.0000, 0.3134), float3(1.0979, 0.0000, 0.3076), float3(1.1020, 0.0000, 0.3017), float3(1.1060, 0.0000, 0.2953), float3(1.1097, 0.0000, 0.2890), float3(1.1132, 0.0000, 0.2826), float3(1.1164, 0.0000, 0.2766), float3(1.1193, 0.0000, 0.2708), float3(1.1221, 0.0000, 0.2652), float3(-0.2677, 0.0000, -0.3496), float3(-0.2658, 0.0000, -0.3919), float3(-0.2657, 0.0000, -0.4295), float3(-0.2691, 0.0000, -0.4621), float3(-0.2750, 0.0000, -0.4949), float3(-0.2828, 0.0000, -0.5270), float3(-0.2911, 0.0000, -0.5578), float3(-0.2971, 0.0000, -0.5884), float3(-0.3030, 0.0000, -0.6181), float3(-0.3089, 0.0000, -0.6467), float3(-0.3148, 0.0000, -0.6738), float3(-0.3196, 0.0000, -0.7000), float3(-0.3230, 0.0000, -0.7253), float3(-0.3234, 0.0000, -0.7496), float3(-0.3219, 0.0000, -0.7728), float3(-0.3184, 0.0000, -0.7949), float3(-0.3103, 0.0000, -0.8138), float3(-0.3004, 0.0000, -0.8307), float3(-0.2892, 0.0000, -0.8464), float3(-0.2766, 0.0000, -0.8611), float3(-0.2618, 0.0000, -0.8735), float3(-0.2469, 0.0000, -0.8853), float3(-0.2315, 0.0000, -0.8964), float3(-0.2158, 0.0000, -0.9068), float3(-0.1997, 0.0000, -0.9167), float3(-0.1833, 0.0000, -0.9262), float3(-0.1663, 0.0000, -0.9355), float3(-0.1481, 0.0000, -0.9445), float3(-0.1282, 0.0000, -0.9534), float3(-0.1077, 0.0000, -0.9625), float3(-0.0854, 0.0000, -0.9718), float3(-0.0616, 0.0000, -0.9813), float3(-0.0248, 0.0000, -0.9920), float3(-0.0618, 0.0000, -0.1922), float3(-0.0703, 0.0000, -0.2021), float3(-0.0758, 0.0000, -0.2103), float3(-0.0803, 0.0000, -0.2206), float3(-0.0830, 0.0000, -0.2307), float3(-0.0851, 0.0000, -0.2405), float3(-0.0865, 0.0000, -0.2499), float3(-0.0872, 0.0000, -0.2588), float3(-0.0869, 0.0000, -0.2673), float3(-0.0858, 0.0000, -0.2754), float3(-0.0831, 0.0000, -0.2829), float3(-0.0791, 0.0000, -0.2898), float3(-0.0740, 0.0000, -0.2966), float3(-0.0674, 0.0000, -0.3030), float3(-0.0591, 0.0000, -0.3084), float3(-0.0465, 0.0000, -0.3134), float3(-0.0331, 0.0000, -0.3165), float3(-0.0150, 0.0000, -0.3180), float3(0.5311, 0.0000, 0.1661), float3(0.5307, 0.0000, 0.1794), float3(0.5277, 0.0000, 0.2057), float3(0.5218, 0.0000, 0.2314), float3(0.5130, 0.0000, 0.2560), float3(0.5014, 0.0000, 0.2790), float3(0.4874, 0.0000, 0.3001), float3(0.4711, 0.0000, 0.3189), float3(0.4529, 0.0000, 0.3351), float3(0.4329, 0.0000, 0.3483), float3(0.4117, 0.0000, 0.3585), float3(0.3894, 0.0000, 0.3654), float3(0.3666, 0.0000, 0.3689), float3(0.3435, 0.0000, 0.3689), float3(0.3207, 0.0000, 0.3654), float3(0.2985, 0.0000, 0.3585), float3(0.2772, 0.0000, 0.3483), float3(0.2573, 0.0000, 0.3351), float3(0.2390, 0.0000, 0.3189), float3(0.2227, 0.0000, 0.3001), float3(0.2087, 0.0000, 0.2790), float3(0.1972, 0.0000, 0.2560), float3(0.1884, 0.0000, 0.2314), float3(0.1824, 0.0000, 0.2057), float3(0.1794, 0.0000, 0.1794), float3(0.1794, 0.0000, 0.1528), float3(0.1824, 0.0000, 0.1264), float3(0.1884, 0.0000, 0.1007), float3(0.1972, 0.0000, 0.0762), float3(0.2087, 0.0000, 0.0531), float3(0.2227, 0.0000, 0.0320), float3(0.2390, 0.0000, 0.0132), float3(0.2573, 0.0000, -0.0029), float3(0.2772, 0.0000, -0.0162), float3(0.2985, 0.0000, -0.0264), float3(0.3207, 0.0000, -0.0333), float3(0.3435, 0.0000, -0.0368), float3(0.3666, 0.0000, -0.0368), float3(0.3894, 0.0000, -0.0333), float3(0.4117, 0.0000, -0.0264), float3(0.4329, 0.0000, -0.0162), float3(0.4529, 0.0000, -0.0029), float3(0.4711, 0.0000, 0.0132), float3(0.4874, 0.0000, 0.0320), float3(0.5014, 0.0000, 0.0531), float3(0.5130, 0.0000, 0.0762), float3(0.5218, 0.0000, 0.1007), float3(0.5277, 0.0000, 0.1264), float3(0.5307, 0.0000, 0.1528), float3(-0.5271, 0.0000, 0.1742), float3(-0.5270, 0.0000, 0.1621), float3(-0.5253, 0.0000, 0.1386), float3(-0.5217, 0.0000, 0.1160), float3(-0.5164, 0.0000, 0.0945), float3(-0.5094, 0.0000, 0.0741), float3(-0.5009, 0.0000, 0.0548), float3(-0.4910, 0.0000, 0.0368), float3(-0.4799, 0.0000, 0.0200), float3(-0.4676, 0.0000, 0.0046), float3(-0.4544, 0.0000, -0.0094), float3(-0.4402, 0.0000, -0.0219), float3(-0.4254, 0.0000, -0.0330), float3(-0.4099, 0.0000, -0.0424), float3(-0.3940, 0.0000, -0.0501), float3(-0.3777, 0.0000, -0.0562), float3(-0.3612, 0.0000, -0.0605), float3(-0.3447, 0.0000, -0.0629), float3(-0.3281, 0.0000, -0.0634), float3(-0.3118, 0.0000, -0.0620), float3(-0.2957, 0.0000, -0.0585), float3(-0.2801, 0.0000, -0.0529), float3(-0.2651, 0.0000, -0.0452), float3(-0.2507, 0.0000, -0.0352), float3(-0.2372, 0.0000, -0.0230), float3(-0.2246, 0.0000, -0.0085), float3(-0.2131, 0.0000, 0.0085), float3(-0.2028, 0.0000, 0.0279), float3(-0.1939, 0.0000, 0.0499), float3(-0.1864, 0.0000, 0.0745), float3(-0.1806, 0.0000, 0.1017), float3(-0.1765, 0.0000, 0.1316), float3(-0.1742, 0.0000, 0.1643), float3(-0.1740, 0.0000, 0.1661), float3(-0.1744, 0.0000, 0.1794), float3(-0.1774, 0.0000, 0.2057), float3(-0.1833, 0.0000, 0.2314), float3(-0.1922, 0.0000, 0.2560), float3(-0.2037, 0.0000, 0.2790), float3(-0.2177, 0.0000, 0.3001), float3(-0.2340, 0.0000, 0.3189), float3(-0.2522, 0.0000, 0.3351), float3(-0.2722, 0.0000, 0.3483), float3(-0.2935, 0.0000, 0.3585), float3(-0.3157, 0.0000, 0.3654), float3(-0.3385, 0.0000, 0.3689), float3(-0.3616, 0.0000, 0.3689), float3(-0.3844, 0.0000, 0.3654), float3(-0.4066, 0.0000, 0.3585), float3(-0.4279, 0.0000, 0.3483), float3(-0.4479, 0.0000, 0.3351), float3(-0.4661, 0.0000, 0.3189), float3(-0.4824, 0.0000, 0.3001), float3(-0.4964, 0.0000, 0.2790), float3(-0.5080, 0.0000, 0.2560), float3(-0.5168, 0.0000, 0.2314), float3(-0.5227, 0.0000, 0.2057), float3(-0.5257, 0.0000, 0.1794), float3(-0.5257, 0.0000, 0.1528), float3(-0.5227, 0.0000, 0.1264), float3(-0.5168, 0.0000, 0.1007), float3(-0.5080, 0.0000, 0.0762), float3(-0.4964, 0.0000, 0.0531), float3(-0.4824, 0.0000, 0.0320), float3(-0.4661, 0.0000, 0.0132), float3(-0.4479, 0.0000, -0.0029), float3(-0.4279, 0.0000, -0.0162), float3(-0.4066, 0.0000, -0.0264), float3(-0.3844, 0.0000, -0.0333), float3(-0.3616, 0.0000, -0.0368), float3(-0.3385, 0.0000, -0.0368), float3(-0.3157, 0.0000, -0.0333), float3(-0.2935, 0.0000, -0.0264), float3(-0.2722, 0.0000, -0.0162), float3(-0.2522, 0.0000, -0.0029), float3(-0.2340, 0.0000, 0.0132), float3(-0.2177, 0.0000, 0.0320), float3(-0.2037, 0.0000, 0.0531), float3(-0.1922, 0.0000, 0.0762), float3(-0.1833, 0.0000, 0.1007), float3(-0.1774, 0.0000, 0.1264), float3(-0.1744, 0.0000, 0.1528), float3(0.9630, 0.0000, 0.1753), float3(0.9555, 0.0000, 0.1761), float3(0.9367, 0.0000, 0.1758), float3(0.9202, 0.0000, 0.1741), float3(0.9036, 0.0000, 0.1714), float3(0.8885, 0.0000, 0.1668), float3(0.8746, 0.0000, 0.1607), float3(0.8621, 0.0000, 0.1531), float3(0.8503, 0.0000, 0.1447), float3(0.8389, 0.0000, 0.1352), float3(0.8279, 0.0000, 0.1244), float3(0.8174, 0.0000, 0.1125), float3(0.8079, 0.0000, 0.0990), float3(0.7999, 0.0000, 0.0839), float3(0.7935, 0.0000, 0.0669), float3(0.7892, 0.0000, 0.0488), float3(0.7870, 0.0000, 0.0305), float3(0.7847, 0.0000, 0.0139), float3(-1.0227, 0.0000, 0.1753), float3(-1.0153, 0.0000, 0.1761), float3(-0.9964, 0.0000, 0.1758), float3(-0.9799, 0.0000, 0.1741), float3(-0.9634, 0.0000, 0.1714), float3(-0.9483, 0.0000, 0.1668), float3(-0.9344, 0.0000, 0.1607), float3(-0.9219, 0.0000, 0.1531), float3(-0.9101, 0.0000, 0.1447), float3(-0.8986, 0.0000, 0.1352), float3(-0.8876, 0.0000, 0.1244), float3(-0.8772, 0.0000, 0.1125), float3(-0.8677, 0.0000, 0.0990), float3(-0.8597, 0.0000, 0.0839), float3(-0.8533, 0.0000, 0.0669), float3(-0.8490, 0.0000, 0.0488), float3(-0.8467, 0.0000, 0.0305), float3(-0.8444, 0.0000, 0.0139), }) |
| static constexpr std::array< float, 700 > | monkey_fill_opacities ({ 0.3620, 0.4070, 0.4390, 0.4580, 0.5000, 0.5160, 0.5190, 0.5300, 0.5330, 0.5340, 0.5350, 0.5350, 0.5370, 0.5370, 0.5370, 0.5350, 0.5340, 0.5340, 0.5340, 0.5340, 0.5320, 0.5310, 0.5310, 0.5320, 0.5350, 0.5400, 0.5420, 0.5430, 0.5430, 0.5460, 0.5490, 0.5490, 0.5490, 0.5490, 0.5510, 0.5530, 0.5540, 0.5540, 0.5550, 0.5560, 0.5570, 0.5570, 0.5570, 0.5570, 0.5570, 0.5580, 0.5590, 0.5590, 0.5590, 0.5480, 0.5460, 0.5470, 0.5470, 0.5480, 0.5480, 0.5490, 0.5480, 0.5490, 0.5490, 0.5580, 0.5870, 0.5950, 0.5980, 0.6030, 0.6060, 0.6070, 0.6070, 0.6110, 0.6150, 0.6210, 0.6230, 0.6260, 0.6300, 0.6320, 0.6440, 0.6570, 0.6610, 0.6640, 0.6680, 0.6710, 0.6740, 0.6780, 0.6800, 0.6800, 0.6800, 0.6810, 0.6810, 0.6830, 0.6830, 0.6850, 0.6860, 0.6940, 0.6970, 0.7000, 0.7040, 0.7100, 0.7110, 0.7130, 0.7140, 0.7140, 0.7150, 0.7160, 0.7160, 0.7170, 0.7170, 0.7180, 0.7180, 0.7180, 0.7190, 0.7190, 0.7190, 0.7190, 0.7170, 0.7170, 0.7170, 0.7180, 0.7190, 0.7190, 0.7090, 0.7040, 0.7050, 0.7130, 0.8130, 0.8150, 0.8150, 0.8160, 0.8160, 0.8160, 0.8170, 0.8170, 0.8150, 0.8070, 0.8010, 0.8000, 0.7810, 0.7800, 0.7780, 0.7770, 0.7770, 0.7770, 0.7780, 0.7760, 0.7760, 0.7740, 0.7720, 0.7730, 0.7730, 0.7720, 0.7720, 0.7660, 0.7650, 0.7650, 0.7660, 0.7650, 0.7650, 0.7610, 0.7510, 0.7440, 0.7380, 0.7310, 0.7270, 0.7230, 0.7170, 0.7080, 0.7060, 0.7050, 0.7040, 0.6980, 0.6910, 0.6850, 0.6830, 0.6760, 0.6700, 0.6630, 0.6600, 0.6590, 0.6590, 0.6570, 0.6590, 0.6590, 0.6590, 0.6570, 0.6580, 0.6570, 0.6560, 0.6420, 0.6090, 0.6080, 0.6070, 0.6060, 0.6040, 0.6060, 0.6070, 0.6070, 0.6070, 0.6060, 0.6020, 0.5850, 0.5760, 0.5640, 0.5490, 0.5430, 0.5410, 0.5380, 0.5280, 0.5280, 0.5290, 0.5280, 0.5150, 0.5140, 0.5070, 0.4940, 0.4900, 0.4910, 0.4890, 0.4910, 0.4920, 0.4920, 0.4920, 0.4920, 0.4940, 0.4940, 0.4930, 0.4920, 0.4920, 0.4910, 0.4900, 0.4900, 0.4890, 0.4890, 0.4900, 0.4890, 0.4890, 0.4900, 0.4890, 0.4890, 0.4890, 0.4880, 0.4900, 0.4970, 0.5040, 0.5100, 0.5150, 0.5220, 0.5280, 0.5320, 0.5350, 0.5400, 0.5450, 0.5490, 0.5490, 0.5520, 0.5520, 0.5530, 0.5530, 0.5530, 0.5540, 0.5550, 0.5550, 0.5570, 0.5570, 0.5580, 0.5580, 0.5580, 0.5590, 0.5580, 0.5590, 0.5580, 0.5580, 0.5590, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, }) |
| static constexpr std::array< float, 700 > | monkey_fill_radii ({ 0.01001, 0.01163, 0.01425, 0.01624, 0.01766, 0.01860, 0.01916, 0.01954, 0.01976, 0.01991, 0.02002, 0.02006, 0.02010, 0.02010, 0.02010, 0.02006, 0.02002, 0.02002, 0.01999, 0.01999, 0.01995, 0.01991, 0.01991, 0.01995, 0.02006, 0.02025, 0.02033, 0.02036, 0.02036, 0.02048, 0.02059, 0.02059, 0.02059, 0.02059, 0.02066, 0.02074, 0.02078, 0.02078, 0.02081, 0.02085, 0.02089, 0.02089, 0.02089, 0.02089, 0.02093, 0.02093, 0.02089, 0.02085, 0.02078, 0.02070, 0.02066, 0.02063, 0.02059, 0.02059, 0.02059, 0.02063, 0.02070, 0.02085, 0.02111, 0.02145, 0.02183, 0.02216, 0.02239, 0.02258, 0.02269, 0.02276, 0.02284, 0.02295, 0.02310, 0.02321, 0.02336, 0.02348, 0.02363, 0.02389, 0.02423, 0.02452, 0.02471, 0.02490, 0.02501, 0.02516, 0.02528, 0.02539, 0.02543, 0.02550, 0.02550, 0.02554, 0.02558, 0.02561, 0.02569, 0.02576, 0.02588, 0.02599, 0.02614, 0.02625, 0.02640, 0.02651, 0.02659, 0.02666, 0.02670, 0.02678, 0.02681, 0.02681, 0.02685, 0.02689, 0.02693, 0.02693, 0.02693, 0.02696, 0.02696, 0.02696, 0.02696, 0.02696, 0.02693, 0.02689, 0.02689, 0.02693, 0.02689, 0.02681, 0.02674, 0.02693, 0.02745, 0.02824, 0.02903, 0.02966, 0.03008, 0.03034, 0.03045, 0.03053, 0.03053, 0.03045, 0.03038, 0.03023, 0.03000, 0.02978, 0.02955, 0.02936, 0.02929, 0.02921, 0.02918, 0.02914, 0.02914, 0.02910, 0.02906, 0.02903, 0.02903, 0.02899, 0.02895, 0.02891, 0.02888, 0.02880, 0.02876, 0.02873, 0.02869, 0.02865, 0.02854, 0.02835, 0.02816, 0.02794, 0.02771, 0.02749, 0.02730, 0.02711, 0.02693, 0.02674, 0.02659, 0.02640, 0.02625, 0.02606, 0.02591, 0.02573, 0.02554, 0.02535, 0.02516, 0.02498, 0.02486, 0.02479, 0.02475, 0.02471, 0.02468, 0.02468, 0.02468, 0.02464, 0.02460, 0.02449, 0.02423, 0.02389, 0.02355, 0.02325, 0.02303, 0.02288, 0.02280, 0.02276, 0.02273, 0.02269, 0.02261, 0.02242, 0.02216, 0.02186, 0.02153, 0.02115, 0.02081, 0.02051, 0.02029, 0.02010, 0.01995, 0.01984, 0.01969, 0.01954, 0.01935, 0.01912, 0.01894, 0.01871, 0.01856, 0.01849, 0.01841, 0.01841, 0.01841, 0.01845, 0.01845, 0.01845, 0.01849, 0.01849, 0.01849, 0.01845, 0.01841, 0.01841, 0.01838, 0.01838, 0.01834, 0.01834, 0.01834, 0.01834, 0.01834, 0.01838, 0.01838, 0.01841, 0.01845, 0.01853, 0.01864, 0.01879, 0.01894, 0.01912, 0.01931, 0.01950, 0.01969, 0.01987, 0.02006, 0.02021, 0.02033, 0.02048, 0.02055, 0.02063, 0.02066, 0.02070, 0.02074, 0.02078, 0.02078, 0.02081, 0.02085, 0.02085, 0.02089, 0.02093, 0.02093, 0.02093, 0.02096, 0.02096, 0.02096, 0.02093, 0.02093, 0.02081, 0.00300, 0.00660, 0.01384, 0.01806, 0.02094, 0.02307, 0.02471, 0.02598, 0.02701, 0.02782, 0.02845, 0.02896, 0.02934, 0.02963, 0.02983, 0.02995, 0.02999, 0.02997, 0.02989, 0.02974, 0.02950, 0.02917, 0.02873, 0.02815, 0.02743, 0.02652, 0.02538, 0.02394, 0.02208, 0.01962, 0.01619, 0.01080, 0.00300, 0.00300, 0.00660, 0.01806, 0.02307, 0.02598, 0.02782, 0.02896, 0.02963, 0.02995, 0.02997, 0.02974, 0.02917, 0.02815, 0.02652, 0.02394, 0.01962, 0.01080, 0.00300, 0.00300, 0.00660, 0.01080, 0.01384, 0.01619, 0.01806, 0.01962, 0.02094, 0.02208, 0.02307, 0.02394, 0.02471, 0.02538, 0.02598, 0.02652, 0.02701, 0.02743, 0.02782, 0.02815, 0.02845, 0.02873, 0.02896, 0.02917, 0.02934, 0.02950, 0.02963, 0.02974, 0.02983, 0.02989, 0.02995, 0.02997, 0.02999, 0.02999, 0.02997, 0.02995, 0.02989, 0.02983, 0.02974, 0.02963, 0.02950, 0.02934, 0.02917, 0.02896, 0.02873, 0.02845, 0.02815, 0.02782, 0.02743, 0.02701, 0.02652, 0.02598, 0.02538, 0.02471, 0.02394, 0.02307, 0.02208, 0.02094, 0.01962, 0.01806, 0.01619, 0.01384, 0.01080, 0.00660, 0.00300, 0.00300, 0.00660, 0.01384, 0.01806, 0.02094, 0.02307, 0.02471, 0.02598, 0.02701, 0.02782, 0.02845, 0.02896, 0.02934, 0.02963, 0.02983, 0.02995, 0.02999, 0.02997, 0.02989, 0.02974, 0.02950, 0.02917, 0.02873, 0.02815, 0.02743, 0.02652, 0.02538, 0.02394, 0.02208, 0.01962, 0.01619, 0.01080, 0.00300, 0.00300, 0.00660, 0.01080, 0.01384, 0.01619, 0.01806, 0.01962, 0.02094, 0.02208, 0.02307, 0.02394, 0.02471, 0.02538, 0.02598, 0.02652, 0.02701, 0.02743, 0.02782, 0.02815, 0.02845, 0.02873, 0.02896, 0.02917, 0.02934, 0.02950, 0.02963, 0.02974, 0.02983, 0.02989, 0.02995, 0.02997, 0.02999, 0.02999, 0.02997, 0.02995, 0.02989, 0.02983, 0.02974, 0.02963, 0.02950, 0.02934, 0.02917, 0.02896, 0.02873, 0.02845, 0.02815, 0.02782, 0.02743, 0.02701, 0.02652, 0.02598, 0.02538, 0.02471, 0.02394, 0.02307, 0.02208, 0.02094, 0.01962, 0.01806, 0.01619, 0.01384, 0.01080, 0.00660, 0.00300, 0.00300, 0.00660, 0.01384, 0.01806, 0.02094, 0.02307, 0.02471, 0.02598, 0.02701, 0.02782, 0.02845, 0.02896, 0.02934, 0.02963, 0.02983, 0.02995, 0.02999, 0.02997, 0.02989, 0.02974, 0.02950, 0.02917, 0.02873, 0.02815, 0.02743, 0.02652, 0.02538, 0.02394, 0.02208, 0.01962, 0.01619, 0.01080, 0.00300, 0.00200, 0.00440, 0.01204, 0.01538, 0.01732, 0.01854, 0.01931, 0.01975, 0.01997, 0.01998, 0.01982, 0.01945, 0.01877, 0.01768, 0.01596, 0.01308, 0.00720, 0.00200, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.00300, 0.00660, 0.01384, 0.01806, 0.02094, 0.02307, 0.02471, 0.02598, 0.02701, 0.02782, 0.02845, 0.02896, 0.02934, 0.02963, 0.02983, 0.02995, 0.02999, 0.02997, 0.02989, 0.02974, 0.02950, 0.02917, 0.02873, 0.02815, 0.02743, 0.02652, 0.02538, 0.02394, 0.02208, 0.01962, 0.01619, 0.01080, 0.00300, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.00200, 0.00440, 0.01204, 0.01538, 0.01732, 0.01854, 0.01931, 0.01975, 0.01997, 0.01998, 0.01982, 0.01945, 0.01877, 0.01768, 0.01596, 0.01308, 0.00720, 0.00200, 0.00200, 0.00440, 0.01204, 0.01538, 0.01732, 0.01854, 0.01931, 0.01975, 0.01997, 0.01998, 0.01982, 0.01945, 0.01877, 0.01768, 0.01596, 0.01308, 0.00720, 0.00200, }) |
| static constexpr std::array< int, 14 > | monkey_fill_offsets ({ 0, 270, 303, 321, 385, 418, 482, 515, 533, 582, 615, 664, 682, 700, }) |
| static std::array< float3, 516 > | monkey_line_positions ({ float3(-0.6794, 0.0000, 0.3908), float3(-0.6711, 0.0000, 0.4112), float3(-0.6513, 0.0000, 0.4509), float3(-0.6276, 0.0000, 0.4890), float3(-0.6001, 0.0000, 0.5253), float3(-0.5692, 0.0000, 0.5598), float3(-0.5350, 0.0000, 0.5924), float3(-0.4979, 0.0000, 0.6228), float3(-0.4579, 0.0000, 0.6510), float3(-0.4155, 0.0000, 0.6770), float3(-0.3707, 0.0000, 0.7005), float3(-0.3239, 0.0000, 0.7215), float3(-0.2753, 0.0000, 0.7399), float3(-0.2251, 0.0000, 0.7555), float3(-0.1736, 0.0000, 0.7683), float3(-0.1210, 0.0000, 0.7780), float3(-0.0675, 0.0000, 0.7847), float3(-0.0134, 0.0000, 0.7882), float3(0.0411, 0.0000, 0.7884), float3(0.0957, 0.0000, 0.7851), float3(0.1503, 0.0000, 0.7783), float3(0.2045, 0.0000, 0.7678), float3(0.2581, 0.0000, 0.7536), float3(0.3110, 0.0000, 0.7355), float3(0.3628, 0.0000, 0.7134), float3(0.4133, 0.0000, 0.6873), float3(0.4622, 0.0000, 0.6569), float3(0.5095, 0.0000, 0.6221), float3(0.5547, 0.0000, 0.5830), float3(0.5977, 0.0000, 0.5393), float3(0.6382, 0.0000, 0.4909), float3(0.6760, 0.0000, 0.4377), float3(0.7109, 0.0000, 0.3797), float3(-0.7544, 0.0000, 0.1799), float3(-0.7495, 0.0000, 0.1620), float3(-0.7392, 0.0000, 0.1283), float3(-0.7281, 0.0000, 0.0975), float3(-0.7161, 0.0000, 0.0693), float3(-0.7033, 0.0000, 0.0435), float3(-0.6898, 0.0000, 0.0200), float3(-0.6757, 0.0000, -0.0014), float3(-0.6609, 0.0000, -0.0208), float3(-0.6455, 0.0000, -0.0386), float3(-0.6297, 0.0000, -0.0547), float3(-0.6133, 0.0000, -0.0695), float3(-0.5966, 0.0000, -0.0830), float3(-0.5795, 0.0000, -0.0955), float3(-0.5621, 0.0000, -0.1071), float3(-0.5444, 0.0000, -0.1180), float3(-0.5265, 0.0000, -0.1284), float3(-0.5084, 0.0000, -0.1384), float3(-0.4902, 0.0000, -0.1483), float3(-0.4719, 0.0000, -0.1582), float3(-0.4537, 0.0000, -0.1682), float3(-0.4355, 0.0000, -0.1787), float3(-0.4173, 0.0000, -0.1896), float3(-0.3993, 0.0000, -0.2013), float3(-0.3815, 0.0000, -0.2138), float3(-0.3640, 0.0000, -0.2274), float3(-0.3467, 0.0000, -0.2422), float3(-0.3298, 0.0000, -0.2584), float3(-0.3133, 0.0000, -0.2762), float3(-0.2972, 0.0000, -0.2958), float3(-0.2816, 0.0000, -0.3173), float3(-0.2665, 0.0000, -0.3409), float3(-0.2521, 0.0000, -0.3668), float3(-0.2854, 0.0000, -0.4528), float3(-0.2866, 0.0000, -0.4623), float3(-0.2899, 0.0000, -0.4814), float3(-0.2943, 0.0000, -0.5008), float3(-0.2995, 0.0000, -0.5203), float3(-0.3054, 0.0000, -0.5400), float3(-0.3117, 0.0000, -0.5598), float3(-0.3182, 0.0000, -0.5797), float3(-0.3249, 0.0000, -0.5996), float3(-0.3314, 0.0000, -0.6196), float3(-0.3376, 0.0000, -0.6395), float3(-0.3432, 0.0000, -0.6594), float3(-0.3482, 0.0000, -0.6792), float3(-0.3523, 0.0000, -0.6989), float3(-0.3552, 0.0000, -0.7185), float3(-0.3569, 0.0000, -0.7379), float3(-0.3570, 0.0000, -0.7571), float3(-0.3555, 0.0000, -0.7761), float3(-0.3522, 0.0000, -0.7948), float3(-0.3467, 0.0000, -0.8132), float3(-0.3390, 0.0000, -0.8313), float3(-0.3289, 0.0000, -0.8490), float3(-0.3160, 0.0000, -0.8663), float3(-0.3004, 0.0000, -0.8831), float3(-0.2817, 0.0000, -0.8996), float3(-0.2598, 0.0000, -0.9155), float3(-0.2344, 0.0000, -0.9309), float3(-0.2051, 0.0000, -0.9457), float3(-0.1716, 0.0000, -0.9599), float3(-0.1341, 0.0000, -0.9733), float3(-0.0928, 0.0000, -0.9857), float3(-0.0500, 0.0000, -0.9962), float3(-0.0087, 0.0000, -1.0041), float3(0.0287, 0.0000, -1.0087), float3(0.0620, 0.0000, -1.0104), float3(0.0924, 0.0000, -1.0102), float3(0.1205, 0.0000, -1.0086), float3(0.1465, 0.0000, -1.0057), float3(0.1706, 0.0000, -1.0017), float3(0.1928, 0.0000, -0.9964), float3(0.2132, 0.0000, -0.9900), float3(0.2318, 0.0000, -0.9824), float3(0.2487, 0.0000, -0.9738), float3(0.2641, 0.0000, -0.9641), float3(0.2778, 0.0000, -0.9533), float3(0.2901, 0.0000, -0.9415), float3(0.3009, 0.0000, -0.9287), float3(0.3103, 0.0000, -0.9148), float3(0.3183, 0.0000, -0.8999), float3(0.3250, 0.0000, -0.8841), float3(0.3304, 0.0000, -0.8672), float3(0.3345, 0.0000, -0.8493), float3(0.3374, 0.0000, -0.8305), float3(0.3391, 0.0000, -0.8107), float3(0.3397, 0.0000, -0.7899), float3(0.3392, 0.0000, -0.7682), float3(0.3377, 0.0000, -0.7456), float3(0.3352, 0.0000, -0.7221), float3(0.3317, 0.0000, -0.6976), float3(0.3273, 0.0000, -0.6722), float3(0.3220, 0.0000, -0.6460), float3(0.3160, 0.0000, -0.6188), float3(0.3091, 0.0000, -0.5908), float3(0.3015, 0.0000, -0.5619), float3(0.2974, 0.0000, -0.5472), float3(-0.4408, 0.0000, 0.5073), float3(-0.4312, 0.0000, 0.5132), float3(-0.3945, 0.0000, 0.5319), float3(-0.3605, 0.0000, 0.5438), float3(-0.3288, 0.0000, 0.5496), float3(-0.2992, 0.0000, 0.5501), float3(-0.2712, 0.0000, 0.5460), float3(-0.2446, 0.0000, 0.5381), float3(-0.2191, 0.0000, 0.5272), float3(-0.1943, 0.0000, 0.5139), float3(-0.1699, 0.0000, 0.4992), float3(-0.1456, 0.0000, 0.4837), float3(-0.1211, 0.0000, 0.4682), float3(-0.0960, 0.0000, 0.4535), float3(-0.0700, 0.0000, 0.4404), float3(-0.0428, 0.0000, 0.4301), float3(-0.0160, 0.0000, 0.4235), float3(0.0076, 0.0000, 0.4216), float3(0.0283, 0.0000, 0.4237), float3(0.0477, 0.0000, 0.4291), float3(0.0670, 0.0000, 0.4369), float3(0.0866, 0.0000, 0.4465), float3(0.1068, 0.0000, 0.4576), float3(0.1278, 0.0000, 0.4695), float3(0.1498, 0.0000, 0.4819), float3(0.1730, 0.0000, 0.4941), float3(0.1977, 0.0000, 0.5056), float3(0.2241, 0.0000, 0.5159), float3(0.2523, 0.0000, 0.5244), float3(0.2825, 0.0000, 0.5307), float3(0.3150, 0.0000, 0.5342), float3(0.3499, 0.0000, 0.5345), float3(0.3875, 0.0000, 0.5311), float3(0.3973, 0.0000, 0.5295), float3(0.7240, 0.0000, 0.1799), float3(0.7192, 0.0000, 0.1620), float3(0.7089, 0.0000, 0.1283), float3(0.6977, 0.0000, 0.0975), float3(0.6858, 0.0000, 0.0693), float3(0.6730, 0.0000, 0.0435), float3(0.6595, 0.0000, 0.0200), float3(0.6453, 0.0000, -0.0014), float3(0.6306, 0.0000, -0.0208), float3(0.6152, 0.0000, -0.0386), float3(0.5994, 0.0000, -0.0547), float3(0.5830, 0.0000, -0.0695), float3(0.5663, 0.0000, -0.0830), float3(0.5492, 0.0000, -0.0955), float3(0.5317, 0.0000, -0.1071), float3(0.5140, 0.0000, -0.1180), float3(0.4961, 0.0000, -0.1284), float3(0.4781, 0.0000, -0.1384), float3(0.4599, 0.0000, -0.1483), float3(0.4416, 0.0000, -0.1582), float3(0.4234, 0.0000, -0.1682), float3(0.4051, 0.0000, -0.1787), float3(0.3870, 0.0000, -0.1896), float3(0.3690, 0.0000, -0.2013), float3(0.3512, 0.0000, -0.2138), float3(0.3337, 0.0000, -0.2274), float3(0.3164, 0.0000, -0.2422), float3(0.2995, 0.0000, -0.2584), float3(0.2829, 0.0000, -0.2762), float3(0.2669, 0.0000, -0.2958), float3(0.2513, 0.0000, -0.3173), float3(0.2362, 0.0000, -0.3409), float3(0.2218, 0.0000, -0.3668), float3(-0.1119, 0.0000, -0.7868), float3(-0.1087, 0.0000, -0.7905), float3(-0.1022, 0.0000, -0.7974), float3(-0.0955, 0.0000, -0.8038), float3(-0.0886, 0.0000, -0.8097), float3(-0.0816, 0.0000, -0.8152), float3(-0.0744, 0.0000, -0.8201), float3(-0.0671, 0.0000, -0.8246), float3(-0.0597, 0.0000, -0.8286), float3(-0.0522, 0.0000, -0.8321), float3(-0.0446, 0.0000, -0.8351), float3(-0.0369, 0.0000, -0.8376), float3(-0.0292, 0.0000, -0.8397), float3(-0.0214, 0.0000, -0.8413), float3(-0.0136, 0.0000, -0.8424), float3(-0.0057, 0.0000, -0.8430), float3(0.0022, 0.0000, -0.8431), float3(0.0100, 0.0000, -0.8428), float3(0.0178, 0.0000, -0.8419), float3(0.0257, 0.0000, -0.8407), float3(0.0334, 0.0000, -0.8389), float3(0.0411, 0.0000, -0.8366), float3(0.0488, 0.0000, -0.8339), float3(0.0564, 0.0000, -0.8308), float3(0.0638, 0.0000, -0.8271), float3(0.0712, 0.0000, -0.8230), float3(0.0785, 0.0000, -0.8184), float3(0.0856, 0.0000, -0.8134), float3(0.0925, 0.0000, -0.8079), float3(0.0994, 0.0000, -0.8019), float3(0.1060, 0.0000, -0.7954), float3(0.1125, 0.0000, -0.7885), float3(0.1187, 0.0000, -0.7812), float3(-0.1119, 0.0000, -0.2655), float3(-0.1101, 0.0000, -0.2605), float3(-0.1032, 0.0000, -0.2424), float3(-0.0965, 0.0000, -0.2276), float3(-0.0901, 0.0000, -0.2158), float3(-0.0837, 0.0000, -0.2069), float3(-0.0775, 0.0000, -0.2006), float3(-0.0712, 0.0000, -0.1967), float3(-0.0650, 0.0000, -0.1949), float3(-0.0587, 0.0000, -0.1950), float3(-0.0522, 0.0000, -0.1968), float3(-0.0455, 0.0000, -0.2001), float3(-0.0386, 0.0000, -0.2046), float3(-0.0315, 0.0000, -0.2100), float3(-0.0239, 0.0000, -0.2163), float3(-0.0160, 0.0000, -0.2230), float3(-0.0075, 0.0000, -0.2301), float3(-0.0002, 0.0000, -0.2342), float3(0.0054, 0.0000, -0.2340), float3(0.0106, 0.0000, -0.2324), float3(0.0155, 0.0000, -0.2297), float3(0.0202, 0.0000, -0.2261), float3(0.0249, 0.0000, -0.2219), float3(0.0296, 0.0000, -0.2174), float3(0.0344, 0.0000, -0.2128), float3(0.0394, 0.0000, -0.2084), float3(0.0448, 0.0000, -0.2044), float3(0.0506, 0.0000, -0.2012), float3(0.0570, 0.0000, -0.1988), float3(0.0640, 0.0000, -0.1977), float3(0.0717, 0.0000, -0.1980), float3(0.0804, 0.0000, -0.2001), float3(0.0899, 0.0000, -0.2042), float3(0.0925, 0.0000, -0.2055), float3(0.7993, 0.0000, 0.3242), float3(0.8169, 0.0000, 0.3354), float3(0.8512, 0.0000, 0.3542), float3(0.8840, 0.0000, 0.3686), float3(0.9153, 0.0000, 0.3787), float3(0.9450, 0.0000, 0.3848), float3(0.9729, 0.0000, 0.3871), float3(0.9989, 0.0000, 0.3857), float3(1.0229, 0.0000, 0.3811), float3(1.0447, 0.0000, 0.3732), float3(1.0643, 0.0000, 0.3624), float3(1.0814, 0.0000, 0.3490), float3(1.0960, 0.0000, 0.3330), float3(1.1080, 0.0000, 0.3147), float3(1.1172, 0.0000, 0.2944), float3(1.1235, 0.0000, 0.2723), float3(1.1267, 0.0000, 0.2485), float3(1.1269, 0.0000, 0.2233), float3(1.1237, 0.0000, 0.1970), float3(1.1172, 0.0000, 0.1697), float3(1.1071, 0.0000, 0.1417), float3(1.0934, 0.0000, 0.1131), float3(1.0759, 0.0000, 0.0842), float3(1.0545, 0.0000, 0.0553), float3(1.0291, 0.0000, 0.0265), float3(0.9995, 0.0000, -0.0019), float3(0.9657, 0.0000, -0.0298), float3(0.9275, 0.0000, -0.0569), float3(0.8847, 0.0000, -0.0829), float3(0.8373, 0.0000, -0.1077), float3(0.7852, 0.0000, -0.1311), float3(0.7281, 0.0000, -0.1528), float3(0.6661, 0.0000, -0.1725), float3(-0.7428, 0.0000, 0.2977), float3(-0.7608, 0.0000, 0.3138), float3(-0.7786, 0.0000, 0.3284), float3(-0.7962, 0.0000, 0.3414), float3(-0.8135, 0.0000, 0.3531), float3(-0.8306, 0.0000, 0.3633), float3(-0.8473, 0.0000, 0.3722), float3(-0.8637, 0.0000, 0.3798), float3(-0.8798, 0.0000, 0.3860), float3(-0.8956, 0.0000, 0.3911), float3(-0.9109, 0.0000, 0.3949), float3(-0.9259, 0.0000, 0.3975), float3(-0.9405, 0.0000, 0.3989), float3(-0.9546, 0.0000, 0.3993), float3(-0.9682, 0.0000, 0.3986), float3(-0.9814, 0.0000, 0.3969), float3(-0.9940, 0.0000, 0.3941), float3(-1.0062, 0.0000, 0.3904), float3(-1.0178, 0.0000, 0.3858), float3(-1.0288, 0.0000, 0.3803), float3(-1.0393, 0.0000, 0.3739), float3(-1.0492, 0.0000, 0.3668), float3(-1.0584, 0.0000, 0.3588), float3(-1.0670, 0.0000, 0.3501), float3(-1.0750, 0.0000, 0.3407), float3(-1.0822, 0.0000, 0.3307), float3(-1.0888, 0.0000, 0.3200), float3(-1.0946, 0.0000, 0.3087), float3(-1.0997, 0.0000, 0.2969), float3(-1.1040, 0.0000, 0.2845), float3(-1.1075, 0.0000, 0.2717), float3(-1.1103, 0.0000, 0.2584), float3(-1.1122, 0.0000, 0.2447), float3(-1.1132, 0.0000, 0.2306), float3(-1.1134, 0.0000, 0.2162), float3(-1.1128, 0.0000, 0.2015), float3(-1.1112, 0.0000, 0.1865), float3(-1.1086, 0.0000, 0.1713), float3(-1.1052, 0.0000, 0.1559), float3(-1.1007, 0.0000, 0.1404), float3(-1.0953, 0.0000, 0.1247), float3(-1.0889, 0.0000, 0.1090), float3(-1.0814, 0.0000, 0.0932), float3(-1.0729, 0.0000, 0.0774), float3(-1.0633, 0.0000, 0.0617), float3(-1.0527, 0.0000, 0.0460), float3(-1.0409, 0.0000, 0.0304), float3(-1.0280, 0.0000, 0.0150), float3(-1.0139, 0.0000, -0.0003), float3(-0.9987, 0.0000, -0.0154), float3(-0.9823, 0.0000, -0.0302), float3(-0.9646, 0.0000, -0.0447), float3(-0.9458, 0.0000, -0.0589), float3(-0.9257, 0.0000, -0.0727), float3(-0.9043, 0.0000, -0.0862), float3(-0.8816, 0.0000, -0.0992), float3(-0.8576, 0.0000, -0.1117), float3(-0.8323, 0.0000, -0.1237), float3(-0.8056, 0.0000, -0.1352), float3(-0.7775, 0.0000, -0.1461), float3(-0.7481, 0.0000, -0.1564), float3(-0.7172, 0.0000, -0.1660), float3(-0.6849, 0.0000, -0.1750), float3(-0.6512, 0.0000, -0.1832), float3(0.2721, 0.0000, 0.2084), float3(0.2721, 0.0000, 0.2112), float3(0.2739, 0.0000, 0.2223), float3(0.2778, 0.0000, 0.2324), float3(0.2836, 0.0000, 0.2409), float3(0.2910, 0.0000, 0.2471), float3(0.2994, 0.0000, 0.2507), float3(0.3082, 0.0000, 0.2515), float3(0.3169, 0.0000, 0.2493), float3(0.3248, 0.0000, 0.2443), float3(0.3315, 0.0000, 0.2369), float3(0.3364, 0.0000, 0.2275), float3(0.3392, 0.0000, 0.2168), float3(0.3398, 0.0000, 0.2056), float3(0.3381, 0.0000, 0.1945), float3(0.3342, 0.0000, 0.1844), float3(0.3283, 0.0000, 0.1760), float3(0.3210, 0.0000, 0.1697), float3(0.3126, 0.0000, 0.1661), float3(0.3038, 0.0000, 0.1653), float3(0.2951, 0.0000, 0.1675), float3(0.2871, 0.0000, 0.1725), float3(0.2805, 0.0000, 0.1799), float3(0.2756, 0.0000, 0.1893), float3(0.2727, 0.0000, 0.2000), float3(0.2721, 0.0000, 0.2056), float3(-0.3545, 0.0000, 0.2084), float3(-0.3544, 0.0000, 0.2112), float3(-0.3527, 0.0000, 0.2223), float3(-0.3488, 0.0000, 0.2324), float3(-0.3430, 0.0000, 0.2409), float3(-0.3356, 0.0000, 0.2471), float3(-0.3272, 0.0000, 0.2507), float3(-0.3184, 0.0000, 0.2515), float3(-0.3097, 0.0000, 0.2493), float3(-0.3018, 0.0000, 0.2443), float3(-0.2951, 0.0000, 0.2369), float3(-0.2902, 0.0000, 0.2275), float3(-0.2874, 0.0000, 0.2168), float3(-0.2868, 0.0000, 0.2056), float3(-0.2885, 0.0000, 0.1945), float3(-0.2924, 0.0000, 0.1844), float3(-0.2983, 0.0000, 0.1760), float3(-0.3056, 0.0000, 0.1697), float3(-0.3140, 0.0000, 0.1661), float3(-0.3228, 0.0000, 0.1653), float3(-0.3315, 0.0000, 0.1675), float3(-0.3394, 0.0000, 0.1725), float3(-0.3461, 0.0000, 0.1799), float3(-0.3510, 0.0000, 0.1893), float3(-0.3539, 0.0000, 0.2000), float3(-0.3544, 0.0000, 0.2056), float3(0.1904, 0.0000, 0.0983), float3(0.1997, 0.0000, 0.0774), float3(0.2234, 0.0000, 0.0407), float3(0.2477, 0.0000, 0.0158), float3(0.2767, 0.0000, -0.0047), float3(0.3061, 0.0000, -0.0179), float3(0.3346, 0.0000, -0.0247), float3(0.3620, 0.0000, -0.0262), float3(0.3881, 0.0000, -0.0231), float3(0.4128, 0.0000, -0.0159), float3(0.4360, 0.0000, -0.0049), float3(0.4577, 0.0000, 0.0099), float3(0.4778, 0.0000, 0.0289), float3(0.4959, 0.0000, 0.0524), float3(0.5114, 0.0000, 0.0806), float3(0.5229, 0.0000, 0.1134), float3(0.5291, 0.0000, 0.1498), float3(0.5289, 0.0000, 0.1884), float3(0.5219, 0.0000, 0.2267), float3(0.5087, 0.0000, 0.2616), float3(0.4907, 0.0000, 0.2916), float3(0.4697, 0.0000, 0.3159), float3(0.4465, 0.0000, 0.3349), float3(0.4220, 0.0000, 0.3489), float3(0.3964, 0.0000, 0.3582), float3(0.3705, 0.0000, 0.3628), float3(0.3436, 0.0000, 0.3630), float3(0.3166, 0.0000, 0.3586), float3(0.2897, 0.0000, 0.3491), float3(0.2635, 0.0000, 0.3344), float3(0.2382, 0.0000, 0.3137), float3(0.2162, 0.0000, 0.2882), float3(0.1949, 0.0000, 0.2516), float3(-1.0361, 0.0000, 0.1745), float3(-1.0319, 0.0000, 0.1770), float3(-1.0153, 0.0000, 0.1852), float3(-0.9990, 0.0000, 0.1907), float3(-0.9830, 0.0000, 0.1936), float3(-0.9673, 0.0000, 0.1941), float3(-0.9522, 0.0000, 0.1923), float3(-0.9376, 0.0000, 0.1885), float3(-0.9236, 0.0000, 0.1827), float3(-0.9103, 0.0000, 0.1752), float3(-0.8978, 0.0000, 0.1662), float3(-0.8862, 0.0000, 0.1558), float3(-0.8756, 0.0000, 0.1441), float3(-0.8660, 0.0000, 0.1314), float3(-0.8575, 0.0000, 0.1179), float3(-0.8501, 0.0000, 0.1036), float3(-0.8441, 0.0000, 0.0889), float3(-0.8416, 0.0000, 0.0813), float3(0.9747, 0.0000, 0.1745), float3(0.9706, 0.0000, 0.1770), float3(0.9540, 0.0000, 0.1852), float3(0.9377, 0.0000, 0.1907), float3(0.9216, 0.0000, 0.1936), float3(0.9060, 0.0000, 0.1941), float3(0.8908, 0.0000, 0.1923), float3(0.8762, 0.0000, 0.1885), float3(0.8622, 0.0000, 0.1827), float3(0.8490, 0.0000, 0.1752), float3(0.8365, 0.0000, 0.1662), float3(0.8249, 0.0000, 0.1558), float3(0.8143, 0.0000, 0.1441), float3(0.8046, 0.0000, 0.1314), float3(0.7961, 0.0000, 0.1179), float3(0.7888, 0.0000, 0.1036), float3(0.7828, 0.0000, 0.0889), float3(0.7802, 0.0000, 0.0813), float3(-0.1860, 0.0000, 0.0983), float3(-0.1954, 0.0000, 0.0774), float3(-0.2191, 0.0000, 0.0407), float3(-0.2434, 0.0000, 0.0158), float3(-0.2723, 0.0000, -0.0047), float3(-0.3017, 0.0000, -0.0179), float3(-0.3302, 0.0000, -0.0247), float3(-0.3576, 0.0000, -0.0262), float3(-0.3837, 0.0000, -0.0231), float3(-0.4085, 0.0000, -0.0159), float3(-0.4317, 0.0000, -0.0049), float3(-0.4533, 0.0000, 0.0099), float3(-0.4734, 0.0000, 0.0289), float3(-0.4916, 0.0000, 0.0524), float3(-0.5070, 0.0000, 0.0806), float3(-0.5185, 0.0000, 0.1134), float3(-0.5247, 0.0000, 0.1498), float3(-0.5246, 0.0000, 0.1884), float3(-0.5175, 0.0000, 0.2267), float3(-0.5043, 0.0000, 0.2616), float3(-0.4864, 0.0000, 0.2916), float3(-0.4653, 0.0000, 0.3159), float3(-0.4422, 0.0000, 0.3349), float3(-0.4177, 0.0000, 0.3489), float3(-0.3921, 0.0000, 0.3582), float3(-0.3661, 0.0000, 0.3628), float3(-0.3392, 0.0000, 0.3630), float3(-0.3123, 0.0000, 0.3586), float3(-0.2853, 0.0000, 0.3491), float3(-0.2591, 0.0000, 0.3344), float3(-0.2339, 0.0000, 0.3137), float3(-0.2118, 0.0000, 0.2882), float3(-0.1906, 0.0000, 0.2516), }) |
| static constexpr std::array< float, 516 > | monkey_line_opacities ({ 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, 1.0000, }) |
| static constexpr std::array< float, 516 > | monkey_line_radii ({ 0.00300, 0.00660, 0.01384, 0.01806, 0.02094, 0.02307, 0.02471, 0.02598, 0.02701, 0.02782, 0.02845, 0.02896, 0.02934, 0.02963, 0.02983, 0.02995, 0.02999, 0.02997, 0.02989, 0.02974, 0.02950, 0.02917, 0.02873, 0.02815, 0.02743, 0.02652, 0.02538, 0.02394, 0.02208, 0.01962, 0.01619, 0.01080, 0.00300, 0.00300, 0.00660, 0.01384, 0.01806, 0.02094, 0.02307, 0.02471, 0.02598, 0.02701, 0.02782, 0.02845, 0.02896, 0.02934, 0.02963, 0.02983, 0.02995, 0.02999, 0.02997, 0.02989, 0.02974, 0.02950, 0.02917, 0.02873, 0.02815, 0.02743, 0.02652, 0.02538, 0.02394, 0.02208, 0.01962, 0.01619, 0.01080, 0.00300, 0.00300, 0.00386, 0.00889, 0.01244, 0.01508, 0.01717, 0.01887, 0.02030, 0.02153, 0.02259, 0.02351, 0.02433, 0.02505, 0.02569, 0.02627, 0.02677, 0.02722, 0.02763, 0.02799, 0.02832, 0.02859, 0.02885, 0.02906, 0.02926, 0.02942, 0.02957, 0.02968, 0.02979, 0.02986, 0.02992, 0.02996, 0.02998, 0.03000, 0.02998, 0.02996, 0.02992, 0.02986, 0.02979, 0.02968, 0.02957, 0.02942, 0.02926, 0.02906, 0.02885, 0.02859, 0.02832, 0.02799, 0.02763, 0.02722, 0.02677, 0.02627, 0.02569, 0.02505, 0.02433, 0.02351, 0.02259, 0.02153, 0.02030, 0.01887, 0.01717, 0.01508, 0.01244, 0.00889, 0.00386, 0.00300, 0.00300, 0.00386, 0.01244, 0.01717, 0.02030, 0.02259, 0.02433, 0.02569, 0.02677, 0.02763, 0.02832, 0.02885, 0.02926, 0.02957, 0.02979, 0.02992, 0.02998, 0.02998, 0.02992, 0.02979, 0.02957, 0.02926, 0.02885, 0.02832, 0.02763, 0.02677, 0.02569, 0.02433, 0.02259, 0.02030, 0.01717, 0.01244, 0.00386, 0.00300, 0.00300, 0.00660, 0.01384, 0.01806, 0.02094, 0.02307, 0.02471, 0.02598, 0.02701, 0.02782, 0.02845, 0.02896, 0.02934, 0.02963, 0.02983, 0.02995, 0.02999, 0.02997, 0.02989, 0.02974, 0.02950, 0.02917, 0.02873, 0.02815, 0.02743, 0.02652, 0.02538, 0.02394, 0.02208, 0.01962, 0.01619, 0.01080, 0.00300, 0.00200, 0.00440, 0.00923, 0.01204, 0.01396, 0.01538, 0.01647, 0.01732, 0.01801, 0.01854, 0.01897, 0.01931, 0.01956, 0.01975, 0.01988, 0.01997, 0.01999, 0.01998, 0.01993, 0.01982, 0.01967, 0.01945, 0.01915, 0.01877, 0.01829, 0.01768, 0.01692, 0.01596, 0.01472, 0.01308, 0.01079, 0.00720, 0.00200, 0.00200, 0.00258, 0.00829, 0.01145, 0.01354, 0.01506, 0.01622, 0.01713, 0.01784, 0.01842, 0.01888, 0.01923, 0.01951, 0.01972, 0.01986, 0.01995, 0.01999, 0.01999, 0.01995, 0.01986, 0.01972, 0.01951, 0.01923, 0.01888, 0.01842, 0.01784, 0.01713, 0.01622, 0.01506, 0.01354, 0.01145, 0.00829, 0.00258, 0.00200, 0.00300, 0.00660, 0.01384, 0.01806, 0.02094, 0.02307, 0.02471, 0.02598, 0.02701, 0.02782, 0.02845, 0.02896, 0.02934, 0.02963, 0.02983, 0.02995, 0.02999, 0.02997, 0.02989, 0.02974, 0.02950, 0.02917, 0.02873, 0.02815, 0.02743, 0.02652, 0.02538, 0.02394, 0.02208, 0.01962, 0.01619, 0.01080, 0.00300, 0.00300, 0.00660, 0.01080, 0.01384, 0.01619, 0.01806, 0.01962, 0.02094, 0.02208, 0.02307, 0.02394, 0.02471, 0.02538, 0.02598, 0.02652, 0.02701, 0.02743, 0.02782, 0.02815, 0.02845, 0.02873, 0.02896, 0.02917, 0.02934, 0.02950, 0.02963, 0.02974, 0.02983, 0.02989, 0.02995, 0.02997, 0.02999, 0.02999, 0.02997, 0.02995, 0.02989, 0.02983, 0.02974, 0.02963, 0.02950, 0.02934, 0.02917, 0.02896, 0.02873, 0.02845, 0.02815, 0.02782, 0.02743, 0.02701, 0.02652, 0.02598, 0.02538, 0.02471, 0.02394, 0.02307, 0.02208, 0.02094, 0.01962, 0.01806, 0.01619, 0.01384, 0.01080, 0.00660, 0.00300, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.03000, 0.00300, 0.00660, 0.01384, 0.01806, 0.02094, 0.02307, 0.02471, 0.02598, 0.02701, 0.02782, 0.02845, 0.02896, 0.02934, 0.02963, 0.02983, 0.02995, 0.02999, 0.02997, 0.02989, 0.02974, 0.02950, 0.02917, 0.02873, 0.02815, 0.02743, 0.02652, 0.02538, 0.02394, 0.02208, 0.01962, 0.01619, 0.01080, 0.00300, 0.00200, 0.00440, 0.01204, 0.01538, 0.01732, 0.01854, 0.01931, 0.01975, 0.01997, 0.01998, 0.01982, 0.01945, 0.01877, 0.01768, 0.01596, 0.01308, 0.00720, 0.00200, 0.00200, 0.00440, 0.01204, 0.01538, 0.01732, 0.01854, 0.01931, 0.01975, 0.01997, 0.01998, 0.01982, 0.01945, 0.01877, 0.01768, 0.01596, 0.01308, 0.00720, 0.00200, 0.00300, 0.00660, 0.01384, 0.01806, 0.02094, 0.02307, 0.02471, 0.02598, 0.02701, 0.02782, 0.02845, 0.02896, 0.02934, 0.02963, 0.02983, 0.02995, 0.02999, 0.02997, 0.02989, 0.02974, 0.02950, 0.02917, 0.02873, 0.02815, 0.02743, 0.02652, 0.02538, 0.02394, 0.02208, 0.01962, 0.01619, 0.01080, 0.00300, }) |
| static constexpr std::array< int, 16 > | monkey_line_offsets ({ 0, 33, 66, 131, 165, 198, 231, 265, 298, 362, 388, 414, 447, 465, 483, 516, }) |
| static int | add_material_from_template (Main &bmain, Object &ob, const ColorTemplate &pct) |
| static bke::CurvesGeometry | create_drawing_data (const Span< float3 > positions, const Span< float > radii, const Span< float > opacities, const Span< int > offsets, const Span< int > materials, const float4x4 &matrix) |
| void | create_blank (Main &bmain, Object &object, const int frame_number) |
| void | create_stroke (Main &bmain, Object &object, const float4x4 &matrix, const int frame_number) |
| void | create_suzanne (Main &bmain, Object &object, const float4x4 &matrix, const int frame_number) |
| static void | ensure_valid_frame_end (Main *, Scene *, PointerRNA *ptr) |
| static int | bake_grease_pencil_animation_invoke (bContext *C, wmOperator *op, const wmEvent *) |
| static Vector< Object * > | get_bake_targets (bContext &C, Depsgraph &depsgraph, Scene &scene) |
| static Set< int > | get_selected_object_keyframes (Span< Object * > bake_targets) |
| static int | bake_grease_pencil_animation_exec (bContext *C, wmOperator *op) |
| static bool | bake_grease_pencil_animation_poll (bContext *C) |
| static void | GREASE_PENCIL_OT_bake_grease_pencil_animation (wmOperatorType *ot) |
| void | clipboard_free () |
| const bke::CurvesGeometry & | clipboard_curves () |
| static Array< int > | clipboard_materials_remap (Main &bmain, Object &object) |
| IndexRange | clipboard_paste_strokes (Main &bmain, Object &object, bke::greasepencil::Drawing &drawing, const float4x4 &transform, const bool keep_world_transform, const bool paste_back) |
| static bke::greasepencil::Layer & | copy_layer (GreasePencil &grease_pencil_dst, bke::greasepencil::LayerGroup &group_dst, const bke::greasepencil::Layer &layer_src) |
| static bke::greasepencil::LayerGroup & | copy_layer_group_recursive (GreasePencil &grease_pencil_dst, bke::greasepencil::LayerGroup &parent_dst, const bke::greasepencil::LayerGroup &group_src, Map< StringRefNull, StringRefNull > &layer_name_map) |
| static void | copy_layer_group_content (GreasePencil &grease_pencil_dst, bke::greasepencil::LayerGroup &group_dst, const bke::greasepencil::LayerGroup &group_src, Map< StringRefNull, StringRefNull > &layer_name_map) |
| static Array< int > | add_materials_to_map (const GreasePencil &grease_pencil, VectorSet< Material * > &materials) |
| static void | remap_material_indices (bke::greasepencil::Drawing &drawing, const Span< int > material_index_map) |
| static Map< StringRefNull, StringRefNull > | add_vertex_groups (Object &object, GreasePencil &grease_pencil, const ListBase &vertex_group_names) |
| static void | remap_vertex_groups (bke::greasepencil::Drawing &drawing, const Map< StringRefNull, StringRefNull > &vertex_group_map) |
| static void | join_object_with_active (Main &bmain, Object &ob_src, Object &ob_dst, VectorSet< Material * > &materials) |
| void | set_selected_frames_type (bke::greasepencil::Layer &layer, const eBezTriple_KeyframeType key_type) |
| static float | get_snapped_frame_number (const float frame_number, Scene &scene, const eEditKeyframes_Snap mode) |
| bool | snap_selected_frames (GreasePencil &grease_pencil, bke::greasepencil::Layer &layer, Scene &scene, const eEditKeyframes_Snap mode) |
| static int | get_mirrored_frame_number (const int frame_number, const Scene &scene, const eEditKeyframes_Mirror mode, const TimeMarker *first_selected_marker) |
| bool | mirror_selected_frames (GreasePencil &grease_pencil, bke::greasepencil::Layer &layer, Scene &scene, const eEditKeyframes_Mirror mode) |
| bool | duplicate_selected_frames (GreasePencil &grease_pencil, bke::greasepencil::Layer &layer) |
| bool | remove_all_selected_frames (GreasePencil &grease_pencil, bke::greasepencil::Layer &layer) |
| static void | select_frame (GreasePencilFrame &frame, const short select_mode) |
| bool | select_frame_at (bke::greasepencil::Layer &layer, const int frame_number, const short select_mode) |
| void | select_frames_at (bke::greasepencil::LayerGroup &layer_group, const int frame_number, const short select_mode) |
| void | select_all_frames (bke::greasepencil::Layer &layer, const short select_mode) |
| bool | has_any_frame_selected (const bke::greasepencil::Layer &layer) |
| void | select_frames_region (KeyframeEditData *ked, bke::greasepencil::TreeNode &node, const short tool, const short select_mode) |
| void | select_frames_range (bke::greasepencil::TreeNode &node, const float min, const float max, const short select_mode) |
| static void | append_frame_to_key_edit_data (KeyframeEditData *ked, const int frame_number, const GreasePencilFrame &frame) |
| void | create_keyframe_edit_data_selected_frames_list (KeyframeEditData *ked, const bke::greasepencil::Layer &layer) |
| bool | ensure_active_keyframe (const Scene &scene, GreasePencil &grease_pencil, bke::greasepencil::Layer &layer, const bool duplicate_previous_key, bool &r_inserted_keyframe) |
| static int | insert_blank_frame_exec (bContext *C, wmOperator *op) |
| static bool | attributes_varrays_not_equal (const bke::GAttributeReader &attrs_a, const bke::GAttributeReader &attrs_b) |
| static bool | attributes_varrays_span_data_equal (const bke::GAttributeReader &attrs_a, const bke::GAttributeReader &attrs_b) |
| template<typename T > | |
| static bool | attributes_elements_are_equal (const VArray< T > &attributes_a, const VArray< T > &attributes_b) |
| static bool | curves_geometry_is_equal (const bke::CurvesGeometry &curves_a, const bke::CurvesGeometry &curves_b) |
| static int | frame_clean_duplicate_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_insert_blank_frame (wmOperatorType *ot) |
| static void | GREASE_PENCIL_OT_frame_clean_duplicate (wmOperatorType *ot) |
| bool | grease_pencil_copy_keyframes (bAnimContext *ac, KeyframeClipboard &clipboard) |
| static int | calculate_offset (const eKeyPasteOffset offset_mode, const int cfra, const KeyframeClipboard &clipboard) |
| bool | grease_pencil_paste_keyframes (bAnimContext *ac, const eKeyPasteOffset offset_mode, const eKeyMergeMode merge_mode, const KeyframeClipboard &clipboard) |
| static int | grease_pencil_frame_duplicate_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_frame_duplicate (wmOperatorType *ot) |
| static int | grease_pencil_active_frame_delete_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_active_frame_delete (wmOperatorType *ot) |
| int64_t | ramer_douglas_peucker_simplify (const IndexRange range, const float epsilon, const FunctionRef< float(int64_t, int64_t, int64_t)> dist_function, MutableSpan< bool > points_to_delete) |
| Array< float2 > | polyline_fit_curve (Span< float2 > points, const float error_threshold, const IndexMask &corner_mask) |
| IndexMask | polyline_detect_corners (Span< float2 > points, const float radius_min, const float radius_max, const int samples_max, const float angle_threshold, IndexMaskMemory &memory) |
| int | curve_merge_by_distance (const IndexRange points, const Span< float > distances, const IndexMask &selection, const float merge_distance, MutableSpan< int > r_merge_indices) |
| blender::bke::CurvesGeometry | curves_merge_by_distance (const bke::CurvesGeometry &src_curves, const float merge_distance, const IndexMask &selection, const bke::AttributeFilter &attribute_filter) |
| bke::CurvesGeometry | curves_merge_endpoints_by_distance (const ARegion ®ion, const bke::CurvesGeometry &src_curves, const float4x4 &layer_to_world, const float merge_distance, const IndexMask &selection, const bke::AttributeFilter &attribute_filter) |
| static void | generate_arc_from_point_to_point (const float3 &from, const float3 &to, const float3 ¢er_pt, const int corner_subdivisions, const int src_point_index, Vector< float3 > &r_perimeter, Vector< int > &r_src_indices) |
| static void | generate_cap (const float3 &point, const float3 &tangent, const float radius, const int corner_subdivisions, const eGPDstroke_Caps cap_type, const int src_point_index, Vector< float3 > &r_perimeter, Vector< int > &r_src_indices) |
| static void | generate_corner (const float3 &pt_a, const float3 &pt_b, const float3 &pt_c, const float radius, const int corner_subdivisions, const int src_point_index, Vector< float3 > &r_perimeter, Vector< int > &r_src_indices) |
| static void | generate_stroke_perimeter (const Span< float3 > all_positions, const Span< float > all_radii, const IndexRange points, const int corner_subdivisions, const bool is_cyclic, const bool use_caps, const eGPDstroke_Caps start_cap_type, const eGPDstroke_Caps end_cap_type, const float outline_offset, Vector< float3 > &r_perimeter, Vector< int > &r_point_counts, Vector< int > &r_point_indices) |
| bke::CurvesGeometry | create_curves_outline (const bke::greasepencil::Drawing &drawing, const IndexMask &strokes, const float4x4 &transform, const int corner_subdivisions, const float outline_radius, const float outline_offset, const int material_index) |
| Curves2DBVHTree | build_curves_2d_bvh_from_visible (const ViewContext &vc, const Object &object, const GreasePencil &grease_pencil, Span< MutableDrawingInfo > drawings, const int frame_number) |
| void | free_curves_2d_bvh_data (Curves2DBVHTree &data) |
| void | find_curve_intersections (const bke::CurvesGeometry &curves, const IndexMask &curve_mask, const Span< float2 > screen_space_positions, const Curves2DBVHTree &tree_data, const IndexRange tree_data_range, MutableSpan< bool > r_hits, std::optional< MutableSpan< float > > r_first_intersect_factors, std::optional< MutableSpan< float > > r_last_intersect_factors) |
| CurveSegmentsData | find_curve_segments (const bke::CurvesGeometry &curves, const IndexMask &curve_mask, const Span< float2 > screen_space_positions, const Curves2DBVHTree &tree_data, const IndexRange tree_data_range) |
| bool | grease_pencil_layer_parent_set (bke::greasepencil::Layer &layer, Object *parent, StringRefNull bone, const bool keep_transform) |
| void | grease_pencil_layer_parent_clear (bke::greasepencil::Layer &layer, const bool keep_transform) |
| void | select_layer_channel (GreasePencil &grease_pencil, bke::greasepencil::Layer *layer) |
| static int | grease_pencil_layer_add_exec (bContext *C, wmOperator *op) |
| static int | grease_pencil_layer_add_invoke (bContext *C, wmOperator *op, const wmEvent *event) |
| static void | GREASE_PENCIL_OT_layer_add (wmOperatorType *ot) |
| static int | grease_pencil_layer_remove_exec (bContext *C, wmOperator *) |
| static void | GREASE_PENCIL_OT_layer_remove (wmOperatorType *ot) |
| static int | grease_pencil_layer_reorder_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_layer_reorder (wmOperatorType *ot) |
| static bool | grease_pencil_layer_move_poll (bContext *C) |
| static int | grease_pencil_layer_move_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_layer_move (wmOperatorType *ot) |
| static int | grease_pencil_layer_active_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_layer_active (wmOperatorType *ot) |
| static int | grease_pencil_layer_group_add_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_layer_group_add (wmOperatorType *ot) |
| static int | grease_pencil_layer_group_remove_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_layer_group_remove (wmOperatorType *ot) |
| static int | grease_pencil_layer_hide_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_layer_hide (wmOperatorType *ot) |
| static int | grease_pencil_layer_reveal_exec (bContext *C, wmOperator *) |
| static void | GREASE_PENCIL_OT_layer_reveal (wmOperatorType *ot) |
| static int | grease_pencil_layer_isolate_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_layer_isolate (wmOperatorType *ot) |
| static int | grease_pencil_layer_lock_all_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_layer_lock_all (wmOperatorType *ot) |
| static int | grease_pencil_layer_duplicate_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_layer_duplicate (wmOperatorType *ot) |
| static int | grease_pencil_merge_layer_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_layer_merge (wmOperatorType *ot) |
| static int | grease_pencil_layer_mask_add_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_layer_mask_add (wmOperatorType *ot) |
| static int | grease_pencil_layer_mask_remove_exec (bContext *C, wmOperator *) |
| static void | GREASE_PENCIL_OT_layer_mask_remove (wmOperatorType *ot) |
| static int | grease_pencil_layer_mask_reorder_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_layer_mask_reorder (wmOperatorType *ot) |
| static int | grease_pencil_layer_group_color_tag_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_layer_group_color_tag (wmOperatorType *ot) |
| static void | duplicate_layer_and_frames (GreasePencil &dst_grease_pencil, const GreasePencil &src_grease_pencil, const blender::bke::greasepencil::Layer &src_layer, const DuplicateCopyMode copy_frame_mode, const int current_frame) |
| static int | grease_pencil_layer_duplicate_object_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_layer_duplicate_object (wmOperatorType *ot) |
| void | get_lineart_modifier_limits (const Object &ob, blender::ed::greasepencil::LineartLimitInfo &info) |
| void | set_lineart_modifier_limits (GreasePencilLineartModifierData &lmd, const blender::ed::greasepencil::LineartLimitInfo &info, const bool cache_is_ready) |
| GreasePencilLineartModifierData * | get_first_lineart_modifier (const Object &ob) |
| static void | copy_layer_groups_without_layers (GreasePencil &dst_grease_pencil, const LayerGroup &src_parent, LayerGroup &dst_parent) |
| static Vector< const LayerGroup * > | get_sorted_layer_parents (const Layer &layer) |
| static const LayerGroup & | find_lowest_common_ancestor (const GreasePencil &grease_pencil, const Span< int > src_layer_indices) |
| static bke::CurvesGeometry | join_curves (const GreasePencil &src_grease_pencil, const Span< const bke::CurvesGeometry * > all_src_curves, const Span< float4x4 > transforms_to_apply) |
| void | merge_layers (const GreasePencil &src_grease_pencil, const Span< Vector< int > > src_layer_indices_by_dst_layer, GreasePencil &dst_grease_pencil) |
| bool | grease_pencil_context_poll (bContext *C) |
| bool | active_grease_pencil_poll (bContext *C) |
| bool | active_grease_pencil_material_poll (bContext *C) |
| bool | editable_grease_pencil_poll (bContext *C) |
| bool | active_grease_pencil_layer_poll (bContext *C) |
| bool | editable_grease_pencil_point_selection_poll (bContext *C) |
| bool | grease_pencil_selection_poll (bContext *C) |
| bool | grease_pencil_painting_poll (bContext *C) |
| bool | grease_pencil_edit_poll (bContext *C) |
| bool | grease_pencil_sculpting_poll (bContext *C) |
| bool | grease_pencil_weight_painting_poll (bContext *C) |
| bool | grease_pencil_vertex_painting_poll (bContext *C) |
| static void | keymap_grease_pencil_selection (wmKeyConfig *keyconf) |
| static void | keymap_grease_pencil_edit_mode (wmKeyConfig *keyconf) |
| static void | keymap_grease_pencil_paint_mode (wmKeyConfig *keyconf) |
| static void | keymap_grease_pencil_sculpt_mode (wmKeyConfig *keyconf) |
| static void | keymap_grease_pencil_weight_paint_mode (wmKeyConfig *keyconf) |
| static void | keymap_grease_pencil_vertex_paint_mode (wmKeyConfig *keyconf) |
| static bool | keymap_grease_pencil_brush_stroke_poll (bContext *C) |
| static void | keymap_grease_pencil_brush_stroke (wmKeyConfig *keyconf) |
| static bool | keymap_grease_pencil_fill_tool_poll (bContext *C) |
| static void | keymap_grease_pencil_fill_tool (wmKeyConfig *keyconf) |
| static int | control_points_per_segment (const PrimitiveToolOperation &ptd) |
| static ControlPointType | get_control_point_type (const PrimitiveToolOperation &ptd, const int point) |
| static void | control_point_colors_and_sizes (const PrimitiveToolOperation &ptd, MutableSpan< ColorGeometry4f > colors, MutableSpan< float > sizes) |
| static void | draw_control_points (PrimitiveToolOperation &ptd) |
| static void | grease_pencil_primitive_draw (const bContext *, ARegion *, void *arg) |
| static void | grease_pencil_primitive_save (PrimitiveToolOperation &ptd) |
| static void | grease_pencil_primitive_load (PrimitiveToolOperation &ptd) |
| static void | primitive_calulate_curve_positions (PrimitiveToolOperation &ptd, Span< float2 > control_points, MutableSpan< float2 > new_positions) |
| static float2 | primitive_local_to_screen (const PrimitiveToolOperation &ptd, const float3 &point) |
| static void | primitive_calulate_curve_positions_2d (PrimitiveToolOperation &ptd, MutableSpan< float2 > new_positions) |
| static int | grease_pencil_primitive_curve_points_number (PrimitiveToolOperation &ptd) |
| static void | grease_pencil_primitive_update_curves (PrimitiveToolOperation &ptd) |
| static void | grease_pencil_primitive_init_curves (PrimitiveToolOperation &ptd) |
| static void | grease_pencil_primitive_undo_curves (PrimitiveToolOperation &ptd) |
| static void | grease_pencil_primitive_status_indicators (bContext *C, wmOperator *op, PrimitiveToolOperation &ptd) |
| static void | grease_pencil_primitive_update_view (bContext *C, PrimitiveToolOperation &ptd) |
| static int | grease_pencil_primitive_invoke (bContext *C, wmOperator *op, const wmEvent *event) |
| static void | grease_pencil_primitive_exit (bContext *C, wmOperator *op) |
| static float2 | snap_diagonals (float2 p) |
| static float2 | snap_diagonals_box (float2 p) |
| static float2 | snap_8_angles (float2 p) |
| static void | grease_pencil_primitive_extruding_update (PrimitiveToolOperation &ptd, const wmEvent *event) |
| static void | grease_pencil_primitive_drag_all_update (PrimitiveToolOperation &ptd, const wmEvent *event) |
| static void | grease_pencil_primitive_grab_update (PrimitiveToolOperation &ptd, const wmEvent *event) |
| static void | grease_pencil_primitive_drag_update (PrimitiveToolOperation &ptd, const wmEvent *event) |
| static float2 | primitive_center_of_mass (const PrimitiveToolOperation &ptd) |
| static void | grease_pencil_primitive_rotate_all_update (PrimitiveToolOperation &ptd, const wmEvent *event) |
| static void | grease_pencil_primitive_scale_all_update (PrimitiveToolOperation &ptd, const wmEvent *event) |
| static int | primitive_check_ui_hover (const PrimitiveToolOperation &ptd, const wmEvent *event) |
| static void | grease_pencil_primitive_cursor_update (bContext *C, PrimitiveToolOperation &ptd, const wmEvent *event) |
| static int | grease_pencil_primitive_event_modal_map (bContext *C, wmOperator *op, PrimitiveToolOperation &ptd, const wmEvent *event) |
| static int | grease_pencil_primitive_mouse_event (PrimitiveToolOperation &ptd, const wmEvent *event) |
| static void | grease_pencil_primitive_operator_update (PrimitiveToolOperation &ptd, const wmEvent *event) |
| static int | grease_pencil_primitive_modal (bContext *C, wmOperator *op, const wmEvent *event) |
| static void | grease_pencil_primitive_cancel (bContext *C, wmOperator *op) |
| static void | grease_pencil_primitive_common_props (wmOperatorType *ot, const int default_subdiv, const PrimitiveType default_type) |
| static void | GREASE_PENCIL_OT_primitive_line (wmOperatorType *ot) |
| static void | GREASE_PENCIL_OT_primitive_polyline (wmOperatorType *ot) |
| static void | GREASE_PENCIL_OT_primitive_arc (wmOperatorType *ot) |
| static void | GREASE_PENCIL_OT_primitive_curve (wmOperatorType *ot) |
| static void | GREASE_PENCIL_OT_primitive_box (wmOperatorType *ot) |
| static void | GREASE_PENCIL_OT_primitive_circle (wmOperatorType *ot) |
| static int | select_all_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_select_all (wmOperatorType *ot) |
| static int | select_more_exec (bContext *C, wmOperator *) |
| static void | GREASE_PENCIL_OT_select_more (wmOperatorType *ot) |
| static int | select_less_exec (bContext *C, wmOperator *) |
| static void | GREASE_PENCIL_OT_select_less (wmOperatorType *ot) |
| static int | select_linked_exec (bContext *C, wmOperator *) |
| static void | GREASE_PENCIL_OT_select_linked (wmOperatorType *ot) |
| static int | select_random_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_select_random (wmOperatorType *ot) |
| static int | select_alternate_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_select_alternate (wmOperatorType *ot) |
| template<typename T > | |
| void | insert_selected_values (const bke::CurvesGeometry &curves, const bke::AttrDomain domain, const StringRef attribute_id, blender::Set< T > &r_value_set) |
| template<typename T , typename DistanceFn > | |
| static void | select_similar_by_value (Scene *scene, Object *object, GreasePencil &grease_pencil, const bke::AttrDomain domain, const StringRef attribute_id, float threshold, DistanceFn distance_fn) |
| static void | select_similar_by_layer (Scene *scene, Object *object, GreasePencil &grease_pencil, bke::AttrDomain domain) |
| static int | select_similar_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_select_similar (wmOperatorType *ot) |
| static int | select_ends_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_select_ends (wmOperatorType *ot) |
| static int | select_set_mode_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_set_selection_mode (wmOperatorType *ot) |
| static int | grease_pencil_material_select_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_material_select (wmOperatorType *ot) |
| static bool | execute_trim_on_drawing (const int layer_index, const int frame_number, const Object &ob_eval, Object &obact, const ARegion ®ion, const float4x4 &projection, const Span< int2 > mcoords, const bool keep_caps, bke::greasepencil::Drawing &drawing) |
| static int | stroke_trim_execute (const bContext *C, const Span< int2 > mcoords) |
| static int | grease_pencil_stroke_trim (bContext *C, wmOperator *op) |
| static float | get_multi_frame_falloff (const int frame_number, const int center_frame, const int min_frame, const int max_frame, const CurveMapping *falloff_curve) |
| static std::pair< int, int > | get_minmax_selected_frame_numbers (const GreasePencil &grease_pencil, const int current_frame) |
| static std::optional< int > | get_frame_id (const bke::greasepencil::Layer &layer, const GreasePencilFrame &frame, const int frame_number, const int frame_index, const int current_frame, const int current_frame_index, const int last_frame, const int last_frame_index, const bool use_multi_frame_editing, const bool do_onion_skinning, const bool is_before_first, const GreasePencilOnionSkinningSettings onion_settings) |
| static Array< std::pair< int, int > > | get_visible_frames_for_layer (const GreasePencil &grease_pencil, const bke::greasepencil::Layer &layer, const int current_frame, const bool use_multi_frame_editing, const bool do_onion_skinning) |
| static Array< int > | get_editable_frames_for_layer (const GreasePencil &grease_pencil, const bke::greasepencil::Layer &layer, const int current_frame, const bool use_multi_frame_editing) |
| Vector< MutableDrawingInfo > | retrieve_editable_drawings (const Scene &scene, GreasePencil &grease_pencil) |
| Vector< MutableDrawingInfo > | retrieve_editable_drawings_with_falloff (const Scene &scene, GreasePencil &grease_pencil) |
| Array< Vector< MutableDrawingInfo > > | retrieve_editable_drawings_grouped_per_frame (const Scene &scene, GreasePencil &grease_pencil) |
| Vector< MutableDrawingInfo > | retrieve_editable_drawings_from_layer (const Scene &scene, GreasePencil &grease_pencil, const blender::bke::greasepencil::Layer &layer) |
| Vector< MutableDrawingInfo > | retrieve_editable_drawings_from_layer_with_falloff (const Scene &scene, GreasePencil &grease_pencil, const blender::bke::greasepencil::Layer &layer) |
| Vector< DrawingInfo > | retrieve_visible_drawings (const Scene &scene, const GreasePencil &grease_pencil, const bool do_onion_skinning) |
| static VectorSet< int > | get_editable_material_indices (Object &object) |
| static VectorSet< int > | get_hidden_material_indices (Object &object) |
| static VectorSet< int > | get_fill_material_indices (Object &object) |
| IndexMask | retrieve_editable_strokes (Object &object, const bke::greasepencil::Drawing &drawing, int layer_index, IndexMaskMemory &memory) |
| IndexMask | retrieve_editable_fill_strokes (Object &object, const bke::greasepencil::Drawing &drawing, int layer_index, IndexMaskMemory &memory) |
| IndexMask | retrieve_editable_strokes_by_material (Object &object, const bke::greasepencil::Drawing &drawing, const int mat_i, IndexMaskMemory &memory) |
| IndexMask | retrieve_editable_points (Object &object, const bke::greasepencil::Drawing &drawing, int layer_index, IndexMaskMemory &memory) |
| IndexMask | retrieve_editable_elements (Object &object, const MutableDrawingInfo &info, const bke::AttrDomain selection_domain, IndexMaskMemory &memory) |
| IndexMask | retrieve_visible_strokes (Object &object, const bke::greasepencil::Drawing &drawing, IndexMaskMemory &memory) |
| IndexMask | retrieve_visible_points (Object &object, const bke::greasepencil::Drawing &drawing, IndexMaskMemory &memory) |
| IndexMask | retrieve_visible_bezier_handle_points (Object &object, const bke::greasepencil::Drawing &drawing, const int layer_index, IndexMaskMemory &memory) |
| IndexMask | retrieve_visible_bezier_handle_elements (Object &object, const bke::greasepencil::Drawing &drawing, const int layer_index, const bke::AttrDomain selection_domain, IndexMaskMemory &memory) |
| IndexMask | retrieve_editable_and_selected_strokes (Object &object, const bke::greasepencil::Drawing &drawing, int layer_index, IndexMaskMemory &memory) |
| IndexMask | retrieve_editable_and_selected_fill_strokes (Object &object, const bke::greasepencil::Drawing &drawing, int layer_index, IndexMaskMemory &memory) |
| IndexMask | retrieve_editable_and_selected_points (Object &object, const bke::greasepencil::Drawing &drawing, int layer_index, IndexMaskMemory &memory) |
| IndexMask | retrieve_editable_and_selected_elements (Object &object, const bke::greasepencil::Drawing &drawing, int layer_index, const bke::AttrDomain selection_domain, IndexMaskMemory &memory) |
| Array< PointTransferData > | compute_topology_change (const bke::CurvesGeometry &src, bke::CurvesGeometry &dst, const Span< Vector< PointTransferData > > src_to_dst_points, const bool keep_caps) |
| static float | pixel_radius_to_world_space_radius (const RegionView3D *rv3d, const ARegion *region, const float3 center, const float4x4 to_world, const float pixel_radius) |
| static float | brush_radius_at_location (const RegionView3D *rv3d, const ARegion *region, const Brush *brush, const float3 location, const float4x4 to_world) |
| float | radius_from_input_sample (const RegionView3D *rv3d, const ARegion *region, const Brush *brush, const float pressure, const float3 location, const float4x4 to_world, const BrushGpencilSettings *settings) |
| float | opacity_from_input_sample (const float pressure, const Brush *brush, const BrushGpencilSettings *settings) |
| int | grease_pencil_draw_operator_invoke (bContext *C, wmOperator *op, const bool use_duplicate_previous_key) |
| float4x2 | calculate_texture_space (const Scene *scene, const ARegion *region, const float2 &mouse, const DrawingPlacement &placement) |
| GreasePencil * | from_context (bContext &C) |
| template<typename Fn > | |
| static bool | apply_color_operation_for_mode (const VertexColorMode mode, Object &object, MutableDrawingInfo &info, Fn &&fn) |
| static int | grease_pencil_vertex_paint_brightness_contrast_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_vertex_color_brightness_contrast (wmOperatorType *ot) |
| static int | grease_pencil_vertex_paint_hsv_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_vertex_color_hsv (wmOperatorType *ot) |
| static int | grease_pencil_vertex_paint_invert_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_vertex_color_invert (wmOperatorType *ot) |
| static int | grease_pencil_vertex_paint_levels_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_vertex_color_levels (wmOperatorType *ot) |
| static int | grease_pencil_vertex_paint_set_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_vertex_color_set (wmOperatorType *ot) |
| static int | grease_pencil_vertex_paint_reset_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_stroke_reset_vertex_color (wmOperatorType *ot) |
| Set< std::string > | get_bone_deformed_vertex_group_names (const Object &object) |
| static bool | normalize_vertex_weights_try (MDeformVert &dvert, const int vertex_groups_num, const Span< bool > vertex_group_is_bone_deformed, const FunctionRef< bool(int)> vertex_group_is_locked) |
| void | normalize_vertex_weights (MDeformVert &dvert, const int active_vertex_group, const Span< bool > vertex_group_is_locked, const Span< bool > vertex_group_is_bone_deformed) |
| static int | foreach_bone_in_armature_ex (Object &ob, const Bone *bone, const FunctionRef< bool(Object &, const Bone *)> bone_callback) |
| static int | foreach_bone_in_armature (Object &ob, const bArmature &armature, const FunctionRef< bool(Object &, const Bone *)> bone_callback) |
| bool | add_armature_vertex_groups (Object &object, const Object &ob_armature) |
| static bool | get_skinnable_bones_and_deform_group_names (const bArmature &armature, Object &object, Vector< const Bone * > &r_skinnable_bones, Vector< std::string > &r_deform_group_names) |
| static void | get_root_and_tips_of_bones (Span< const Bone * > bones, const float4x4 &transform, MutableSpan< float3 > roots, MutableSpan< float3 > tips) |
| static int | lookup_or_add_deform_group_index (CurvesGeometry &curves, const StringRef name) |
| void | add_armature_envelope_weights (Scene &scene, Object &object, const Object &ob_armature) |
| void | add_armature_automatic_weights (Scene &scene, Object &object, const Object &ob_armature) |
| static int | weight_sample_invoke (bContext *C, wmOperator *, const wmEvent *event) |
| static void | GREASE_PENCIL_OT_weight_sample (wmOperatorType *ot) |
| static int | toggle_weight_tool_direction (bContext *C, wmOperator *) |
| static bool | toggle_weight_tool_direction_poll (bContext *C) |
| static void | GREASE_PENCIL_OT_weight_toggle_direction (wmOperatorType *ot) |
| static int | grease_pencil_weight_invert_exec (bContext *C, wmOperator *op) |
| static bool | grease_pencil_vertex_group_weight_poll (bContext *C) |
| static void | GREASE_PENCIL_OT_weight_invert (wmOperatorType *ot) |
| static int | vertex_group_smooth_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_vertex_group_smooth (wmOperatorType *ot) |
| static int | vertex_group_normalize_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_vertex_group_normalize (wmOperatorType *ot) |
| static int | vertex_group_normalize_all_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_vertex_group_normalize_all (wmOperatorType *ot) |
| bke::CurvesGeometry | fill_strokes (const ViewContext &view_context, const Brush &brush, const Scene &scene, const bke::greasepencil::Layer &layer, const VArray< bool > &boundary_layers, Span< DrawingInfo > src_drawings, bool invert, const std::optional< float > alpha_threshold, const float2 &fill_point, const ExtensionData &extensions, FillToolFitMethod fit_method, int stroke_material_index, bool keep_images) |
| static IndexMask | get_visible_boundary_strokes (const Object &object, const DrawingInfo &info, const bool is_boundary_layer, IndexMaskMemory &memory) |
| static VArray< ColorGeometry4f > | get_stroke_colors (const Object &object, const bke::CurvesGeometry &curves, const VArray< float > &opacities, const VArray< int > materials, const ColorGeometry4f &tint_color, const std::optional< float > alpha_threshold) |
| static rctf | get_region_bounds (const ARegion ®ion) |
| static rctf | get_boundary_bounds (const ARegion ®ion, const RegionView3D &rv3d, const Object &object, const Object &object_eval, const VArray< bool > &boundary_layers, const Span< DrawingInfo > src_drawings) |
| static auto | fit_strokes_to_view (const ViewContext &view_context, const VArray< bool > &boundary_layers, const Span< DrawingInfo > src_drawings, const FillToolFitMethod fit_method, const float2 fill_point, const bool uniform_zoom, const float max_zoom_factor, const float2 margin) |
Smooth Stroke Operator | |
| static int | grease_pencil_stroke_smooth_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_stroke_smooth (wmOperatorType *ot) |
Simplify Stroke Operator | |
| static float | dist_to_interpolated (float3 pos, float3 posA, float3 posB, float val, float valA, float valB) |
| static int64_t | stroke_simplify (const IndexRange points, const bool cyclic, const float epsilon, const FunctionRef< float(int64_t, int64_t, int64_t)> dist_function, MutableSpan< bool > points_to_delete) |
| static int | grease_pencil_stroke_simplify_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_stroke_simplify (wmOperatorType *ot) |
Delete Operator | |
| static bke::CurvesGeometry | remove_points_and_split (const bke::CurvesGeometry &curves, const IndexMask &mask) |
| static int | grease_pencil_delete_exec (bContext *C, wmOperator *) |
| static void | GREASE_PENCIL_OT_delete (wmOperatorType *ot) |
Stroke Material Set Operator | |
| static int | grease_pencil_stroke_material_set_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_stroke_material_set (wmOperatorType *ot) |
Set Active Material Operator | |
| static int | grease_pencil_set_active_material_exec (bContext *C, wmOperator *) |
| static void | GREASE_PENCIL_OT_set_active_material (wmOperatorType *ot) |
| static const EnumPropertyItem * | material_enum_itemf (bContext *C, PointerRNA *, PropertyRNA *, bool *r_free) |
| static int | grease_pencil_set_material_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_set_material (wmOperatorType *ot) |
Set Uniform Thickness Operator | |
| static int | grease_pencil_set_uniform_thickness_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_set_uniform_thickness (wmOperatorType *ot) |
Set Uniform Opacity Operator | |
| static int | grease_pencil_set_uniform_opacity_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_set_uniform_opacity (wmOperatorType *ot) |
Switch Direction Operator | |
| static int | grease_pencil_stroke_switch_direction_exec (bContext *C, wmOperator *) |
| static void | GREASE_PENCIL_OT_stroke_switch_direction (wmOperatorType *ot) |
Duplicate Operator | |
| static int | grease_pencil_duplicate_exec (bContext *C, wmOperator *) |
| static void | GREASE_PENCIL_OT_duplicate (wmOperatorType *ot) |
| static int | grease_pencil_clean_loose_exec (bContext *C, wmOperator *op) |
| static int | grease_pencil_clean_loose_invoke (bContext *C, wmOperator *op, const wmEvent *event) |
| static void | GREASE_PENCIL_OT_clean_loose (wmOperatorType *ot) |
Stroke Subdivide Operator | |
| static int | gpencil_stroke_subdivide_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_stroke_subdivide (wmOperatorType *ot) |
Move To Layer Operator | |
| static int | grease_pencil_move_to_layer_exec (bContext *C, wmOperator *op) |
| static int | grease_pencil_move_to_layer_invoke (bContext *C, wmOperator *op, const wmEvent *event) |
| static void | GREASE_PENCIL_OT_move_to_layer (wmOperatorType *ot) |
Merge Stroke Operator | |
| static int | grease_pencil_stroke_merge_by_distance_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_stroke_merge_by_distance (wmOperatorType *ot) |
Extrude Operator | |
| static bke::CurvesGeometry | extrude_grease_pencil_curves (const bke::CurvesGeometry &src, const IndexMask &points_to_extrude) |
| static int | grease_pencil_extrude_exec (bContext *C, wmOperator *) |
| static void | GREASE_PENCIL_OT_extrude (wmOperatorType *ot) |
Reproject Strokes Operator | |
| static int | grease_pencil_reproject_exec (bContext *C, wmOperator *op) |
| static void | grease_pencil_reproject_ui (bContext *, wmOperator *op) |
| static void | GREASE_PENCIL_OT_reproject (wmOperatorType *ot) |
Snapping Selection to Grid Operator | |
| static bool | grease_pencil_snap_poll (bContext *C) |
| static int | grease_pencil_snap_to_grid_exec (bContext *C, wmOperator *) |
| static void | GREASE_PENCIL_OT_snap_to_grid (wmOperatorType *ot) |
Snapping Selection to Cursor Operator | |
| static int | grease_pencil_snap_to_cursor_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_snap_to_cursor (wmOperatorType *ot) |
Snapping Cursor to Selection Operator | |
| static bool | grease_pencil_snap_compute_centroid (const Scene &scene, const Object &object, const GreasePencil &grease_pencil, float3 &r_centroid, float3 &r_min, float3 &r_max) |
| static int | grease_pencil_snap_cursor_to_sel_exec (bContext *C, wmOperator *) |
| static void | GREASE_PENCIL_OT_snap_cursor_to_selected (wmOperatorType *ot) |
| static float4x3 | expand_4x2_mat (float4x2 strokemat) |
| static int | grease_pencil_texture_gradient_exec (bContext *C, wmOperator *op) |
| static int | grease_pencil_texture_gradient_modal (bContext *C, wmOperator *op, const wmEvent *event) |
| static int | grease_pencil_texture_gradient_invoke (bContext *C, wmOperator *op, const wmEvent *event) |
| static void | GREASE_PENCIL_OT_texture_gradient (wmOperatorType *ot) |
Set Curve Type Operator | |
| static int | grease_pencil_set_curve_type_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_set_curve_type (wmOperatorType *ot) |
Set Handle Type Operator | |
| static int | grease_pencil_set_handle_type_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_set_handle_type (wmOperatorType *ot) |
Set Curve Resolution Operator | |
| static int | grease_pencil_set_curve_resolution_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_set_curve_resolution (wmOperatorType *ot) |
| static int | grease_pencil_reset_uvs_exec (bContext *C, wmOperator *) |
| static void | GREASE_PENCIL_OT_reset_uvs (wmOperatorType *ot) |
Show All Materials Operator | |
| static int | grease_pencil_material_reveal_exec (bContext *C, wmOperator *) |
| static void | GREASE_PENCIL_OT_material_reveal (wmOperatorType *ot) |
Hide Others Materials Operator | |
| static int | grease_pencil_material_hide_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_material_hide (wmOperatorType *ot) |
Lock All Materials Operator | |
| static int | grease_pencil_material_lock_all_exec (bContext *C, wmOperator *) |
| static void | GREASE_PENCIL_OT_material_lock_all (wmOperatorType *ot) |
Unlock All Materials Operator | |
| static int | grease_pencil_material_unlock_all_exec (bContext *C, wmOperator *) |
| static void | GREASE_PENCIL_OT_material_unlock_all (wmOperatorType *ot) |
Lock Unused Materials Operator | |
| static int | grease_pencil_material_lock_unused_exec (bContext *C, wmOperator *) |
| static void | GREASE_PENCIL_OT_material_lock_unused (wmOperatorType *ot) |
Lock Unselected Materials Operator | |
| static int | grease_pencil_material_lock_unselected_exec (bContext *C, wmOperator *) |
| static void | GREASE_PENCIL_OT_material_lock_unselected (wmOperatorType *ot) |
Copy Materials to Selected Objects | |
| static int | grease_pencil_material_copy_to_object_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_material_copy_to_object (wmOperatorType *ot) |
| static int | material_isolate_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_material_isolate (wmOperatorType *ot) |
Toggle Stroke Paint Mode Operator | |
| static bool | brush_cursor_poll (bContext *C) |
| static bool | paintmode_toggle_poll (bContext *C) |
| static int | paintmode_toggle_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_paintmode_toggle (wmOperatorType *ot) |
Toggle Stroke Sculpt Mode Operator | |
| static bool | sculptmode_toggle_poll (bContext *C) |
| static bool | sculpt_poll_view3d (bContext *C) |
| static int | sculptmode_toggle_exec (bContext *C, wmOperator *op) |
Toggle Weight Paint Mode Operator | |
| static void | GREASE_PENCIL_OT_sculptmode_toggle (wmOperatorType *ot) |
| static bool | grease_pencil_poll_weight_cursor (bContext *C) |
| static bool | weightmode_toggle_poll (bContext *C) |
| static int | weightmode_toggle_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_weightmode_toggle (wmOperatorType *ot) |
Toggle Vertex Paint Mode Operator | |
| static bool | grease_pencil_poll_vertex_cursor (bContext *C) |
| static bool | vertexmode_toggle_poll (bContext *C) |
| static int | vertexmode_toggle_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_vertexmode_toggle (wmOperatorType *ot) |
Selection Utility Functions | |
| int | clamp_range (const IndexRange range, const int index) |
| template<typename Fn > | |
| static int | foreach_curve_segment (const CurveSegmentsData &segment_data, const int curve_index, const IndexRange points, Fn &&fn) |
| bool | apply_mask_as_selection (bke::CurvesGeometry &curves, const IndexMask &selection_mask, const bke::AttrDomain selection_domain, const StringRef attribute_name, const GrainSize grain_size, const eSelectOp sel_op) |
| bool | apply_mask_as_segment_selection (bke::CurvesGeometry &curves, const IndexMask &point_selection_mask, const StringRef attribute_name, const Curves2DBVHTree &tree_data, const IndexRange tree_data_range, const GrainSize grain_size, const eSelectOp sel_op) |
| bool | selection_update (const ViewContext *vc, const eSelectOp sel_op, SelectionUpdateFunc select_operation) |
Dissolve Points Operator | |
| enum class | DissolveMode : int8_t { POINTS = 0 , BETWEEN = 1 , UNSELECT = 2 } |
| static const EnumPropertyItem | prop_dissolve_types [] |
| static Array< bool > | get_points_to_dissolve (bke::CurvesGeometry &curves, const IndexMask &mask, const DissolveMode mode) |
| static int | grease_pencil_dissolve_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_dissolve (wmOperatorType *ot) |
Delete Frame Operator | |
| enum class | DeleteFrameMode : int8_t { ACTIVE_FRAME = 0 , ALL_FRAMES = 1 } |
| static const EnumPropertyItem | prop_greasepencil_deleteframe_types [] |
| static int | grease_pencil_delete_frame_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_delete_frame (wmOperatorType *ot) |
Cyclical Set Operator | |
| enum class | CyclicalMode : int8_t { CLOSE = 0 , OPEN = 1 , TOGGLE = 2 } |
| static const EnumPropertyItem | prop_cyclical_types [] |
| static int | grease_pencil_cyclical_set_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_cyclical_set (wmOperatorType *ot) |
Set Curve Caps Operator | |
| enum class | CapsMode : int8_t { FLAT = 0 , START = 1 , END = 2 , ROUND = 3 } |
| static void | toggle_caps (MutableSpan< int8_t > caps, const IndexMask &strokes) |
| static int | grease_pencil_caps_set_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_caps_set (wmOperatorType *ot) |
Reorder Operator | |
| enum class | ReorderDirection : int8_t { TOP = 0 , UP = 1 , DOWN = 2 , BOTTOM = 3 } |
| static Array< int > | get_reordered_indices (const IndexRange universe, const IndexMask &selected, const ReorderDirection direction) |
| static int | grease_pencil_stroke_reorder_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_stroke_reorder (wmOperatorType *ot) |
Stroke Separate Operator | |
| enum class | SeparateMode : int8_t { SELECTED = 0 , MATERIAL = 1 , LAYER = 2 } |
| static const EnumPropertyItem | prop_separate_modes [] |
| static void | remove_unused_materials (Main *bmain, Object *object) |
| static Object * | duplicate_grease_pencil_object (Main *bmain, Scene *scene, ViewLayer *view_layer, Base *base_prev, const GreasePencil &grease_pencil_src) |
| static bke::greasepencil::Layer & | find_or_create_layer_in_dst_by_name (const int layer_index, const GreasePencil &grease_pencil_src, GreasePencil &grease_pencil_dst) |
| static bool | grease_pencil_separate_selected (bContext &C, Main &bmain, Scene &scene, ViewLayer &view_layer, Base &base_prev, Object &object_src) |
| static bool | grease_pencil_separate_layer (bContext &C, Main &bmain, Scene &scene, ViewLayer &view_layer, Base &base_prev, Object &object_src) |
| static bool | grease_pencil_separate_material (bContext &C, Main &bmain, Scene &scene, ViewLayer &view_layer, Base &base_prev, Object &object_src) |
| static int | grease_pencil_separate_exec (bContext *C, wmOperator *op) |
| static void | GREASE_PENCIL_OT_separate (wmOperatorType *ot) |
Color Values and Flags | |
| enum | ColorFlag { Border = (1 << 0) , Stroke = (1 << 1) , Fill = (1 << 2) , Seed = (1 << 3) , Debug = (1 << 7) } |
| const ColorGeometry4f | draw_boundary_color = {1, 0, 0, 1} |
| const ColorGeometry4f | draw_seed_color = {0, 1, 0, 1} |
Boundary from Pixel Buffer | |
| enum class | FillResult { Success , BorderContact } |
| enum | FillBorderMode { Cancel , Ignore } |
| constexpr const int | num_directions = 8 |
| static const int2 | offset_by_direction [num_directions] |
| static bool | get_flag (const ColorGeometry4b &color, const ColorFlag flag) |
| static void | set_flag (ColorGeometry4b &color, const ColorFlag flag, bool value) |
| static void | convert_colors_to_flags (ImageBufferAccessor &buffer) |
| static void | convert_flags_to_colors (ImageBufferAccessor &buffer) |
| static void | mark_borders (ImageBufferAccessor &buffer) |
| template<FillBorderMode border_mode> | |
| FillResult | flood_fill (ImageBufferAccessor &buffer, const int leak_filter_width=0) |
| static void | invert_fill (ImageBufferAccessor &buffer) |
| static void | dilate (ImageBufferAccessor &buffer, int iterations=1) |
| static void | erode (ImageBufferAccessor &buffer, int iterations=1) |
| static int | wrap_dir_3n (const int dir) |
| static FillBoundary | build_fill_boundary (const ImageBufferAccessor &buffer, bool include_holes) |
| static bke::CurvesGeometry | boundary_to_curves (const Scene &scene, const ViewContext &view_context, const Brush &brush, const FillBoundary &boundary, const ImageBufferAccessor &buffer, const ed::greasepencil::DrawingPlacement &placement, const int material_index, const float hardness) |
| static bke::CurvesGeometry | process_image (Image &ima, const Scene &scene, const ViewContext &view_context, const Brush &brush, const ed::greasepencil::DrawingPlacement &placement, const int stroke_material_index, const float stroke_hardness, const bool invert, const bool output_as_colors) |
Copy and Paste Operator | |
| static struct blender::ed::greasepencil::Clipboard * | grease_pencil_clipboard = nullptr |
| std::mutex | grease_pencil_clipboard_lock |
| static Clipboard & | ensure_grease_pencil_clipboard () |
| static int | grease_pencil_paste_strokes_exec (bContext *C, wmOperator *op) |
| static bke::GeometrySet | join_geometries_with_transform (Span< bke::GeometrySet > geometries, Span< float4x4 > transforms) |
| static int | grease_pencil_copy_strokes_exec (bContext *C, wmOperator *op) |
| static bool | grease_pencil_paste_strokes_poll (bContext *C) |
| static void | GREASE_PENCIL_OT_paste (wmOperatorType *ot) |
| static void | GREASE_PENCIL_OT_copy (wmOperatorType *ot) |
Definition at line 745 of file ED_grease_pencil.hh.
|
strong |
| Enumerator | |
|---|---|
| FLAT | Switches both to Flat. |
| START | Change only start. |
| END | Change only end. |
| ROUND | Switches both to default rounded. |
Definition at line 1131 of file grease_pencil_edit.cc.
| Enumerator | |
|---|---|
| Border | |
| Stroke | |
| Fill | |
| Seed | |
| Debug | |
Definition at line 55 of file grease_pencil_fill.cc.
|
strong |
| Enumerator | |
|---|---|
| JoinPoint | |
| HandlePoint | |
Definition at line 77 of file grease_pencil_primitive.cc.
|
strong |
| Enumerator | |
|---|---|
| CLOSE | Sets all strokes to cycle. |
| OPEN | Sets all strokes to not cycle. |
| TOGGLE | Switches the cyclic state of the strokes. |
Definition at line 831 of file grease_pencil_edit.cc.
|
strong |
| Enumerator | |
|---|---|
| ACTIVE_FRAME | Delete the active frame for the current layer. |
| ALL_FRAMES | Delete the active frames for all layers. |
Definition at line 677 of file grease_pencil_edit.cc.
|
strong |
| Enumerator | |
|---|---|
| POINTS | Dissolve all selected points. |
| BETWEEN | Dissolve between selected points. |
| UNSELECT | Dissolve unselected points. |
Definition at line 523 of file grease_pencil_edit.cc.
|
strong |
| Enumerator | |
|---|---|
| ObjectOrigin | |
| Cursor | |
| Surface | |
| NearestStroke | |
Definition at line 114 of file ED_grease_pencil.hh.
|
strong |
| Enumerator | |
|---|---|
| View | |
| Front | |
| Side | |
| Top | |
| Cursor | |
Definition at line 116 of file ED_grease_pencil.hh.
|
strong |
| Enumerator | |
|---|---|
| All | |
| Active | |
Definition at line 1108 of file grease_pencil_layers.cc.
| Enumerator | |
|---|---|
| Cancel | |
| Ignore | |
Definition at line 252 of file grease_pencil_fill.cc.
|
strong |
| Enumerator | |
|---|---|
| Success | |
| BorderContact | |
Definition at line 247 of file grease_pencil_fill.cc.
Method used by the Fill tool to fit the render buffer to strokes.
| Enumerator | |
|---|---|
| None | |
| FitToView | |
Definition at line 561 of file ED_grease_pencil.hh.
|
strong |
| Enumerator | |
|---|---|
| None | |
| Flip | |
| FlipAuto | |
Definition at line 710 of file ED_grease_pencil.hh.
|
strong |
| Enumerator | |
|---|---|
| Active | |
| All | |
Definition at line 719 of file ED_grease_pencil.hh.
|
strong |
| Enumerator | |
|---|---|
| Up | |
| Down | |
Definition at line 274 of file grease_pencil_layers.cc.
|
strong |
| Enumerator | |
|---|---|
| Down | |
| Group | |
| All | |
Definition at line 747 of file grease_pencil_layers.cc.
|
strong |
| Enumerator | |
|---|---|
| Cancel | |
| Confirm | |
| Extrude | |
| Panning | |
| Grab | |
| Rotate | |
| Scale | |
| IncreaseSubdivision | |
| DecreaseSubdivision | |
Definition at line 84 of file grease_pencil_primitive.cc.
|
strong |
| Enumerator | |
|---|---|
| Idle | |
| Extruding | |
| Grab | |
| Drag | |
| DragAll | |
| RotateAll | |
| ScaleAll | |
Definition at line 62 of file grease_pencil_primitive.cc.
|
strong |
| Enumerator | |
|---|---|
| Line | |
| Polyline | |
| Arc | |
| Curve | |
| Box | |
| Circle | |
Definition at line 53 of file grease_pencil_primitive.cc.
|
strong |
Definition at line 1552 of file grease_pencil_edit.cc.
|
strong |
| Enumerator | |
|---|---|
| Front | |
| Side | |
| Top | |
| View | |
| Cursor | |
| Surface | |
| Keep | |
Definition at line 112 of file ED_grease_pencil.hh.
|
strong |
| Enumerator | |
|---|---|
| LAYER | |
| MATERIAL | |
| VERTEX_COLOR | |
| RADIUS | |
| OPACITY | |
Definition at line 568 of file grease_pencil_select.cc.
|
strong |
| Enumerator | |
|---|---|
| SELECTED | |
| MATERIAL | |
| LAYER | |
Definition at line 1829 of file grease_pencil_edit.cc.
|
strong |
| Enumerator | |
|---|---|
| Stroke | |
| Fill | |
| Both | |
Definition at line 26 of file grease_pencil/intern/grease_pencil_vertex_paint.cc.
| bool blender::ed::greasepencil::active_grease_pencil_layer_poll | ( | bContext * | C | ) |
Definition at line 65 of file grease_pencil_ops.cc.
References from_context().
Referenced by GREASE_PENCIL_OT_clean_loose(), GREASE_PENCIL_OT_layer_duplicate(), GREASE_PENCIL_OT_layer_duplicate_object(), GREASE_PENCIL_OT_layer_isolate(), GREASE_PENCIL_OT_layer_lock_all(), GREASE_PENCIL_OT_layer_mask_add(), GREASE_PENCIL_OT_layer_mask_remove(), GREASE_PENCIL_OT_layer_mask_reorder(), and GREASE_PENCIL_OT_layer_remove().
| bool blender::ed::greasepencil::active_grease_pencil_material_poll | ( | bContext * | C | ) |
Definition at line 43 of file grease_pencil_ops.cc.
References BKE_object_material_len_p(), CTX_data_active_object(), and OB_GREASE_PENCIL.
Referenced by GREASE_PENCIL_OT_material_isolate().
| bool blender::ed::greasepencil::active_grease_pencil_poll | ( | bContext * | C | ) |
Definition at line 34 of file grease_pencil_ops.cc.
References CTX_data_active_object(), and OB_GREASE_PENCIL.
Referenced by grease_pencil_edit_poll(), blender::ed::sculpt_paint::greasepencil::grease_pencil_interpolate_poll(), GREASE_PENCIL_OT_active_frame_delete(), GREASE_PENCIL_OT_frame_clean_duplicate(), GREASE_PENCIL_OT_frame_duplicate(), GREASE_PENCIL_OT_insert_blank_frame(), GREASE_PENCIL_OT_layer_active(), GREASE_PENCIL_OT_layer_merge(), GREASE_PENCIL_OT_material_copy_to_object(), GREASE_PENCIL_OT_material_hide(), GREASE_PENCIL_OT_material_lock_all(), GREASE_PENCIL_OT_material_lock_unselected(), GREASE_PENCIL_OT_material_lock_unused(), GREASE_PENCIL_OT_material_reveal(), GREASE_PENCIL_OT_material_unlock_all(), GREASE_PENCIL_OT_set_material(), grease_pencil_painting_poll(), grease_pencil_sculpting_poll(), grease_pencil_selection_poll(), grease_pencil_vertex_painting_poll(), grease_pencil_weight_painting_poll(), OBJECT_OT_lineart_bake_strokes(), and OBJECT_OT_lineart_clear().
| void blender::ed::greasepencil::add_armature_automatic_weights | ( | Scene & | scene, |
| Object & | object, | ||
| const Object & | ob_armature ) |
Create vertex groups for the bones in the armature and use a simple distance based algorithm to assign automatic weights.
Definition at line 375 of file grease_pencil_weight_paint.cc.
References add_armature_automatic_weights(), blender::Array< T, InlineBufferCapacity, Allocator >::as_mutable_span(), Object::data, dist_squared_to_line_segment_v3(), blender::math::distance_squared(), blender::ed::greasepencil::MutableDrawingInfo::drawing, get_root_and_tips_of_bones(), get_skinnable_bones_and_deform_group_names(), blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), blender::math::interpolate(), blender::ed::greasepencil::MutableDrawingInfo::layer_index, lookup_or_add_deform_group_index(), retrieve_editable_drawings(), blender::VMutableArray< T >::set(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and blender::bke::greasepencil::Drawing::strokes_for_write().
Referenced by add_armature_automatic_weights(), and blender::ed::object::parent_set().
| void blender::ed::greasepencil::add_armature_envelope_weights | ( | Scene & | scene, |
| Object & | object, | ||
| const Object & | ob_armature ) |
Create vertex groups for the bones in the armature and use the bone envelopes to assign weights.
Definition at line 312 of file grease_pencil_weight_paint.cc.
References add_armature_envelope_weights(), blender::Array< T, InlineBufferCapacity, Allocator >::as_mutable_span(), Object::data, Bone::dist, distfactor_to_bone(), blender::ed::greasepencil::MutableDrawingInfo::drawing, get_root_and_tips_of_bones(), get_skinnable_bones_and_deform_group_names(), blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), blender::ed::greasepencil::MutableDrawingInfo::layer_index, lookup_or_add_deform_group_index(), mat4_to_scale(), blender::MatBase< T, NumCol, NumRow, Alignment >::ptr(), Bone::rad_head, Bone::rad_tail, retrieve_editable_drawings(), blender::VMutableArray< T >::set(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and blender::bke::greasepencil::Drawing::strokes_for_write().
Referenced by add_armature_envelope_weights(), and blender::ed::object::parent_set().
| bool blender::ed::greasepencil::add_armature_vertex_groups | ( | Object & | object, |
| const Object & | armature ) |
Adds vertex groups for the bones in the armature (with matching names).
Definition at line 235 of file grease_pencil_weight_paint.cc.
References BONE_NO_DEFORM, Object::data, Bone::flag, and foreach_bone_in_armature().
Referenced by blender::ed::object::parent_set().
|
static |
Definition at line 1113 of file grease_pencil_add.cc.
References BKE_grease_pencil_object_material_ensure_by_name(), copy_v4_v4(), DATA_, blender::ed::greasepencil::ColorTemplate::fill, MaterialGPencilStyle::fill_rgba, MaterialGPencilStyle::flag, GP_MATERIAL_FILL_SHOW, GP_MATERIAL_STROKE_SHOW, Material::gp_style, blender::ed::greasepencil::ColorTemplate::line, blender::ed::greasepencil::ColorTemplate::name, SET_FLAG_FROM_TEST, blender::ed::greasepencil::ColorTemplate::show_fill, blender::ed::greasepencil::ColorTemplate::show_stroke, srgb_to_linearrgb_v4(), and MaterialGPencilStyle::stroke_rgba.
Referenced by create_blank(), create_stroke(), and create_suzanne().
|
static |
Definition at line 3814 of file grease_pencil_edit.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), GreasePencil::material_array, and GreasePencil::material_array_num.
Referenced by ED_grease_pencil_join_objects_exec(), and join_object_with_active().
|
static |
Definition at line 3841 of file grease_pencil_edit.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), add_vertex_groups(), BKE_object_defgroup_unique_name(), BLI_addtail(), LISTBASE_FOREACH, MEM_dupallocN, bDeformGroup::name, and GreasePencil::vertex_group_names.
Referenced by add_vertex_groups(), and join_object_with_active().
|
static |
Definition at line 318 of file grease_pencil_frames.cc.
References BLI_addtail(), CfraElem::cfra, float, KeyframeEditData::list, and CfraElem::sel.
Referenced by create_keyframe_edit_data_selected_frames_list().
|
static |
Definition at line 40 of file grease_pencil/intern/grease_pencil_vertex_paint.cc.
References blender::bke::CurvesGeometry::attributes(), Both, blender::bke::AttributeAccessor::contains(), blender::ed::greasepencil::MutableDrawingInfo::drawing, ELEM, Fill, blender::bke::greasepencil::Drawing::fill_colors_for_write(), blender::index_mask::IndexMask::foreach_index(), blender::index_mask::IndexMask::is_empty(), blender::ed::greasepencil::MutableDrawingInfo::layer_index, retrieve_editable_points(), retrieve_editable_strokes(), Stroke, blender::bke::greasepencil::Drawing::strokes(), and blender::bke::greasepencil::Drawing::vertex_colors_for_write().
Referenced by grease_pencil_vertex_paint_brightness_contrast_exec(), grease_pencil_vertex_paint_hsv_exec(), grease_pencil_vertex_paint_invert_exec(), grease_pencil_vertex_paint_levels_exec(), and grease_pencil_vertex_paint_set_exec().
| bool blender::ed::greasepencil::apply_mask_as_segment_selection | ( | bke::CurvesGeometry & | curves, |
| const IndexMask & | point_selection_mask, | ||
| const StringRef | attribute_name, | ||
| const Curves2DBVHTree & | tree_data, | ||
| const IndexRange | tree_data_range, | ||
| const GrainSize | grain_size, | ||
| const eSelectOp | sel_op ) |
Definition at line 133 of file grease_pencil_select.cc.
References apply_mask_as_selection(), blender::ed::curves::apply_selection_operation_at_index(), CD_PROP_BOOL, blender::ed::curves::curve_mask_from_points(), blender::ed::curves::ensure_selection_attribute(), find_curve_segments(), blender::offset_indices::OffsetIndices< T >::index_range(), blender::index_mask::IndexMask::is_empty(), blender::threading::parallel_for(), blender::bke::Point, range, blender::ed::greasepencil::CurveSegmentsData::segment_offsets, blender::bke::GSpanAttributeWriter::span, blender::ed::greasepencil::Curves2DBVHTree::start_positions, blender::index_mask::IndexMask::to_bools(), and blender::GrainSize::value.
| bool blender::ed::greasepencil::apply_mask_as_selection | ( | bke::CurvesGeometry & | curves, |
| const IndexMask & | selection_mask, | ||
| const bke::AttrDomain | selection_domain, | ||
| const StringRef | attribute_name, | ||
| const GrainSize | grain_size, | ||
| const eSelectOp | sel_op ) |
Definition at line 109 of file grease_pencil_select.cc.
References blender::ed::curves::apply_selection_operation_at_index(), CD_PROP_BOOL, blender::ed::curves::ensure_selection_attribute(), blender::bke::GSpanAttributeWriter::finish(), blender::index_mask::IndexMask::foreach_index(), blender::index_mask::IndexMask::is_empty(), and blender::bke::GSpanAttributeWriter::span.
Referenced by apply_mask_as_segment_selection().
|
static |
Definition at line 435 of file grease_pencil_frames.cc.
References blender::Span< T >::begin(), blender::Span< T >::end(), and blender::VArrayCommon< T >::get_if_single().
|
static |
Definition at line 412 of file grease_pencil_frames.cc.
References blender::GVArrayCommon::size(), blender::GVArrayCommon::type(), and blender::bke::GAttributeReader::varray.
Referenced by curves_geometry_is_equal().
|
static |
Definition at line 419 of file grease_pencil_frames.cc.
References blender::GSpan::data(), blender::GVArrayCommon::get_internal_span(), blender::GVArrayCommon::is_span(), and blender::bke::GAttributeReader::varray.
Referenced by curves_geometry_is_equal().
|
static |
Definition at line 138 of file grease_pencil_bake_animation.cc.
References blender::ed::object::add_type(), blender::bke::CurvesGeometry::attributes(), BKE_MAT_ASSIGN_USERPREF, BKE_object_material_assign(), BKE_object_material_get(), BKE_object_material_index_get(), BKE_object_material_slot_add(), BKE_scene_graph_update_for_newframe(), BLI_assert, CTX_data_ensure_evaluated_depsgraph(), CTX_data_main(), CTX_data_scene(), CTX_wm_region(), CTX_wm_view3d(), blender::bke::Curve, blender::bke::CurvesGeometry::curves_range(), Object::data, DEG_get_ctime(), DEG_get_evaluated_object(), depsgraph, blender::bke::SpanAttributeWriter< T >::finish(), get_bake_targets(), get_selected_object_keyframes(), int, blender::math::invert(), Keep, View3D::local_view_uid, View3D::localvd, blender::bke::AttributeAccessor::lookup_or_default(), OB_GREASE_PENCIL, blender::threading::parallel_for(), wmOperator::ptr, RNA_boolean_get(), RNA_enum_get(), RNA_int_get(), blender::bke::SpanAttributeWriter< T >::span, blender::bke::greasepencil::Drawing::strokes(), blender::bke::greasepencil::Drawing::strokes_for_write(), Object::totcol, and WM_cursor_wait().
Referenced by GREASE_PENCIL_OT_bake_grease_pencil_animation().
|
static |
Definition at line 50 of file grease_pencil_bake_animation.cc.
References CTX_data_scene(), IFACE_, wmOperator::ptr, RNA_property_int_get(), RNA_property_int_set(), RNA_property_is_set(), RNA_struct_find_property(), and WM_operator_props_dialog_popup().
Referenced by GREASE_PENCIL_OT_bake_grease_pencil_animation().
|
static |
Definition at line 293 of file grease_pencil_bake_animation.cc.
References bake_grease_pencil_animation_poll(), CTX_data_active_object(), CTX_wm_area(), ELEM, Object::mode, OB_EMPTY, OB_GREASE_PENCIL, OB_MODE_OBJECT, and Object::type.
Referenced by bake_grease_pencil_animation_poll(), and GREASE_PENCIL_OT_bake_grease_pencil_animation().
|
static |
Definition at line 573 of file grease_pencil_fill.cc.
References blender::ColorRGBA< ChannelStorageType, Space, Alpha >::a, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::bke::attribute_filter_from_skip_ref(), blender::ed::greasepencil::ImageBufferAccessor::coord_from_index(), blender::bke::Curve, CURVE_TYPE_POLY, ELEM, blender::bke::fill_attribute_range_default(), blender::bke::SpanAttributeWriter< T >::finish(), Brush::gpencil_settings, GPPAINT_FLAG_USE_VERTEXCOLOR, GPPAINT_MODE_BOTH, GPPAINT_MODE_FILL, GPPAINT_MODE_STROKE, opacity_from_input_sample(), blender::bke::Point, blender::ed::greasepencil::DrawingPlacement::project(), radius_from_input_sample(), ViewContext::region, Brush::rgb, ViewContext::rv3d, blender::bke::SpanAttributeWriter< T >::span, srgb_to_linearrgb_v3_v3(), blender::ed::greasepencil::DrawingPlacement::to_world_space(), BrushGpencilSettings::vertex_factor, and BrushGpencilSettings::vertex_mode.
Referenced by process_image().
|
static |
Definition at line 34 of file grease_pencil_modes.cc.
References WM_toolsystem_active_tool_has_custom_cursor(), and WM_toolsystem_active_tool_is_brush().
Referenced by paintmode_toggle_exec().
|
static |
Definition at line 1464 of file grease_pencil_utils.cc.
References BRUSH_LOCK_SIZE, brush_radius_at_location(), Brush::flag, pixel_radius_to_world_space_radius(), Brush::size, and Brush::unprojected_radius.
Referenced by brush_radius_at_location(), and radius_from_input_sample().
| Curves2DBVHTree blender::ed::greasepencil::build_curves_2d_bvh_from_visible | ( | const ViewContext & | vc, |
| const Object & | object, | ||
| const GreasePencil & | grease_pencil, | ||
| Span< MutableDrawingInfo > | drawings, | ||
| int | frame_number ) |
Construct a 2D BVH tree from the screen space line segments of visible curves.
Definition at line 1327 of file grease_pencil_geom.cc.
References BLI_bvhtree_balance(), BLI_bvhtree_insert(), BLI_bvhtree_new(), build_curves_2d_bvh_from_visible(), data, blender::ed::greasepencil::MutableDrawingInfo::drawing, blender::IndexRange::drop_back(), ED_view3d_ob_project_mat_get_from_obmat(), ED_view3d_project_float_v2_m4(), blender::bke::CurvesGeometry::evaluated_points_num(), blender::MutableSpan< T >::first(), blender::index_mask::IndexMask::foreach_index(), blender::Span< T >::index_range(), is_cyclic(), blender::IndexRange::last(), blender::MutableSpan< T >::last(), blender::ed::greasepencil::MutableDrawingInfo::layer_index, ViewContext::region, ViewContext::rv3d, blender::Span< T >::size(), blender::MutableSpan< T >::slice(), and blender::bke::greasepencil::Drawing::strokes().
Referenced by build_curves_2d_bvh_from_visible().
|
static |
Definition at line 453 of file grease_pencil_fill.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), Border, blender::ed::greasepencil::ImageBufferAccessor::coord_from_index(), blender::IndexRange::drop_back(), Fill, get_flag(), blender::ed::greasepencil::ImageBufferAccessor::height(), blender::ed::greasepencil::ImageBufferAccessor::index_from_coord(), blender::ed::greasepencil::ImageBufferAccessor::is_valid_coord(), num_directions, offset_by_direction, blender::ed::greasepencil::FillBoundary::offset_indices, blender::ed::greasepencil::FillBoundary::pixels, blender::ed::greasepencil::ImageBufferAccessor::pixels(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), blender::ed::greasepencil::ImageBufferAccessor::width(), wrap_dir_3n(), and x.
Referenced by process_image().
|
static |
Definition at line 676 of file grease_pencil_frames.cc.
References blender::ed::greasepencil::KeyframeClipboard::cfra, blender::ed::greasepencil::KeyframeClipboard::first_frame, KEYFRAME_PASTE_OFFSET_CFRA_END, KEYFRAME_PASTE_OFFSET_CFRA_RELATIVE, KEYFRAME_PASTE_OFFSET_CFRA_START, KEYFRAME_PASTE_OFFSET_NONE, and blender::ed::greasepencil::KeyframeClipboard::last_frame.
Referenced by grease_pencil_paste_keyframes().
| float4x2 blender::ed::greasepencil::calculate_texture_space | ( | const Scene * | scene, |
| const ARegion * | region, | ||
| const float2 & | mouse, | ||
| const DrawingPlacement & | placement ) |
Definition at line 1545 of file grease_pencil_utils.cc.
References calculate_texture_space(), blender::math::dot(), GP_LOCKAXIS_CURSOR, GP_LOCKAXIS_VIEW, GP_LOCKAXIS_X, GP_LOCKAXIS_Y, GP_LOCKAXIS_Z, blender::math::normalize(), blender::ed::greasepencil::DrawingPlacement::project(), and blender::math::transpose().
Referenced by calculate_texture_space(), blender::ed::sculpt_paint::grease_pencil_apply_fill(), and grease_pencil_primitive_invoke().
|
inline |
Definition at line 41 of file grease_pencil_select.cc.
References BLI_assert.
Referenced by foreach_curve_segment().
| const bke::CurvesGeometry & blender::ed::greasepencil::clipboard_curves | ( | ) |
Definition at line 2446 of file grease_pencil_edit.cc.
References clipboard_curves(), blender::ed::greasepencil::Clipboard::curves, and ensure_grease_pencil_clipboard().
Referenced by clipboard_curves(), and clipboard_paste_strokes().
| void blender::ed::greasepencil::clipboard_free | ( | ) |
Definition at line 2436 of file grease_pencil_edit.cc.
References clipboard_free(), grease_pencil_clipboard, grease_pencil_clipboard_lock, and lock.
Referenced by clipboard_free().
|
static |
Definition at line 2452 of file grease_pencil_edit.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), BKE_grease_pencil_object_material_new(), BKE_object_material_ensure(), clipboard_materials_remap(), ensure_grease_pencil_clipboard(), blender::Vector< T, InlineBufferCapacity, Allocator >::first(), blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), LISTBASE_FOREACH, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_default(), blender::ed::greasepencil::Clipboard::materials, Main::materials, and blender::ed::greasepencil::Clipboard::materials_in_source_num.
Referenced by clipboard_materials_remap().
| IndexRange blender::ed::greasepencil::clipboard_paste_strokes | ( | Main & | bmain, |
| Object & | object, | ||
| bke::greasepencil::Drawing & | drawing, | ||
| const float4x4 & | transform, | ||
| bool | keep_world_transform, | ||
| bool | paste_back ) |
Paste curves from the clipboard into the drawing.
| paste_back | Render behind existing curves by inserting curves at the front. |
| keep_world_transform | Keep the world transform of clipboard strokes unchanged. |
Definition at line 2484 of file grease_pencil_edit.cc.
References blender::bke::CurvesGeometry::attributes_for_write(), clipboard_curves(), clipboard_paste_strokes(), blender::ed::greasepencil::Clipboard::curves, blender::bke::CurvesGeometry::curves_num(), ensure_grease_pencil_clipboard(), blender::bke::SpanAttributeWriter< T >::finish(), Curves::geometry, blender::bke::GeometrySet::get_curves_for_write(), join_geometries_with_transform(), blender::bke::SpanAttributeWriter< T >::span, blender::bke::greasepencil::Drawing::strokes(), blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::tag_topology_changed(), and blender::ed::greasepencil::Clipboard::transform.
Referenced by clipboard_paste_strokes(), grease_pencil_paste_strokes_exec(), and blender::ed::sculpt_paint::greasepencil::CloneOperation::on_stroke_begin().
| Array< PointTransferData > blender::ed::greasepencil::compute_topology_change | ( | const bke::CurvesGeometry & | src, |
| bke::CurvesGeometry & | dst, | ||
| const Span< Vector< PointTransferData > > | src_to_dst_points, | ||
| const bool | keep_caps ) |
Computes a dst curves geometry by applying a change of topology from a src curves geometry. The change of topology is described by src_to_dst_points, which size should be equal to the number of points in the source. For each point in the source, the corresponding vector in src_to_dst_points contains a set of destination points (PointTransferData), which can correspond to points of the source, or linear combination of them. Note that this vector can be empty, if we want to remove points for example. Curves can also be split if a destination point is marked as a cut.
Definition at line 1246 of file grease_pencil_utils.cc.
References compute_topology_change(), blender::bke::CurvesGeometry::curves_num(), blender::bke::CurvesGeometry::curves_range(), blender::bke::CurvesGeometry::cyclic(), blender::threading::parallel_for(), blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::resize(), and blender::VArrayCommon< T >::size().
Referenced by compute_topology_change(), and blender::ed::greasepencil::trim::trim_curve_segments().
|
static |
Definition at line 180 of file grease_pencil_primitive.cc.
References blender::ed::greasepencil::PrimitiveToolOperation::active_control_point_index, control_point_center, ELEM, blender::MutableSpan< T >::fill(), get_control_point_type(), blender::math::interpolate(), JoinPoint, blender::MutableSpan< T >::last(), blender::ed::greasepencil::PrimitiveToolOperation::segments, TH_GIZMO_A, TH_GIZMO_B, TH_GIZMO_PRIMARY, TH_GIZMO_SECONDARY, blender::ed::greasepencil::PrimitiveToolOperation::type, UI_GetThemeColor4fv(), ui_primary_point_draw_size_px, ui_secondary_point_draw_size_px, and ui_tertiary_point_draw_size_px.
Referenced by draw_control_points().
|
static |
Definition at line 145 of file grease_pencil_primitive.cc.
References BLI_assert_unreachable, and blender::ed::greasepencil::PrimitiveToolOperation::type.
Referenced by get_control_point_type(), grease_pencil_primitive_event_modal_map(), grease_pencil_primitive_extruding_update(), grease_pencil_primitive_invoke(), and primitive_calulate_curve_positions().
|
static |
Definition at line 175 of file grease_pencil_fill.cc.
References blender::ed::greasepencil::ImageBufferAccessor::pixels(), Seed, and Stroke.
Referenced by process_image().
|
static |
Definition at line 188 of file grease_pencil_fill.cc.
References b, Border, Debug, Fill, blender::ed::greasepencil::ImageBufferAccessor::pixels(), Seed, and Stroke.
Referenced by process_image().
|
static |
Definition at line 3761 of file grease_pencil_edit.cc.
References BKE_grease_pencil_copy_layer_parameters(), blender::bke::greasepencil::Layer::frames(), blender::bke::greasepencil::Layer::frames_for_write(), and blender::bke::greasepencil::Layer::tag_frames_map_changed().
Referenced by copy_layer_group_content().
|
static |
Definition at line 3782 of file grease_pencil_edit.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), copy_layer(), copy_layer_group_recursive(), and blender::bke::greasepencil::LayerGroup::nodes().
Referenced by copy_layer_group_recursive(), and join_object_with_active().
|
static |
Definition at line 3800 of file grease_pencil_edit.cc.
References GreasePencilLayerTreeGroup::base, BKE_grease_pencil_copy_layer_group_parameters(), copy_layer_group_content(), and GreasePencilLayerTreeNode::name.
Referenced by copy_layer_group_content().
|
static |
Definition at line 26 of file grease_pencil_merge.cc.
References BKE_grease_pencil_copy_layer_group_parameters(), GreasePencilLayerTreeGroup::children, copy_layer_groups_without_layers(), and LISTBASE_FOREACH.
Referenced by copy_layer_groups_without_layers(), and merge_layers().
| void blender::ed::greasepencil::create_blank | ( | Main & | bmain, |
| Object & | object, | ||
| const int | frame_number ) |
Definition at line 1175 of file grease_pencil_add.cc.
References add_material_from_template(), DATA_, and gp_stroke_material_black.
Referenced by blender::ed::object::object_grease_pencil_add_exec().
| bke::CurvesGeometry blender::ed::greasepencil::create_curves_outline | ( | const bke::greasepencil::Drawing & | drawing, |
| const IndexMask & | strokes, | ||
| const float4x4 & | transform, | ||
| int | corner_subdivisions, | ||
| float | outline_radius, | ||
| float | outline_offset, | ||
| int | material_index ) |
Create new strokes tracing the rendered outline of existing strokes.
| drawing | Drawing with input strokes. |
| strokes | Selection curves to trace. |
| transform | Transform to apply to strokes. |
| corner_subdivisions | Subdivisions for corners and start/end cap. |
| outline_radius | Radius of the new outline strokes. |
| outline_offset | Offset of the outline from the original stroke. |
| material_index | The material index for the new outline strokes. |
is_cyclic_curve
Definition at line 682 of file grease_pencil_geom.cc.
References blender::bke::CurvesGeometry::attributes(), blender::math::average(), create_curves_outline(), GP_STROKE_CAP_ROUND, blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), blender::bke::AttributeAccessor::lookup_or_default(), blender::bke::CurvesGeometry::positions(), blender::bke::greasepencil::Drawing::radii(), blender::Span< T >::size(), blender::VArrayCommon< T >::size(), blender::bke::greasepencil::Drawing::strokes(), and blender::math::to_scale().
Referenced by create_curves_outline(), and blender::modify_drawing().
|
static |
Definition at line 1131 of file grease_pencil_add.cc.
References blender::MutableSpan< T >::copy_from(), CURVE_TYPE_POLY, blender::bke::SpanAttributeWriter< T >::finish(), blender::Span< T >::last(), blender::Span< T >::size(), and blender::bke::SpanAttributeWriter< T >::span.
Referenced by create_stroke(), and create_suzanne().
| void blender::ed::greasepencil::create_keyframe_edit_data_selected_frames_list | ( | KeyframeEditData * | ked, |
| const bke::greasepencil::Layer & | layer ) |
Definition at line 328 of file grease_pencil_frames.cc.
References append_frame_to_key_edit_data(), and BLI_assert.
| void blender::ed::greasepencil::create_stroke | ( | Main & | bmain, |
| Object & | object, | ||
| const float4x4 & | matrix, | ||
| const int | frame_number ) |
Definition at line 1188 of file grease_pencil_add.cc.
References add_material_from_template(), create_drawing_data(), DATA_, gp_fill_material_grey, gp_stroke_material_black, gp_stroke_material_blue, gp_stroke_material_green, gp_stroke_material_red, gp_stroke_material_white, stroke_opacities(), stroke_positions(), stroke_radii(), blender::bke::greasepencil::Drawing::strokes_for_write(), and blender::bke::greasepencil::Drawing::tag_topology_changed().
Referenced by blender::ed::object::object_grease_pencil_add_exec().
| void blender::ed::greasepencil::create_suzanne | ( | Main & | bmain, |
| Object & | object, | ||
| const float4x4 & | matrix, | ||
| const int | frame_number ) |
Definition at line 1215 of file grease_pencil_add.cc.
References add_material_from_template(), create_drawing_data(), DATA_, gp_monkey_material_black, gp_monkey_material_eyes, gp_monkey_material_pupils, gp_monkey_material_skin, gp_monkey_material_skin_light, gp_monkey_material_skin_shadow, monkey_fill_offsets(), monkey_fill_opacities(), monkey_fill_positions(), monkey_fill_radii(), monkey_line_offsets(), monkey_line_opacities(), monkey_line_positions(), monkey_line_radii(), blender::bke::greasepencil::Drawing::strokes_for_write(), and blender::bke::greasepencil::Drawing::tag_topology_changed().
Referenced by blender::ed::object::object_grease_pencil_add_exec().
| int blender::ed::greasepencil::curve_merge_by_distance | ( | const IndexRange | points, |
| const Span< float > | distances, | ||
| const IndexMask & | selection, | ||
| const float | merge_distance, | ||
| MutableSpan< int > | r_merge_indices ) |
Merge points on the same curve that are close together.
Definition at line 179 of file grease_pencil_geom.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::data(), blender::array_utils::fill_index_range(), blender::Array< T, InlineBufferCapacity, Allocator >::first(), pos, and tree.
|
static |
Definition at line 451 of file grease_pencil_frames.cc.
References blender::bke::AttributeAccessor::all_ids(), blender::bke::CurvesGeometry::attributes(), attributes_varrays_not_equal(), attributes_varrays_span_data_equal(), blender::bke::CurvesGeometry::curves_num(), blender::bke::AttributeAccessor::lookup(), blender::bke::CurvesGeometry::offsets(), blender::bke::CurvesGeometry::points_num(), blender::GVArrayCommon::type(), and blender::bke::GAttributeReader::varray.
Referenced by frame_clean_duplicate_exec().
| bke::CurvesGeometry blender::ed::greasepencil::curves_merge_by_distance | ( | const bke::CurvesGeometry & | src_curves, |
| const float | merge_distance, | ||
| const IndexMask & | selection, | ||
| const bke::AttributeFilter & | attribute_filter ) |
Merge points that are close together on each selected curve. Points are not merged across curves.
Definition at line 212 of file grease_pencil_geom.cc.
References blender::bke::curves::copy_only_curve_domain(), blender::bke::CurvesGeometry::curves_num(), blender::bke::CurvesGeometry::curves_range(), blender::bke::CurvesGeometry::cyclic(), blender::bke::CurvesGeometry::ensure_evaluated_lengths(), blender::bke::CurvesGeometry::offsets_for_write(), blender::threading::parallel_for(), blender::bke::CurvesGeometry::points_by_curve(), and blender::bke::CurvesGeometry::points_num().
Referenced by grease_pencil_stroke_merge_by_distance_exec(), and blender::simplify_drawing().
| bke::CurvesGeometry blender::ed::greasepencil::curves_merge_endpoints_by_distance | ( | const ARegion & | region, |
| const bke::CurvesGeometry & | src_curves, | ||
| const float4x4 & | layer_to_world, | ||
| const float | merge_distance, | ||
| const IndexMask & | selection, | ||
| const bke::AttributeFilter & | attribute_filter ) |
Connect selected curve endpoints with the closest endpoints of other curves.
Definition at line 345 of file grease_pencil_geom.cc.
References curves_merge_endpoints_by_distance(), blender::bke::CurvesGeometry::curves_num(), blender::bke::CurvesGeometry::curves_range(), blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::positions(), and tree.
Referenced by curves_merge_endpoints_by_distance().
|
static |
Definition at line 375 of file grease_pencil_fill.cc.
References blender::ed::greasepencil::ImageBufferAccessor::coord_from_index(), Fill, get_flag(), blender::Stack< T, InlineBufferCapacity, Allocator >::is_empty(), blender::ed::greasepencil::ImageBufferAccessor::is_valid_coord(), offset_by_direction, blender::ed::greasepencil::ImageBufferAccessor::pixel_from_coord(), blender::ed::greasepencil::ImageBufferAccessor::pixels(), blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), blender::Stack< T, InlineBufferCapacity, Allocator >::push(), and set_flag().
Referenced by process_image().
|
static |
Definition at line 205 of file grease_pencil_edit.cc.
References blender::math::distance(), blender::math::distance_squared(), interpf(), and pos.
Referenced by grease_pencil_stroke_simplify_exec().
|
static |
Definition at line 240 of file grease_pencil_primitive.cc.
References control_point_colors_and_sizes(), blender::ed::greasepencil::PrimitiveToolOperation::control_points, GPU_COMP_F32, GPU_FETCH_FLOAT, GPU_PRIM_POINTS, GPU_program_point_size(), GPU_SHADER_3D_POINT_VARYING_SIZE_VARYING_COLOR, GPU_vertformat_attr_add(), immAttr1f(), immAttr4f(), immBegin(), immBindBuiltinProgram(), immEnd(), immUnbindProgram(), immVertex3fv(), immVertexFormat(), blender::ed::greasepencil::PrimitiveToolOperation::placement, point, blender::ed::greasepencil::DrawingPlacement::to_world_space(), and blender::math::transform_point().
Referenced by grease_pencil_primitive_draw().
|
static |
Definition at line 1863 of file grease_pencil_edit.cc.
References BKE_grease_pencil_add(), Object::data, duplicate_grease_pencil_object(), GreasePencil::id, Object::mode, ID::name, OB_MODE_OBJECT, Base::object, and USER_DUP_ACT.
Referenced by duplicate_grease_pencil_object(), grease_pencil_separate_layer(), grease_pencil_separate_material(), and grease_pencil_separate_selected().
|
static |
Definition at line 1113 of file grease_pencil_layers.cc.
References Active, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::clear(), blender::bke::greasepencil::Layer::frame_at(), blender::bke::greasepencil::Layer::frames(), blender::bke::greasepencil::Layer::frames_for_write(), blender::bke::greasepencil::Layer::get_frame_duration_at(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::items().
Referenced by grease_pencil_layer_duplicate_object_exec().
| bool blender::ed::greasepencil::duplicate_selected_frames | ( | GreasePencil & | grease_pencil, |
| bke::greasepencil::Layer & | layer ) |
Creates duplicate frames for each selected frame in the layer. The duplicates are stored in the LayerTransformData structure of the layer runtime data. This function also deselects the selected frames, while keeping the duplicates selected.
Definition at line 151 of file grease_pencil_frames.cc.
References GreasePencilFrame::drawing_index, GP_FRAME_SELECTED, and GreasePencil::runtime.
Referenced by duplicate_action_keys().
| bool blender::ed::greasepencil::editable_grease_pencil_point_selection_poll | ( | bContext * | C | ) |
Definition at line 71 of file grease_pencil_ops.cc.
References CTX_data_tool_settings(), editable_grease_pencil_poll(), GP_SELECTMODE_STROKE, and ToolSettings::gpencil_selectmode_edit.
Referenced by GREASE_PENCIL_OT_dissolve(), GREASE_PENCIL_OT_extrude(), GREASE_PENCIL_OT_select_alternate(), GREASE_PENCIL_OT_select_ends(), GREASE_PENCIL_OT_select_less(), GREASE_PENCIL_OT_select_linked(), GREASE_PENCIL_OT_select_more(), GREASE_PENCIL_OT_select_similar(), and GREASE_PENCIL_OT_stroke_simplify().
| bool blender::ed::greasepencil::editable_grease_pencil_poll | ( | bContext * | C | ) |
Definition at line 53 of file grease_pencil_ops.cc.
References CTX_data_active_object(), ED_operator_object_active_editable_ex(), and OB_GREASE_PENCIL.
Referenced by editable_grease_pencil_point_selection_poll(), GREASE_PENCIL_OT_caps_set(), GREASE_PENCIL_OT_copy(), GREASE_PENCIL_OT_cyclical_set(), GREASE_PENCIL_OT_delete(), GREASE_PENCIL_OT_delete_frame(), GREASE_PENCIL_OT_duplicate(), GREASE_PENCIL_OT_material_select(), GREASE_PENCIL_OT_move_to_layer(), GREASE_PENCIL_OT_reproject(), GREASE_PENCIL_OT_reset_uvs(), GREASE_PENCIL_OT_select_all(), GREASE_PENCIL_OT_select_random(), GREASE_PENCIL_OT_separate(), GREASE_PENCIL_OT_set_active_material(), GREASE_PENCIL_OT_set_curve_resolution(), GREASE_PENCIL_OT_set_curve_type(), GREASE_PENCIL_OT_set_handle_type(), GREASE_PENCIL_OT_set_selection_mode(), GREASE_PENCIL_OT_set_uniform_opacity(), GREASE_PENCIL_OT_set_uniform_thickness(), GREASE_PENCIL_OT_stroke_material_set(), GREASE_PENCIL_OT_stroke_merge_by_distance(), GREASE_PENCIL_OT_stroke_reorder(), GREASE_PENCIL_OT_stroke_smooth(), GREASE_PENCIL_OT_stroke_switch_direction(), GREASE_PENCIL_OT_texture_gradient(), grease_pencil_paste_strokes_poll(), and grease_pencil_snap_poll().
| bool blender::ed::greasepencil::ensure_active_keyframe | ( | const Scene & | scene, |
| GreasePencil & | grease_pencil, | ||
| bke::greasepencil::Layer & | layer, | ||
| bool | duplicate_previous_key, | ||
| bool & | r_inserted_keyframe ) |
Check for an active keyframe at the current scene time. When there is not, create one when auto-key is on (taking additive drawing setting into account).
Definition at line 340 of file grease_pencil_frames.cc.
References BLI_assert, GP_TOOL_FLAG_RETAIN_LAST, and blender::animrig::is_autokey_on().
Referenced by grease_pencil_draw_operator_invoke(), grease_pencil_paste_strokes_exec(), blender::ed::sculpt_paint::grease_pencil_sculpt_paint_invoke(), and blender::ed::sculpt_paint::grease_pencil_vertex_brush_stroke_invoke().
|
static |
Definition at line 2212 of file grease_pencil_edit.cc.
References ensure_grease_pencil_clipboard(), grease_pencil_clipboard, grease_pencil_clipboard_lock, and lock.
Referenced by clipboard_curves(), clipboard_materials_remap(), clipboard_paste_strokes(), ensure_grease_pencil_clipboard(), and grease_pencil_copy_strokes_exec().
|
static |
Definition at line 40 of file grease_pencil_bake_animation.cc.
References ptr, RNA_int_get(), and RNA_int_set().
Referenced by GREASE_PENCIL_OT_bake_grease_pencil_animation().
|
static |
Definition at line 405 of file grease_pencil_fill.cc.
References blender::ed::greasepencil::ImageBufferAccessor::coord_from_index(), Fill, get_flag(), blender::Stack< T, InlineBufferCapacity, Allocator >::is_empty(), blender::ed::greasepencil::ImageBufferAccessor::is_valid_coord(), offset_by_direction, blender::ed::greasepencil::ImageBufferAccessor::pixel_from_coord(), blender::ed::greasepencil::ImageBufferAccessor::pixels(), blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), blender::Stack< T, InlineBufferCapacity, Allocator >::push(), and set_flag().
Referenced by process_image().
|
static |
Apply the stroke trim to a drawing.
Definition at line 40 of file grease_pencil_trim.cc.
References blender::bke::crazyspace::get_evaluated_grease_pencil_drawing_deformation(), blender::threading::parallel_for(), blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::points_num(), blender::bke::CurvesGeometry::points_range(), and blender::bke::greasepencil::Drawing::strokes().
Referenced by stroke_trim_execute().
Definition at line 3218 of file grease_pencil_edit.cc.
References expand_4x2_mat().
Referenced by expand_4x2_mat(), and grease_pencil_texture_gradient_exec().
|
static |
Definition at line 2613 of file grease_pencil_edit.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Vector< T, InlineBufferCapacity, Allocator >::as_mutable_span(), blender::Vector< T, InlineBufferCapacity, Allocator >::as_span(), blender::bke::CurvesGeometry::attributes(), blender::bke::CurvesGeometry::attributes_for_write(), CD_PROP_BOOL, blender::bke::CurvesGeometry::curves_num(), blender::bke::CurvesGeometry::curves_range(), blender::bke::CurvesGeometry::cyclic(), blender::bke::CurvesGeometry::cyclic_for_write(), blender::MutableSpan< T >::drop_back(), blender::MutableSpan< T >::drop_front(), extrude_grease_pencil_curves(), blender::MutableSpan< T >::fill(), blender::IndexRange::first(), blender::index_mask::IndexMask::foreach_index(), blender::VArrayCommon< T >::get_if_single(), blender::Vector< T, InlineBufferCapacity, Allocator >::insert(), blender::IndexRange::last(), blender::bke::CurvesGeometry::offsets_for_write(), blender::bke::CurvesGeometry::points_by_curve(), blender::bke::CurvesGeometry::points_num(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), blender::index_mask::IndexMask::slice_content(), and blender::bke::CurvesGeometry::update_curve_types().
Referenced by extrude_grease_pencil_curves(), and grease_pencil_extrude_exec().
| bke::CurvesGeometry blender::ed::greasepencil::fill_strokes | ( | const ViewContext & | view_context, |
| const Brush & | brush, | ||
| const Scene & | scene, | ||
| const bke::greasepencil::Layer & | layer, | ||
| const VArray< bool > & | boundary_layers, | ||
| Span< DrawingInfo > | src_drawings, | ||
| bool | invert, | ||
| const std::optional< float > | alpha_threshold, | ||
| const float2 & | fill_point, | ||
| const ExtensionData & | extensions, | ||
| FillToolFitMethod | fit_method, | ||
| int | stroke_material_index, | ||
| bool | keep_images ) |
Fill tool for generating strokes in empty areas.
This uses an approximate render of strokes and boundaries, then fills the image starting from the mouse position. The outlines of the filled pixel areas are returned as curves.
| layer | The layer containing the new stroke, used for reprojecting from images. |
| boundary_layers | Layers that are purely for boundaries, regular strokes are not rendered. |
| src_drawings | Drawings to include as boundary strokes. |
| invert | Construct boundary around empty areas instead. |
| alpha_threshold | Render transparent stroke where opacity is below the threshold. |
| fill_point | Point from which to start the bucket fill. |
| fit_method | View fitting method to include all strokes. |
| stroke_material_index | Material index to use for the new strokes. |
| keep_images | Keep the image data block after generating curves. |
Definition at line 994 of file grease_pencil_fill.cc.
References attr_material_index, blender::bke::CurvesGeometry::attributes(), BKE_id_free(), BLI_assert, BLI_SCOPED_DEFER, ViewContext::bmain, DEG_get_evaluated_object(), depsgraph, ViewContext::depsgraph, draw_boundary_color, draw_seed_color, blender::ed::greasepencil::ExtensionData::ends, BrushGpencilSettings::fill_factor, fill_strokes(), fit_strokes_to_view(), get_stroke_colors(), get_visible_boundary_strokes(), Brush::gpencil_settings, GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, GPU_depth_mask(), int2, invert(), blender::IndexRange::is_empty(), blender::ed::greasepencil::ExtensionData::lines, blender::math::max(), OB_GREASE_PENCIL, ViewContext::obact, process_image(), blender::ed::greasepencil::DrawingPlacement::project(), ViewContext::region, ViewContext::rv3d, blender::math::safe_divide(), blender::IndexRange::size(), blender::ed::greasepencil::ExtensionData::starts, ViewContext::v3d, and RegionView3D::viewmat.
Referenced by fill_strokes(), and retrieve_editable_fill_strokes().
| void blender::ed::greasepencil::find_curve_intersections | ( | const bke::CurvesGeometry & | curves, |
| const IndexMask & | curve_mask, | ||
| const Span< float2 > | screen_space_positions, | ||
| const Curves2DBVHTree & | tree_data, | ||
| IndexRange | tree_data_range, | ||
| MutableSpan< bool > | r_hits, | ||
| std::optional< MutableSpan< float > > | r_first_intersect_factors, | ||
| std::optional< MutableSpan< float > > | r_last_intersect_factors ) |
Find intersections between curves and accurate cut positions.
Note: Index masks for target and intersecting curves can have any amount of overlap, including equal or fully separate masks. A curve can be self-intersecting by being in both masks.
| curves | Curves geometry for both target and cutter curves. |
| screen_space_positions | Screen space positions computed in advance. |
| target_curves | Set of curves that will be intersected. |
| intersecting_curves | Set of curves that create cuts on target curves. |
| r_hits | True for points with at least one intersection. |
| r_first_intersect_factors | Smallest cut factor in the interval (optional). |
| r_last_intersect_factors | Largest cut factor in the interval (optional). |
Definition at line 1430 of file grease_pencil_geom.cc.
References BLI_bvhtree_ray_cast(), callback, blender::math::distance(), ELEM, blender::MutableSpan< T >::fill(), find_curve_intersections(), FLT_MAX, blender::index_mask::IndexMask::foreach_index(), BVHTreeRayHit::index, int, is_cyclic(), blender::math::isect_seg_seg(), length(), blender::math::normalize_and_get_length(), and blender::ed::greasepencil::Curves2DBVHTree::tree.
Referenced by find_curve_intersections(), and find_curve_segments().
| CurveSegmentsData blender::ed::greasepencil::find_curve_segments | ( | const bke::CurvesGeometry & | curves, |
| const IndexMask & | curve_mask, | ||
| const Span< float2 > | screen_space_positions, | ||
| const Curves2DBVHTree & | tree_data, | ||
| IndexRange | tree_data_range ) |
Find segments between intersections.
Note: Index masks for target and intersecting curves can have any amount of overlap, including equal or fully separate masks. A curve can be self-intersecting by being in both masks.
| curves | Curves geometry for both target and cutter curves. |
| curve_mask | Set of curves that will be intersected. |
| screen_space_positions | Screen space positions computed in advance. |
| tree_data | Screen-space BVH tree of the intersecting curves. |
| r_curve_starts | Start index for segments of each curve. Shift the curve points index range to ensure contiguous segments with cyclic curves. |
| r_segments_by_curve | Offsets for segments in each curve. |
| r_points_by_segment | Offsets for point range of each segment. Index ranges can exceed original curve range and must be wrapped around. |
| r_start_factors | Factor (-1..0) previous segment to prepend. |
| r_end_factors | Factor (0..1) of last segment to append. |
Definition at line 1546 of file grease_pencil_geom.cc.
References find_curve_intersections(), find_curve_segments(), blender::index_mask::IndexMask::foreach_index(), is_cyclic(), blender::IndexRange::is_empty(), blender::Array< T, InlineBufferCapacity, Allocator >::reinitialize(), result, blender::ed::greasepencil::CurveSegmentsData::segment_offsets, blender::index_mask::IndexMask::size(), blender::index_mask::IndexMask::slice_content(), and blender::offset_indices::OffsetIndices< T >::total_size().
Referenced by apply_mask_as_segment_selection(), and find_curve_segments().
|
static |
Definition at line 57 of file grease_pencil_merge.cc.
References BLI_assert, blender::Span< T >::first(), get_sorted_layer_parents(), blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), blender::Vector< T, InlineBufferCapacity, Allocator >::last(), blender::Vector< T, InlineBufferCapacity, Allocator >::resize(), blender::Span< T >::size(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
Referenced by merge_layers().
|
static |
Definition at line 1878 of file grease_pencil_edit.cc.
References find_or_create_layer_in_dst_by_name().
Referenced by find_or_create_layer_in_dst_by_name(), grease_pencil_separate_layer(), grease_pencil_separate_material(), and grease_pencil_separate_selected().
|
static |
Definition at line 927 of file grease_pencil_fill.cc.
References BLI_assert, bounds(), blender::math::clamp(), DEG_get_evaluated_object(), ViewContext::depsgraph, fit_strokes_to_view(), get_boundary_bounds(), get_region_bounds(), blender::math::max(), blender::math::min(), ViewContext::obact, blender::math::reduce_max(), ViewContext::region, ViewContext::rv3d, blender::math::safe_divide(), blender::math::safe_rcp(), UNUSED_VARS, rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by fill_strokes(), and fit_strokes_to_view().
| FillResult blender::ed::greasepencil::flood_fill | ( | ImageBufferAccessor & | buffer, |
| const int | leak_filter_width = 0 ) |
Definition at line 260 of file grease_pencil_fill.cc.
References Border, BorderContact, Cancel, blender::ed::greasepencil::ImageBufferAccessor::coord_from_index(), Fill, get_flag(), blender::ed::greasepencil::ImageBufferAccessor::height(), Ignore, blender::ed::greasepencil::ImageBufferAccessor::index_from_coord(), blender::Stack< T, InlineBufferCapacity, Allocator >::is_empty(), blender::ed::greasepencil::ImageBufferAccessor::pixel_from_coord(), blender::ed::greasepencil::ImageBufferAccessor::pixels(), blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), blender::Stack< T, InlineBufferCapacity, Allocator >::push(), Seed, set_flag(), Stroke, Success, and blender::ed::greasepencil::ImageBufferAccessor::width().
Referenced by process_image().
|
static |
Definition at line 227 of file grease_pencil_weight_paint.cc.
References bArmature::bonebase, ListBase::first, and foreach_bone_in_armature_ex().
Referenced by add_armature_vertex_groups(), and get_skinnable_bones_and_deform_group_names().
|
static |
Definition at line 209 of file grease_pencil_weight_paint.cc.
References Bone::childbase, count, ListBase::first, foreach_bone_in_armature_ex(), and Bone::next.
Referenced by foreach_bone_in_armature(), and foreach_bone_in_armature_ex().
|
static |
Callback for each segment. Each segment can have two point ranges, one of them may be empty. Returns the total number of segments, or zero if the curve is cyclic and can be regarded as a single contiguous range.
void fn(int segment_index, IndexRange point_range1, IndexRange point_range2);
Definition at line 55 of file grease_pencil_select.cc.
References clamp_range(), blender::IndexRange::first(), blender::IndexRange::from_begin_end(), blender::IndexRange::from_begin_end_inclusive(), blender::IndexRange::last(), blender::ed::greasepencil::CurveSegmentsData::segment_offsets, blender::ed::greasepencil::CurveSegmentsData::segment_start_fractions, blender::ed::greasepencil::CurveSegmentsData::segment_start_points, and blender::IndexRange::size().
|
static |
Definition at line 506 of file grease_pencil_frames.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Vector< T, InlineBufferCapacity, Allocator >::as_span(), CTX_data_active_object(), curves_geometry_is_equal(), DEG_id_tag_update(), blender::IndexRange::drop_back(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), NA_EDITED, NC_GEOM, NC_GPENCIL, ND_DATA, next, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), blender::bke::greasepencil::Drawing::strokes_for_write(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_frame_clean_duplicate().
| void blender::ed::greasepencil::free_curves_2d_bvh_data | ( | Curves2DBVHTree & | data | ) |
Definition at line 1419 of file grease_pencil_geom.cc.
References BLI_bvhtree_free(), and free_curves_2d_bvh_data().
Referenced by free_curves_2d_bvh_data().
| GreasePencil * blender::ed::greasepencil::from_context | ( | bContext & | C | ) |
Definition at line 1585 of file grease_pencil_utils.cc.
References CTX_data_active_object(), CTX_data_pointer_get_type(), PointerRNA::data, from_context(), and OB_GREASE_PENCIL.
Referenced by active_grease_pencil_layer_poll(), from_context(), grease_pencil_context_poll(), grease_pencil_layer_add_exec(), grease_pencil_layer_duplicate_exec(), grease_pencil_layer_group_add_exec(), grease_pencil_layer_group_color_tag_exec(), grease_pencil_layer_hide_exec(), grease_pencil_layer_isolate_exec(), grease_pencil_layer_lock_all_exec(), grease_pencil_layer_mask_add_exec(), grease_pencil_layer_mask_remove_exec(), grease_pencil_layer_mask_reorder_exec(), grease_pencil_layer_move_exec(), grease_pencil_layer_move_poll(), grease_pencil_layer_remove_exec(), grease_pencil_layer_reveal_exec(), and uiTemplateGreasePencilLayerTree().
|
static |
Definition at line 438 of file grease_pencil_geom.cc.
References blender::math::abs(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::math::atan2(), blender::math::cos(), blender::math::dot(), float, generate_arc_from_point_to_point(), blender::math::is_zero(), M_PI, blender::math::sin(), and blender::VecBase< T, Size >::xy().
Referenced by generate_arc_from_point_to_point(), generate_cap(), and generate_corner().
|
static |
Definition at line 485 of file grease_pencil_geom.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), BLI_assert_unreachable, generate_arc_from_point_to_point(), generate_cap(), GP_STROKE_CAP_FLAT, GP_STROKE_CAP_MAX, GP_STROKE_CAP_ROUND, and blender::math::normalize().
Referenced by generate_cap(), and generate_stroke_perimeter().
|
static |
Definition at line 520 of file grease_pencil_geom.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::math::dot(), generate_arc_from_point_to_point(), generate_corner(), blender::math::length(), blender::math::normalize(), and xy.
Referenced by generate_corner(), and generate_stroke_perimeter().
|
static |
Definition at line 565 of file grease_pencil_geom.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), b, generate_cap(), generate_corner(), generate_stroke_perimeter(), is_cyclic(), blender::math::normalize(), blender::Span< T >::size(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), and blender::Span< T >::slice().
Referenced by generate_stroke_perimeter().
|
static |
Definition at line 76 of file grease_pencil_bake_animation.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), CTX_data_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, depsgraph, free_object_duplilist(), LISTBASE_FOREACH, OB_EMPTY, OB_GREASE_PENCIL, object_duplilist(), and Object::type.
Referenced by bake_grease_pencil_animation_exec().
| Set< std::string > blender::ed::greasepencil::get_bone_deformed_vertex_group_names | ( | const Object & | object | ) |
Returns a set of vertex group names that are deformed by a bone in an armature.
Definition at line 39 of file grease_pencil_weight_paint.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), BKE_modifiers_get_virtual_modifierlist(), BKE_object_defgroup_list(), BONE_NO_DEFORM, bPose::chanbase, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), eModifierMode_Realtime, eModifierMode_Virtual, eModifierType_Armature, LISTBASE_FOREACH, ModifierData::mode, ModifierData::next, ArmatureModifierData::object, Object::pose, and ModifierData::type.
Referenced by blender::ed::sculpt_paint::greasepencil::WeightPaintOperation::get_locked_and_bone_deformed_vertex_groups().
|
static |
Definition at line 853 of file grease_pencil_fill.cc.
References attr_material_index, blender::bke::CurvesGeometry::attributes(), BKE_object_material_get(), BLI_assert, BLI_rctf_init_minmax(), BLI_rctf_init_pt_radius(), BLI_rctf_union(), bounds(), ED_view3d_pixel_size(), ED_view3d_project_float_global(), MaterialGPencilStyle::flag, blender::index_mask::IndexMask::foreach_index(), get_boundary_bounds(), get_visible_boundary_strokes(), GP_MATERIAL_HIDE, Material::gp_style, OB_GREASE_PENCIL, blender::bke::CurvesGeometry::points_by_curve(), blender::math::transform_point(), V3D_PROJ_RET_OK, and V3D_PROJ_TEST_NOP.
Referenced by fit_strokes_to_view(), and get_boundary_bounds().
|
static |
Definition at line 166 of file grease_pencil_primitive.cc.
References BLI_assert, control_points_per_segment(), ELEM, HandlePoint, JoinPoint, blender::math::mod(), and blender::ed::greasepencil::PrimitiveToolOperation::type.
Referenced by control_point_colors_and_sizes(), grease_pencil_primitive_mouse_event(), and primitive_check_ui_hover().
|
static |
Definition at line 581 of file grease_pencil_utils.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Vector< T, InlineBufferCapacity, Allocator >::as_span(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), and get_editable_frames_for_layer().
Referenced by get_editable_frames_for_layer(), retrieve_editable_drawings(), retrieve_editable_drawings_from_layer(), retrieve_editable_drawings_from_layer_with_falloff(), and retrieve_editable_drawings_with_falloff().
|
static |
Definition at line 856 of file grease_pencil_utils.cc.
References blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), BKE_object_material_get(), BLI_assert, get_editable_material_indices(), GP_MATERIAL_HIDE, GP_MATERIAL_LOCKED, and OB_GREASE_PENCIL.
Referenced by get_editable_material_indices(), retrieve_editable_points(), retrieve_editable_strokes(), and retrieve_editable_strokes_by_material().
|
static |
Definition at line 888 of file grease_pencil_utils.cc.
References blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), BKE_object_material_get(), BLI_assert, get_fill_material_indices(), GP_MATERIAL_FILL_SHOW, and OB_GREASE_PENCIL.
Referenced by get_fill_material_indices(), and retrieve_editable_fill_strokes().
| GreasePencilLineartModifierData * blender::ed::greasepencil::get_first_lineart_modifier | ( | const Object & | ob | ) |
Definition at line 88 of file grease_pencil_lineart.cc.
References eModifierType_GreasePencilLineart, LISTBASE_FOREACH, and Object::modifiers.
Referenced by blender::modify_geometry_set().
|
static |
Definition at line 163 of file grease_pencil_fill.cc.
References flag.
Referenced by build_fill_boundary(), dilate(), erode(), flood_fill(), and invert_fill().
|
static |
Definition at line 461 of file grease_pencil_utils.cc.
References ELEM, GreasePencilOnionSkinningSettings::filter, GreasePencilOnionSkinningSettings::flag, get_frame_id(), GP_ONION_SKINNING_MODE_ABSOLUTE, GP_ONION_SKINNING_MODE_RELATIVE, GP_ONION_SKINNING_MODE_SELECTED, GP_ONION_SKINNING_SHOW_LOOP, GreasePencilOnionSkinningSettings::mode, GreasePencilOnionSkinningSettings::num_frames_after, GreasePencilOnionSkinningSettings::num_frames_before, and GreasePencilFrame::type.
Referenced by get_frame_id(), and get_visible_frames_for_layer().
|
static |
Definition at line 873 of file grease_pencil_utils.cc.
References blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), BKE_object_material_get(), BLI_assert, get_hidden_material_indices(), GP_MATERIAL_HIDE, and OB_GREASE_PENCIL.
Referenced by get_hidden_material_indices(), retrieve_visible_points(), and retrieve_visible_strokes().
| void blender::ed::greasepencil::get_lineart_modifier_limits | ( | const Object & | ob, |
| blender::ed::greasepencil::LineartLimitInfo & | info ) |
Definition at line 47 of file grease_pencil_lineart.cc.
References blender::ed::greasepencil::LineartLimitInfo::edge_types, eModifierType_GreasePencilLineart, LISTBASE_FOREACH, blender::ed::greasepencil::LineartLimitInfo::max_level, blender::ed::greasepencil::LineartLimitInfo::min_level, MOD_LINEART_USE_CACHE, Object::modifiers, blender::ed::greasepencil::LineartLimitInfo::shadow_selection, and blender::ed::greasepencil::LineartLimitInfo::silhouette_selection.
Referenced by bake_single_target(), and blender::modify_geometry_set().
|
static |
Definition at line 439 of file grease_pencil_utils.cc.
References get_minmax_selected_frame_numbers(), blender::math::max(), and blender::math::min().
Referenced by get_minmax_selected_frame_numbers(), retrieve_editable_drawings_from_layer_with_falloff(), and retrieve_editable_drawings_with_falloff().
|
static |
Definition at line 95 of file grease_pencil_frames.cc.
References TimeMarker::frame, MIRROR_KEYS_CURFRAME, MIRROR_KEYS_MARKER, MIRROR_KEYS_XAXIS, and MIRROR_KEYS_YAXIS.
Referenced by mirror_selected_frames().
|
static |
Definition at line 414 of file grease_pencil_utils.cc.
References BKE_curvemapping_evaluateF(), float, and get_multi_frame_falloff().
Referenced by get_multi_frame_falloff(), retrieve_editable_drawings_from_layer_with_falloff(), retrieve_editable_drawings_grouped_per_frame(), and retrieve_editable_drawings_with_falloff().
|
static |
Definition at line 547 of file grease_pencil_edit.cc.
References BLI_assert, ELEM, and get_points_to_dissolve().
Referenced by get_points_to_dissolve(), and grease_pencil_dissolve_exec().
Definition at line 842 of file grease_pencil_fill.cc.
References BLI_rctf_init(), and get_region_bounds().
Referenced by fit_strokes_to_view(), and get_region_bounds().
|
static |
Definition at line 1563 of file grease_pencil_edit.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_mutable_span(), B, blender::index_mask::IndexMask::complement(), ELEM, get_reordered_indices(), blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), indices, blender::IndexRange::last(), pos, and blender::IndexRange::size().
Referenced by get_reordered_indices(), and grease_pencil_stroke_reorder_exec().
|
static |
Definition at line 282 of file grease_pencil_weight_paint.cc.
References get_root_and_tips_of_bones(), and blender::Span< T >::index_range().
Referenced by add_armature_automatic_weights(), add_armature_envelope_weights(), and get_root_and_tips_of_bones().
|
static |
Definition at line 120 of file grease_pencil_bake_animation.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), BKE_animdata_from_id(), BezTriple::f2, blender::animrig::legacy::fcurves_for_assigned_action(), SELECT, and BezTriple::vec.
Referenced by bake_grease_pencil_animation_exec().
|
static |
Definition at line 255 of file grease_pencil_weight_paint.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), BONE_NO_DEFORM, Bone::flag, foreach_bone_in_armature(), and get_skinnable_bones_and_deform_group_names().
Referenced by add_armature_automatic_weights(), add_armature_envelope_weights(), and get_skinnable_bones_and_deform_group_names().
|
static |
Definition at line 49 of file grease_pencil_frames.cc.
References ED_markers_find_nearest_marker_time(), floorf, SNAP_KEYS_CURFRAME, SNAP_KEYS_NEARMARKER, and SNAP_KEYS_NEARSEC.
Referenced by snap_selected_frames().
|
static |
Definition at line 44 of file grease_pencil_merge.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Vector< T, InlineBufferCapacity, Allocator >::begin(), and blender::Vector< T, InlineBufferCapacity, Allocator >::end().
Referenced by find_lowest_common_ancestor().
|
static |
Definition at line 813 of file grease_pencil_fill.cc.
References blender::VArray< T >::ForSingle(), and blender::threading::parallel_for().
Referenced by fill_strokes().
|
static |
Definition at line 764 of file grease_pencil_fill.cc.
References attr_is_boundary, attr_material_index, blender::bke::CurvesGeometry::attributes(), BKE_object_material_get(), blender::bke::Curve, blender::bke::CurvesGeometry::curves_range(), blender::ed::greasepencil::DrawingInfo::drawing, MaterialGPencilStyle::flag, blender::index_mask::IndexMask::from_predicate(), GP_MATERIAL_HIDE, GP_MATERIAL_STROKE_SHOW, blender::bke::CurvesGeometry::points_by_curve(), and blender::bke::greasepencil::Drawing::strokes().
Referenced by fill_strokes(), and get_boundary_bounds().
|
static |
Definition at line 532 of file grease_pencil_utils.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Vector< T, InlineBufferCapacity, Allocator >::as_span(), blender::Span< T >::first(), get_frame_id(), get_visible_frames_for_layer(), blender::Span< T >::index_range(), blender::Span< T >::is_empty(), blender::IndexRange::last(), blender::Span< T >::last(), and GreasePencil::onion_skinning_settings.
Referenced by get_visible_frames_for_layer(), and retrieve_visible_drawings().
|
static |
Definition at line 1438 of file grease_pencil_edit.cc.
References CTX_data_active_object(), CTX_data_scene(), curve, DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, ED_grease_pencil_edit_selection_domain_get(), blender::Array< T, InlineBufferCapacity, Allocator >::first(), gpencil_stroke_subdivide_exec(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::index_mask::IndexMask::is_empty(), blender::ed::greasepencil::MutableDrawingInfo::layer_index, NA_EDITED, NC_GPENCIL, ND_DATA, OPERATOR_FINISHED, point, wmOperator::ptr, retrieve_editable_drawings(), RNA_boolean_get(), RNA_int_get(), blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::tag_topology_changed(), and WM_event_add_notifier().
Referenced by gpencil_stroke_subdivide_exec(), and GREASE_PENCIL_OT_stroke_subdivide().
|
static |
Definition at line 860 of file grease_pencil_frames.cc.
References CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), GreasePencil::id, ID_RECALC_GEOMETRY, NA_EDITED, NC_GPENCIL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), blender::bke::greasepencil::Layer::start_frame_at(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_active_frame_delete().
|
static |
Definition at line 1154 of file grease_pencil_edit.cc.
References CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, ELEM, blender::bke::SpanAttributeWriter< T >::finish(), GP_STROKE_CAP_TYPE_FLAT, GP_STROKE_CAP_TYPE_ROUND, grease_pencil_caps_set_exec(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::index_mask::IndexMask::is_empty(), blender::ed::greasepencil::MutableDrawingInfo::layer_index, NC_GEOM, ND_DATA, OPERATOR_FINISHED, wmOperator::ptr, retrieve_editable_drawings(), RNA_enum_get(), blender::bke::SpanAttributeWriter< T >::span, blender::bke::greasepencil::Drawing::strokes_for_write(), toggle_caps(), and WM_event_add_notifier().
Referenced by grease_pencil_caps_set_exec(), and GREASE_PENCIL_OT_caps_set().
|
static |
Definition at line 1372 of file grease_pencil_edit.cc.
References CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, grease_pencil_clean_loose_exec(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::ed::greasepencil::MutableDrawingInfo::layer_index, NC_GEOM, ND_DATA, OPERATOR_FINISHED, wmOperator::ptr, retrieve_editable_drawings(), RNA_int_get(), blender::offset_indices::OffsetIndices< T >::size(), blender::bke::greasepencil::Drawing::strokes_for_write(), and WM_event_add_notifier().
Referenced by grease_pencil_clean_loose_exec(), and GREASE_PENCIL_OT_clean_loose().
|
static |
Definition at line 1403 of file grease_pencil_edit.cc.
References grease_pencil_clean_loose_invoke(), IFACE_, and WM_operator_props_popup_confirm_ex().
Referenced by grease_pencil_clean_loose_invoke(), and GREASE_PENCIL_OT_clean_loose().
| bool blender::ed::greasepencil::grease_pencil_context_poll | ( | bContext * | C | ) |
Definition at line 28 of file grease_pencil_ops.cc.
References from_context().
Referenced by grease_pencil_layer_move_poll(), GREASE_PENCIL_OT_layer_add(), GREASE_PENCIL_OT_layer_group_add(), GREASE_PENCIL_OT_layer_group_color_tag(), GREASE_PENCIL_OT_layer_group_remove(), GREASE_PENCIL_OT_layer_hide(), GREASE_PENCIL_OT_layer_reorder(), and GREASE_PENCIL_OT_layer_reveal().
| bool blender::ed::greasepencil::grease_pencil_copy_keyframes | ( | bAnimContext * | ac, |
| KeyframeClipboard & | clipboard ) |
Definition at line 611 of file grease_pencil_frames.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIMFILTER_DATA_VISIBLE, ANIMFILTER_LIST_VISIBLE, ANIMFILTER_NODUPLIS, ANIMTYPE_GREASE_PENCIL_LAYER, blender::Vector< T, InlineBufferCapacity, Allocator >::append(), BLI_assert, blender::ed::greasepencil::KeyframeClipboard::cfra, RenderData::cfra, blender::ed::greasepencil::KeyframeClipboard::clear(), blender::ed::greasepencil::KeyframeClipboard::copy_buffer, bAnimContext::data, bAnimContext::datatype, blender::ed::greasepencil::KeyframeClipboard::first_frame, blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), blender::ed::greasepencil::KeyframeClipboard::last_frame, LISTBASE_FOREACH, Scene::r, and bAnimContext::scene.
Referenced by actkeys_copy_exec().
|
static |
Definition at line 2299 of file grease_pencil_edit.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::bke::CurvesGeometry::attributes(), BKE_reportf(), blender::Vector< T, InlineBufferCapacity, Allocator >::clear(), blender::Span< T >::contains(), CTX_data_active_object(), CTX_data_scene(), blender::ed::greasepencil::Clipboard::curves, blender::bke::CurvesGeometry::curves_num(), ED_grease_pencil_edit_selection_domain_get(), ensure_grease_pencil_clipboard(), Curves::geometry, blender::bke::GeometrySet::get_curves_for_write(), grease_pencil_copy_strokes_exec(), join_geometries_with_transform(), GreasePencil::material_array, GreasePencil::material_array_num, blender::ed::greasepencil::Clipboard::materials, blender::ed::greasepencil::Clipboard::materials_in_source_num, OPERATOR_CANCELLED, OPERATOR_FINISHED, blender::bke::CurvesGeometry::points_num(), wmOperator::reports, blender::bke::CurvesGeometry::resize(), retrieve_editable_drawings(), RPT_INFO, and blender::ed::greasepencil::Clipboard::transform.
Referenced by grease_pencil_copy_strokes_exec(), and GREASE_PENCIL_OT_copy().
|
static |
Definition at line 847 of file grease_pencil_edit.cc.
References CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, grease_pencil_cyclical_set_exec(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::index_mask::IndexMask::is_empty(), blender::ed::greasepencil::MutableDrawingInfo::layer_index, NC_GEOM, ND_DATA, OPERATOR_FINISHED, wmOperator::ptr, retrieve_editable_drawings(), RNA_enum_get(), blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::tag_topology_changed(), and WM_event_add_notifier().
Referenced by grease_pencil_cyclical_set_exec(), and GREASE_PENCIL_OT_cyclical_set().
|
static |
Definition at line 468 of file grease_pencil_edit.cc.
References CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, ED_grease_pencil_edit_selection_domain_get(), grease_pencil_delete_exec(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::ed::greasepencil::MutableDrawingInfo::layer_index, NC_GEOM, ND_DATA, OPERATOR_FINISHED, blender::bke::CurvesGeometry::remove_curves(), remove_points_and_split(), retrieve_editable_drawings(), blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::tag_topology_changed(), and WM_event_add_notifier().
Referenced by grease_pencil_delete_exec(), and GREASE_PENCIL_OT_delete().
|
static |
Definition at line 698 of file grease_pencil_edit.cc.
References CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), grease_pencil_delete_frame_exec(), GreasePencil::id, ID_RECALC_GEOMETRY, NA_EDITED, NC_GEOM, NC_GPENCIL, ND_DATA, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), and WM_event_add_notifier().
Referenced by grease_pencil_delete_frame_exec(), and GREASE_PENCIL_OT_delete_frame().
|
static |
Definition at line 609 of file grease_pencil_edit.cc.
References blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, get_points_to_dissolve(), grease_pencil_dissolve_exec(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::ed::greasepencil::MutableDrawingInfo::layer_index, NC_GEOM, ND_DATA, OPERATOR_FINISHED, wmOperator::ptr, retrieve_editable_drawings(), RNA_enum_get(), blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::tag_topology_changed(), and WM_event_add_notifier().
Referenced by grease_pencil_dissolve_exec(), and GREASE_PENCIL_OT_dissolve().
| int blender::ed::greasepencil::grease_pencil_draw_operator_invoke | ( | bContext * | C, |
| wmOperator * | op, | ||
| const bool | use_duplicate_previous_key ) |
Definition at line 1502 of file grease_pencil_utils.cc.
References BKE_paint_brush_for_read(), BKE_paint_get_active_from_context(), BKE_report(), CTX_data_active_object(), CTX_data_scene(), ensure_active_keyframe(), grease_pencil_draw_operator_invoke(), NA_EDITED, NC_GPENCIL, OB_GREASE_PENCIL, OPERATOR_CANCELLED, OPERATOR_RUNNING_MODAL, wmOperator::reports, RPT_ERROR, and WM_event_add_notifier().
Referenced by blender::ed::sculpt_paint::grease_pencil_brush_stroke_invoke(), grease_pencil_draw_operator_invoke(), and grease_pencil_primitive_invoke().
|
static |
Definition at line 1323 of file grease_pencil_edit.cc.
References CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, ED_grease_pencil_edit_selection_domain_get(), grease_pencil_duplicate_exec(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::ed::greasepencil::MutableDrawingInfo::layer_index, NC_GEOM, ND_DATA, OPERATOR_FINISHED, retrieve_editable_and_selected_elements(), retrieve_editable_drawings(), blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::tag_topology_changed(), and WM_event_add_notifier().
Referenced by grease_pencil_duplicate_exec(), and GREASE_PENCIL_OT_duplicate().
| bool blender::ed::greasepencil::grease_pencil_edit_poll | ( | bContext * | C | ) |
Definition at line 114 of file grease_pencil_ops.cc.
References active_grease_pencil_poll(), CTX_data_active_object(), and OB_MODE_EDIT.
Referenced by keymap_grease_pencil_edit_mode().
|
static |
Definition at line 2719 of file grease_pencil_edit.cc.
References CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, extrude_grease_pencil_curves(), grease_pencil_extrude_exec(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::index_mask::IndexMask::is_empty(), blender::ed::greasepencil::MutableDrawingInfo::layer_index, NC_GEOM, ND_DATA, OPERATOR_FINISHED, retrieve_editable_and_selected_points(), retrieve_editable_drawings(), blender::bke::greasepencil::Drawing::strokes(), blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::tag_topology_changed(), and WM_event_add_notifier().
Referenced by grease_pencil_extrude_exec(), and GREASE_PENCIL_OT_extrude().
|
static |
Definition at line 805 of file grease_pencil_frames.cc.
References CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), GreasePencil::id, ID_RECALC_GEOMETRY, NA_EDITED, NC_GPENCIL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), blender::bke::greasepencil::Layer::start_frame_at(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_frame_duplicate().
|
static |
Definition at line 346 of file grease_pencil_layers.cc.
References CTX_data_active_object(), CTX_wm_message_bus(), GreasePencil::id, NA_SELECTED, NC_GPENCIL, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_int_get(), WM_event_add_notifier(), and WM_msg_publish_rna_prop.
Referenced by GREASE_PENCIL_OT_layer_active().
|
static |
Definition at line 87 of file grease_pencil_layers.cc.
References BLI_SCOPED_DEFER, CTX_data_scene(), CTX_wm_message_bus(), DEG_id_tag_update(), from_context(), GreasePencil::id, ID_RECALC_GEOMETRY, MEM_SAFE_FREE, NA_SELECTED, NC_GPENCIL, ND_DATA, OPERATOR_FINISHED, wmOperator::ptr, RNA_string_get_alloc(), WM_event_add_notifier(), and WM_msg_publish_rna_prop.
Referenced by GREASE_PENCIL_OT_layer_add().
|
static |
Definition at line 126 of file grease_pencil_layers.cc.
References BLT_I18NCONTEXT_OPERATOR_DEFAULT, CTX_IFACE_, IFACE_, and WM_operator_props_popup_confirm_ex().
Referenced by GREASE_PENCIL_OT_layer_add().
|
static |
Definition at line 683 of file grease_pencil_layers.cc.
References blender::bke::greasepencil::Layer::as_node(), BKE_reportf(), BLI_assert, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::clear(), CTX_wm_message_bus(), DEG_id_tag_update(), blender::bke::greasepencil::Layer::frames(), blender::bke::greasepencil::Layer::frames_for_write(), from_context(), blender::bke::greasepencil::Layer::get_frame_duration_at(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::items(), NA_SELECTED, NC_GPENCIL, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RPT_ERROR, WM_event_add_notifier(), and WM_msg_publish_rna_prop.
Referenced by GREASE_PENCIL_OT_layer_duplicate().
|
static |
Definition at line 1141 of file grease_pencil_layers.cc.
References CTX_data_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_scene(), Object::data, DEG_id_tag_update(), duplicate_layer_and_frames(), GreasePencil::id, ID_RECALC_GEOMETRY, NA_SELECTED, NC_GPENCIL, ND_DATA, OB_GREASE_PENCIL, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), RNA_enum_get(), Object::type, and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_layer_duplicate_object().
|
static |
Definition at line 393 of file grease_pencil_layers.cc.
References blender::bke::greasepencil::LayerGroup::as_node(), CTX_wm_message_bus(), DEG_id_tag_update(), from_context(), GreasePencil::id, ID_RECALC_GEOMETRY, MEM_SAFE_FREE, NA_EDITED, NC_GEOM, NC_GPENCIL, ND_DATA, OPERATOR_FINISHED, wmOperator::ptr, RNA_string_get_alloc(), WM_event_add_notifier(), and WM_msg_publish_rna_prop.
Referenced by GREASE_PENCIL_OT_layer_group_add().
|
static |
Definition at line 1078 of file grease_pencil_layers.cc.
References GreasePencilLayerTreeGroup::color_tag, DEG_id_tag_update(), from_context(), GreasePencil::id, ID_RECALC_GEOMETRY, NA_SELECTED, NC_GPENCIL, ND_DATA, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_layer_group_color_tag().
|
static |
Definition at line 453 of file grease_pencil_layers.cc.
References CTX_data_active_object(), CTX_wm_message_bus(), DEG_id_tag_update(), GreasePencil::id, ID_RECALC_GEOMETRY, NA_SELECTED, NC_GPENCIL, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), WM_event_add_notifier(), and WM_msg_publish_rna_prop.
Referenced by GREASE_PENCIL_OT_layer_group_remove().
|
static |
Definition at line 497 of file grease_pencil_layers.cc.
References DEG_id_tag_update(), from_context(), GreasePencil::id, ID_RECALC_GEOMETRY, NA_EDITED, NC_GEOM, NC_GPENCIL, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_layer_hide().
|
static |
Definition at line 585 of file grease_pencil_layers.cc.
References DEG_id_tag_update(), from_context(), GreasePencil::id, ID_RECALC_GEOMETRY, NA_EDITED, NC_GEOM, NC_GPENCIL, ND_DATA, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_layer_isolate().
|
static |
Definition at line 643 of file grease_pencil_layers.cc.
References DEG_id_tag_update(), from_context(), GreasePencil::id, ID_RECALC_GEOMETRY, NA_EDITED, NC_GEOM, NC_GPENCIL, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_layer_lock_all().
|
static |
Definition at line 914 of file grease_pencil_layers.cc.
References GreasePencilLayer::active_mask_index, BKE_report(), BLI_addtail(), BLI_findstring(), BLI_listbase_count(), BLI_SCOPED_DEFER, DEG_id_tag_update(), from_context(), GreasePencil::id, ID_RECALC_GEOMETRY, GreasePencilLayer::masks, MEM_SAFE_FREE, NA_SELECTED, NC_GPENCIL, ND_DATA, offsetof, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_string_get_alloc(), RPT_ERROR, and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_layer_mask_add().
|
static |
Definition at line 975 of file grease_pencil_layers.cc.
References GreasePencilLayer::active_mask_index, BLI_findlink(), BLI_remlink(), DEG_id_tag_update(), from_context(), GreasePencil::id, ID_RECALC_GEOMETRY, GreasePencilLayer::masks, NA_SELECTED, NC_GPENCIL, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_layer_mask_remove().
|
static |
Definition at line 1016 of file grease_pencil_layers.cc.
References GreasePencilLayer::active_mask_index, BLI_findlink(), BLI_listbase_link_move(), DEG_id_tag_update(), from_context(), GreasePencil::id, ID_RECALC_GEOMETRY, GreasePencilLayer::masks, NA_SELECTED, NC_GPENCIL, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_layer_mask_reorder().
|
static |
Definition at line 305 of file grease_pencil_layers.cc.
References CTX_wm_message_bus(), DEG_id_tag_update(), Down, from_context(), GreasePencil::id, ID_RECALC_GEOMETRY, NC_GEOM, ND_DATA, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), Up, WM_event_add_notifier(), and WM_msg_publish_rna_prop.
Referenced by GREASE_PENCIL_OT_layer_move().
|
static |
Definition at line 282 of file grease_pencil_layers.cc.
References from_context(), grease_pencil_context_poll(), blender::bke::greasepencil::LayerGroup::num_direct_nodes(), and blender::bke::greasepencil::TreeNode::parent_group().
Referenced by GREASE_PENCIL_OT_layer_move().
| void blender::ed::greasepencil::grease_pencil_layer_parent_clear | ( | bke::greasepencil::Layer & | layer, |
| const bool | keep_transform ) |
Definition at line 58 of file grease_pencil_layers.cc.
References copy_m4_m4(), blender::MatBase< float, 4, 4 >::identity(), MEM_SAFE_FREE, and blender::MatBase< T, NumCol, NumRow, Alignment >::ptr().
| bool blender::ed::greasepencil::grease_pencil_layer_parent_set | ( | bke::greasepencil::Layer & | layer, |
| Object * | parent, | ||
| StringRefNull | bone, | ||
| const bool | keep_transform ) |
Definition at line 36 of file grease_pencil_layers.cc.
References BLI_strdup_null(), blender::StringRefNull::c_str(), copy_m4_m4(), Object::parsubstr, and unit_m4().
|
static |
Definition at line 155 of file grease_pencil_layers.cc.
References CTX_wm_message_bus(), DEG_id_tag_update(), from_context(), GreasePencil::id, ID_RECALC_GEOMETRY, NA_SELECTED, NC_GPENCIL, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, WM_event_add_notifier(), and WM_msg_publish_rna_prop.
Referenced by GREASE_PENCIL_OT_layer_remove().
|
static |
Definition at line 197 of file grease_pencil_layers.cc.
References blender::bke::greasepencil::Layer::as_node(), BLI_assert_unreachable, CTX_data_active_object(), CTX_wm_message_bus(), DEG_id_tag_update(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::bke::greasepencil::TreeNode::is_layer(), LAYER_REORDER_ABOVE, LAYER_REORDER_BELOW, MEM_SAFE_FREE, NC_GEOM, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), RNA_string_get_alloc(), WM_event_add_notifier(), and WM_msg_publish_rna_prop.
Referenced by GREASE_PENCIL_OT_layer_reorder().
|
static |
Definition at line 549 of file grease_pencil_layers.cc.
References DEG_id_tag_update(), from_context(), GreasePencil::id, ID_RECALC_GEOMETRY, NA_EDITED, NC_GEOM, NC_GPENCIL, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_layer_reveal().
|
static |
Definition at line 340 of file grease_pencil_material.cc.
References Object::actcol, BKE_object_material_ensure(), BKE_object_material_get(), CTX_data_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, CTX_data_main(), DEG_id_tag_update(), ID_RECALC_SYNC_TO_EVAL, NA_EDITED, NC_GPENCIL, ND_DATA, OB_GREASE_PENCIL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), Object::totcol, and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_material_copy_to_object().
|
static |
Definition at line 77 of file grease_pencil_material.cc.
References BKE_object_material_get(), CTX_data_active_object(), DEG_id_tag_update(), MaterialGPencilStyle::flag, GP_MATERIAL_HIDE, GreasePencil::id, ID_RECALC_GEOMETRY, ID_RECALC_SYNC_TO_EVAL, invert(), NA_EDITED, NC_GEOM, ND_DATA, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_material_hide().
|
static |
Definition at line 133 of file grease_pencil_material.cc.
References BKE_object_material_get(), CTX_data_active_object(), DEG_id_tag_update(), MaterialGPencilStyle::flag, GP_MATERIAL_LOCKED, GreasePencil::id, ID_RECALC_GEOMETRY, ID_RECALC_SYNC_TO_EVAL, NA_EDITED, NC_GEOM, ND_DATA, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_material_lock_all().
|
static |
Definition at line 264 of file grease_pencil_material.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), BKE_object_material_get(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), MaterialGPencilStyle::flag, blender::index_mask::IndexMask::foreach_index(), blender::VArrayCommon< T >::get_if_single(), GP_MATERIAL_LOCKED, GreasePencil::id, ID_RECALC_GEOMETRY, ID_RECALC_SYNC_TO_EVAL, blender::index_mask::IndexMask::is_empty(), NA_EDITED, NC_GEOM, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, retrieve_editable_and_selected_strokes(), retrieve_editable_drawings(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_material_lock_unselected().
|
static |
Definition at line 220 of file grease_pencil_material.cc.
References BKE_object_material_get(), BKE_object_material_slot_used(), CTX_data_active_object(), DEG_id_tag_update(), MaterialGPencilStyle::flag, GP_MATERIAL_HIDE, GP_MATERIAL_LOCKED, GreasePencil::id, ID_RECALC_GEOMETRY, ID_RECALC_SYNC_TO_EVAL, NA_EDITED, NC_GEOM, ND_DATA, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_material_lock_unused().
|
static |
Definition at line 34 of file grease_pencil_material.cc.
References BKE_gpencil_material(), CTX_data_active_object(), DEG_id_tag_update(), MaterialGPencilStyle::flag, GreasePencil::id, ID_RECALC_GEOMETRY, ID_RECALC_SYNC_TO_EVAL, NA_EDITED, NC_GEOM, ND_DATA, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_material_reveal().
|
static |
Definition at line 948 of file grease_pencil_select.cc.
References CD_PROP_BOOL, CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, grease_pencil_material_select_exec(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::index_mask::IndexMask::is_empty(), NA_EDITED, NC_GEOM, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, retrieve_editable_drawings(), retrieve_editable_strokes_by_material(), RNA_boolean_get(), select(), blender::bke::greasepencil::Drawing::strokes_for_write(), and WM_event_add_notifier().
Referenced by grease_pencil_material_select_exec(), and GREASE_PENCIL_OT_material_select().
|
static |
Definition at line 177 of file grease_pencil_material.cc.
References BKE_object_material_get(), CTX_data_active_object(), DEG_id_tag_update(), MaterialGPencilStyle::flag, GreasePencil::id, ID_RECALC_GEOMETRY, ID_RECALC_SYNC_TO_EVAL, NA_EDITED, NC_GEOM, ND_DATA, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_material_unlock_all().
|
static |
Definition at line 753 of file grease_pencil_layers.cc.
References All, blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::bke::greasepencil::Layer::as_node(), BKE_grease_pencil_copy_parameters(), BKE_grease_pencil_new_nomain(), BKE_grease_pencil_nomain_to_grease_pencil(), BKE_report(), BLI_assert_unreachable, CTX_data_active_object(), CTX_data_main(), CTX_wm_message_bus(), DEG_id_tag_update(), Down, Group, blender::bke::greasepencil::LayerGroup::groups_for_write(), GreasePencil::id, ID_RECALC_GEOMETRY, indices, merge_layers(), N_, NA_SELECTED, NC_GPENCIL, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, GreasePencilLayerTreeNode::prev, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_ERROR, WM_event_add_notifier(), and WM_msg_publish_rna_prop.
Referenced by GREASE_PENCIL_OT_layer_merge().
|
static |
Definition at line 1704 of file grease_pencil_edit.cc.
References blender::bke::greasepencil::TreeNode::as_layer(), BKE_reportf(), BLI_SCOPED_DEFER, CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), Curves::geometry, blender::bke::GeometrySet::get_curves_for_write(), grease_pencil_move_to_layer_exec(), blender::bke::greasepencil::Layer::has_drawing_at(), GreasePencil::id, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, blender::index_mask::IndexMask::is_empty(), blender::bke::greasepencil::TreeNode::is_layer(), MEM_SAFE_FREE, NA_EDITED, NC_GPENCIL, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, blender::bke::CurvesGeometry::remove_curves(), wmOperator::reports, retrieve_editable_drawings(), RNA_boolean_get(), RNA_string_get_alloc(), RPT_ERROR, blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::tag_topology_changed(), and WM_event_add_notifier().
Referenced by grease_pencil_move_to_layer_exec(), grease_pencil_move_to_layer_invoke(), and GREASE_PENCIL_OT_move_to_layer().
|
static |
Definition at line 1785 of file grease_pencil_edit.cc.
References CTX_data_active_object(), grease_pencil_move_to_layer_exec(), grease_pencil_move_to_layer_invoke(), IFACE_, wmOperator::ptr, RNA_boolean_get(), RNA_string_set(), unique_name(), and WM_operator_props_popup_confirm_ex().
Referenced by grease_pencil_move_to_layer_invoke(), and GREASE_PENCIL_OT_move_to_layer().
|
static |
Definition at line 898 of file grease_pencil_frames.cc.
References active_grease_pencil_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_active_frame_delete_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
|
static |
Definition at line 309 of file grease_pencil_bake_animation.cc.
References bake_grease_pencil_animation_exec(), bake_grease_pencil_animation_invoke(), bake_grease_pencil_animation_poll(), wmOperatorType::description, ensure_valid_frame_end(), wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_bake_grease_pencil_animation(), wmOperatorType::idname, int, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), RNA_def_enum(), RNA_def_int(), RNA_def_property_update_runtime(), and wmOperatorType::srna.
Referenced by GREASE_PENCIL_OT_bake_grease_pencil_animation().
|
static |
Definition at line 1222 of file grease_pencil_edit.cc.
References wmOperatorType::description, editable_grease_pencil_poll(), wmOperatorType::exec, wmOperatorType::flag, grease_pencil_caps_set_exec(), GREASE_PENCIL_OT_caps_set(), wmOperatorType::idname, int, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), RNA_ENUM_ITEM_SEPR, wmOperatorType::srna, and WM_menu_invoke().
Referenced by GREASE_PENCIL_OT_caps_set().
|
static |
Definition at line 1409 of file grease_pencil_edit.cc.
References active_grease_pencil_layer_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_clean_loose_exec(), grease_pencil_clean_loose_invoke(), GREASE_PENCIL_OT_clean_loose(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_int(), and wmOperatorType::srna.
Referenced by GREASE_PENCIL_OT_clean_loose().
|
static |
Definition at line 2422 of file grease_pencil_edit.cc.
References wmOperatorType::description, editable_grease_pencil_poll(), wmOperatorType::exec, wmOperatorType::flag, grease_pencil_copy_strokes_exec(), GREASE_PENCIL_OT_copy(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, ot, and wmOperatorType::poll.
Referenced by GREASE_PENCIL_OT_copy().
|
static |
Definition at line 903 of file grease_pencil_edit.cc.
References wmOperatorType::description, editable_grease_pencil_poll(), wmOperatorType::exec, wmOperatorType::flag, grease_pencil_cyclical_set_exec(), GREASE_PENCIL_OT_cyclical_set(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_cyclical_types, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by GREASE_PENCIL_OT_cyclical_set().
|
static |
Definition at line 505 of file grease_pencil_edit.cc.
References wmOperatorType::description, editable_grease_pencil_poll(), wmOperatorType::exec, wmOperatorType::flag, grease_pencil_delete_exec(), GREASE_PENCIL_OT_delete(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by GREASE_PENCIL_OT_delete().
|
static |
Definition at line 731 of file grease_pencil_edit.cc.
References wmOperatorType::description, editable_grease_pencil_poll(), wmOperatorType::exec, wmOperatorType::flag, grease_pencil_delete_frame_exec(), GREASE_PENCIL_OT_delete_frame(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_greasepencil_deleteframe_types, PROP_SKIP_SAVE, RNA_def_enum(), RNA_def_property_flag(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by GREASE_PENCIL_OT_delete_frame().
|
static |
Definition at line 647 of file grease_pencil_edit.cc.
References BLT_I18NCONTEXT_ID_GPENCIL, wmOperatorType::description, editable_grease_pencil_point_selection_poll(), wmOperatorType::exec, wmOperatorType::flag, grease_pencil_dissolve_exec(), GREASE_PENCIL_OT_dissolve(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_dissolve_types, PROP_SKIP_SAVE, RNA_def_enum(), RNA_def_property_flag(), RNA_def_property_translation_context(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by GREASE_PENCIL_OT_dissolve().
|
static |
Definition at line 1360 of file grease_pencil_edit.cc.
References wmOperatorType::description, editable_grease_pencil_poll(), wmOperatorType::exec, wmOperatorType::flag, grease_pencil_duplicate_exec(), GREASE_PENCIL_OT_duplicate(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by GREASE_PENCIL_OT_duplicate().
|
static |
Definition at line 2750 of file grease_pencil_edit.cc.
References wmOperatorType::description, editable_grease_pencil_point_selection_poll(), wmOperatorType::exec, wmOperatorType::flag, grease_pencil_extrude_exec(), GREASE_PENCIL_OT_extrude(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by GREASE_PENCIL_OT_extrude().
|
static |
Definition at line 590 of file grease_pencil_frames.cc.
References active_grease_pencil_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, frame_clean_duplicate_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
|
static |
Definition at line 842 of file grease_pencil_frames.cc.
References active_grease_pencil_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_frame_duplicate_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
|
static |
Definition at line 568 of file grease_pencil_frames.cc.
References active_grease_pencil_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, insert_blank_frame_exec(), MAXFRAME, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_int(), RNA_def_property_flag(), and wmOperatorType::srna.
|
static |
Definition at line 375 of file grease_pencil_layers.cc.
References active_grease_pencil_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_layer_active_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_int(), RNA_def_property_flag(), and wmOperatorType::srna.
|
static |
Definition at line 135 of file grease_pencil_layers.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_context_poll(), grease_pencil_layer_add_exec(), grease_pencil_layer_add_invoke(), wmOperatorType::idname, INT16_MAX, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_SKIP_SAVE, RNA_def_property_flag(), RNA_def_string(), and wmOperatorType::srna.
|
static |
Definition at line 729 of file grease_pencil_layers.cc.
References active_grease_pencil_layer_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_layer_duplicate_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
|
static |
Definition at line 1177 of file grease_pencil_layers.cc.
References Active, active_grease_pencil_layer_poll(), All, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_layer_duplicate_object_exec(), wmOperatorType::idname, int, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), RNA_def_enum(), and wmOperatorType::srna.
|
static |
Definition at line 434 of file grease_pencil_layers.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_context_poll(), grease_pencil_layer_group_add_exec(), wmOperatorType::idname, INT16_MAX, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_SKIP_SAVE, RNA_def_property_flag(), RNA_def_string(), and wmOperatorType::srna.
|
static |
Definition at line 1093 of file grease_pencil_layers.cc.
References wmOperatorType::description, enum_layergroup_color_items, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_context_poll(), grease_pencil_layer_group_color_tag_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), and wmOperatorType::srna.
|
static |
Definition at line 477 of file grease_pencil_layers.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_context_poll(), grease_pencil_layer_group_remove_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
|
static |
Definition at line 528 of file grease_pencil_layers.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_context_poll(), grease_pencil_layer_hide_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
|
static |
Definition at line 624 of file grease_pencil_layers.cc.
References active_grease_pencil_layer_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_layer_isolate_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
|
static |
Definition at line 664 of file grease_pencil_layers.cc.
References active_grease_pencil_layer_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_layer_lock_all_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
|
static |
Definition at line 958 of file grease_pencil_layers.cc.
References active_grease_pencil_layer_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_layer_mask_add_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_string(), and wmOperatorType::srna.
|
static |
Definition at line 1002 of file grease_pencil_layers.cc.
References active_grease_pencil_layer_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_layer_mask_remove_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
|
static |
Definition at line 1048 of file grease_pencil_layers.cc.
References active_grease_pencil_layer_poll(), wmOperatorType::description, enum_layer_move_direction, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_layer_mask_reorder_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), and wmOperatorType::srna.
|
static |
Definition at line 885 of file grease_pencil_layers.cc.
References active_grease_pencil_poll(), All, wmOperatorType::description, Down, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_merge_layer_exec(), Group, wmOperatorType::idname, int, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), and wmOperatorType::srna.
|
static |
Definition at line 330 of file grease_pencil_layers.cc.
References wmOperatorType::description, enum_layer_move_direction, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_layer_move_exec(), grease_pencil_layer_move_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), and wmOperatorType::srna.
|
static |
Definition at line 177 of file grease_pencil_layers.cc.
References active_grease_pencil_layer_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_layer_remove_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
|
static |
Definition at line 249 of file grease_pencil_layers.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_context_poll(), grease_pencil_layer_reorder_exec(), wmOperatorType::idname, INT16_MAX, LAYER_REORDER_ABOVE, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, prop_layer_reorder_location, PROP_SKIP_SAVE, RNA_def_enum(), RNA_def_property_flag(), RNA_def_string(), and wmOperatorType::srna.
|
static |
Definition at line 570 of file grease_pencil_layers.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_context_poll(), grease_pencil_layer_reveal_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
|
static |
Definition at line 380 of file grease_pencil_material.cc.
References active_grease_pencil_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_material_copy_to_object_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
|
static |
Definition at line 109 of file grease_pencil_material.cc.
References active_grease_pencil_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_material_hide_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
|
static |
Definition at line 478 of file grease_pencil_material.cc.
References active_grease_pencil_material_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, material_isolate_exec(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
|
static |
Definition at line 156 of file grease_pencil_material.cc.
References active_grease_pencil_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_material_lock_all_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
|
static |
Definition at line 320 of file grease_pencil_material.cc.
References active_grease_pencil_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_material_lock_unselected_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
|
static |
Definition at line 244 of file grease_pencil_material.cc.
References active_grease_pencil_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_material_lock_unused_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
|
static |
Definition at line 57 of file grease_pencil_material.cc.
References active_grease_pencil_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_material_reveal_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
|
static |
Definition at line 982 of file grease_pencil_select.cc.
References wmOperatorType::description, editable_grease_pencil_poll(), wmOperatorType::exec, wmOperatorType::flag, grease_pencil_material_select_exec(), GREASE_PENCIL_OT_material_select(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by GREASE_PENCIL_OT_material_select().
|
static |
Definition at line 200 of file grease_pencil_material.cc.
References active_grease_pencil_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_material_unlock_all_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
|
static |
Definition at line 1801 of file grease_pencil_edit.cc.
References wmOperatorType::description, editable_grease_pencil_poll(), wmOperatorType::exec, wmOperatorType::flag, grease_pencil_move_to_layer_exec(), grease_pencil_move_to_layer_invoke(), GREASE_PENCIL_OT_move_to_layer(), wmOperatorType::idname, INT16_MAX, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), RNA_def_string(), and wmOperatorType::srna.
Referenced by GREASE_PENCIL_OT_move_to_layer().
|
static |
Definition at line 115 of file grease_pencil_modes.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, paintmode_toggle_exec(), paintmode_toggle_poll(), wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
|
static |
Definition at line 2400 of file grease_pencil_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_paste(), grease_pencil_paste_strokes_exec(), grease_pencil_paste_strokes_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by GREASE_PENCIL_OT_paste().
|
static |
Definition at line 1425 of file grease_pencil_primitive.cc.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::flag, grease_pencil_primitive_cancel(), grease_pencil_primitive_common_props(), grease_pencil_primitive_invoke(), grease_pencil_primitive_modal(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
|
static |
Definition at line 1463 of file grease_pencil_primitive.cc.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::flag, grease_pencil_primitive_cancel(), grease_pencil_primitive_common_props(), grease_pencil_primitive_invoke(), grease_pencil_primitive_modal(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
|
static |
Definition at line 1482 of file grease_pencil_primitive.cc.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::flag, grease_pencil_primitive_cancel(), grease_pencil_primitive_common_props(), grease_pencil_primitive_invoke(), grease_pencil_primitive_modal(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
|
static |
Definition at line 1444 of file grease_pencil_primitive.cc.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::flag, grease_pencil_primitive_cancel(), grease_pencil_primitive_common_props(), grease_pencil_primitive_invoke(), grease_pencil_primitive_modal(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
|
static |
Definition at line 1387 of file grease_pencil_primitive.cc.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::flag, grease_pencil_primitive_cancel(), grease_pencil_primitive_common_props(), grease_pencil_primitive_invoke(), grease_pencil_primitive_modal(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
|
static |
Definition at line 1406 of file grease_pencil_primitive.cc.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::flag, grease_pencil_primitive_cancel(), grease_pencil_primitive_common_props(), grease_pencil_primitive_invoke(), grease_pencil_primitive_modal(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
|
static |
Definition at line 2886 of file grease_pencil_edit.cc.
References BLT_I18NCONTEXT_ID_MOVIECLIP, wmOperatorType::description, editable_grease_pencil_poll(), wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_reproject(), grease_pencil_reproject_exec(), grease_pencil_reproject_ui(), wmOperatorType::idname, int, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), RNA_def_enum(), RNA_def_float(), RNA_def_property_translation_context(), wmOperatorType::srna, wmOperatorType::ui, and WM_menu_invoke().
Referenced by GREASE_PENCIL_OT_reproject().
|
static |
Definition at line 3697 of file grease_pencil_edit.cc.
References wmOperatorType::description, editable_grease_pencil_poll(), wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_reset_uvs(), grease_pencil_reset_uvs_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by GREASE_PENCIL_OT_reset_uvs().
|
static |
Definition at line 219 of file grease_pencil_modes.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), sculptmode_toggle_exec(), sculptmode_toggle_poll(), and wmOperatorType::srna.
|
static |
Definition at line 347 of file grease_pencil_select.cc.
References wmOperatorType::description, editable_grease_pencil_poll(), wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_select_all(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, select_all_exec(), and WM_operator_properties_select_all().
Referenced by GREASE_PENCIL_OT_select_all().
|
static |
Definition at line 550 of file grease_pencil_select.cc.
References wmOperatorType::description, editable_grease_pencil_point_selection_poll(), wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_select_alternate(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), select_alternate_exec(), and wmOperatorType::srna.
Referenced by GREASE_PENCIL_OT_select_alternate().
|
static |
Definition at line 821 of file grease_pencil_select.cc.
References wmOperatorType::description, editable_grease_pencil_point_selection_poll(), wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_select_ends(), wmOperatorType::idname, INT32_MAX, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_int(), select_ends_exec(), and wmOperatorType::srna.
Referenced by GREASE_PENCIL_OT_select_ends().
|
static |
Definition at line 421 of file grease_pencil_select.cc.
References wmOperatorType::description, editable_grease_pencil_point_selection_poll(), wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_select_less(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and select_less_exec().
Referenced by GREASE_PENCIL_OT_select_less().
|
static |
Definition at line 458 of file grease_pencil_select.cc.
References wmOperatorType::description, editable_grease_pencil_point_selection_poll(), wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_select_linked(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and select_linked_exec().
Referenced by GREASE_PENCIL_OT_select_linked().
|
static |
Definition at line 385 of file grease_pencil_select.cc.
References wmOperatorType::description, editable_grease_pencil_point_selection_poll(), wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_select_more(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and select_more_exec().
Referenced by GREASE_PENCIL_OT_select_more().
|
static |
Definition at line 516 of file grease_pencil_select.cc.
References wmOperatorType::description, editable_grease_pencil_poll(), wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_select_random(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, select_random_exec(), and WM_operator_properties_select_random().
Referenced by GREASE_PENCIL_OT_select_random().
|
static |
Definition at line 774 of file grease_pencil_select.cc.
References wmOperatorType::description, editable_grease_pencil_point_selection_poll(), wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, GREASE_PENCIL_OT_select_similar(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), RNA_def_float(), select_similar_exec(), select_similar_mode_items, wmOperatorType::srna, and WM_menu_invoke().
Referenced by GREASE_PENCIL_OT_select_similar().
|
static |
Definition at line 2176 of file grease_pencil_edit.cc.
References wmOperatorType::description, editable_grease_pencil_poll(), wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_separate(), grease_pencil_separate_exec(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_separate_modes, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by GREASE_PENCIL_OT_separate().
|
static |
Definition at line 956 of file grease_pencil_edit.cc.
References wmOperatorType::description, editable_grease_pencil_poll(), wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_set_active_material(), grease_pencil_set_active_material_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by GREASE_PENCIL_OT_set_active_material().
|
static |
Definition at line 3591 of file grease_pencil_edit.cc.
References wmOperatorType::description, editable_grease_pencil_poll(), wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_set_curve_resolution(), grease_pencil_set_curve_resolution_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_int(), and wmOperatorType::srna.
Referenced by GREASE_PENCIL_OT_set_curve_resolution().
|
static |
Definition at line 3446 of file grease_pencil_edit.cc.
References CURVE_TYPE_POLY, wmOperatorType::description, editable_grease_pencil_poll(), wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_set_curve_type(), grease_pencil_set_curve_type_exec(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), RNA_def_enum(), rna_enum_curves_type_items, wmOperatorType::srna, and WM_menu_invoke().
Referenced by GREASE_PENCIL_OT_set_curve_type().
|
static |
Definition at line 3533 of file grease_pencil_edit.cc.
References CURVE_TYPE_POLY, wmOperatorType::description, editable_grease_pencil_poll(), wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_set_handle_type(), grease_pencil_set_handle_type_exec(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), rna_enum_curves_handle_type_items, wmOperatorType::srna, and WM_menu_invoke().
Referenced by GREASE_PENCIL_OT_set_handle_type().
|
static |
Definition at line 1302 of file grease_pencil_edit.cc.
References active_grease_pencil_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_set_material(), grease_pencil_set_material_exec(), wmOperatorType::idname, material_enum_itemf(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), RNA_def_enum_funcs(), rna_enum_dummy_DEFAULT_items, and wmOperatorType::srna.
Referenced by GREASE_PENCIL_OT_set_material().
|
static |
Definition at line 930 of file grease_pencil_select.cc.
References wmOperatorType::description, editable_grease_pencil_poll(), wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_set_selection_mode(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_enum(), RNA_def_property_flag(), rna_enum_grease_pencil_selectmode_items, select_set_mode_exec(), and wmOperatorType::srna.
Referenced by GREASE_PENCIL_OT_set_selection_mode().
|
static |
Definition at line 1060 of file grease_pencil_edit.cc.
References wmOperatorType::description, editable_grease_pencil_poll(), wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_set_uniform_opacity(), grease_pencil_set_uniform_opacity_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_float(), and wmOperatorType::srna.
Referenced by GREASE_PENCIL_OT_set_uniform_opacity().
|
static |
Definition at line 1007 of file grease_pencil_edit.cc.
References wmOperatorType::description, editable_grease_pencil_poll(), wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_set_uniform_thickness(), grease_pencil_set_uniform_thickness_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_float(), and wmOperatorType::srna.
Referenced by GREASE_PENCIL_OT_set_uniform_thickness().
|
static |
Definition at line 3203 of file grease_pencil_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_snap_cursor_to_selected(), grease_pencil_snap_cursor_to_sel_exec(), grease_pencil_snap_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by GREASE_PENCIL_OT_snap_cursor_to_selected().
|
static |
Definition at line 3091 of file grease_pencil_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_snap_to_cursor(), grease_pencil_snap_poll(), grease_pencil_snap_to_cursor_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by GREASE_PENCIL_OT_snap_to_cursor().
|
static |
Definition at line 3013 of file grease_pencil_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_snap_to_grid(), grease_pencil_snap_poll(), grease_pencil_snap_to_grid_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by GREASE_PENCIL_OT_snap_to_grid().
|
static |
Definition at line 810 of file grease_pencil_edit.cc.
References wmOperatorType::description, editable_grease_pencil_poll(), wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_stroke_material_set(), grease_pencil_stroke_material_set_exec(), wmOperatorType::idname, MAX_ID_NAME, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_SKIP_SAVE, RNA_def_property_flag(), RNA_def_string(), and wmOperatorType::srna.
Referenced by GREASE_PENCIL_OT_stroke_material_set().
|
static |
Definition at line 2582 of file grease_pencil_edit.cc.
References wmOperatorType::description, editable_grease_pencil_poll(), wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_stroke_merge_by_distance(), grease_pencil_stroke_merge_by_distance_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_float(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by GREASE_PENCIL_OT_stroke_merge_by_distance().
|
static |
Definition at line 1674 of file grease_pencil_edit.cc.
References wmOperatorType::description, editable_grease_pencil_poll(), wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_stroke_reorder(), grease_pencil_stroke_reorder_exec(), wmOperatorType::idname, int, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), RNA_ENUM_ITEM_SEPR, and wmOperatorType::srna.
Referenced by GREASE_PENCIL_OT_stroke_reorder().
|
static |
Definition at line 420 of file grease_pencil/intern/grease_pencil_vertex_paint.cc.
References Both, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_vertex_paint_reset_exec(), grease_pencil_vertex_painting_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_grease_pencil_vertex_mode, RNA_def_enum(), and wmOperatorType::srna.
|
static |
Definition at line 345 of file grease_pencil_edit.cc.
References wmOperatorType::description, editable_grease_pencil_point_selection_poll(), wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_stroke_simplify(), grease_pencil_stroke_simplify_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_float(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by GREASE_PENCIL_OT_stroke_simplify().
|
static |
Definition at line 175 of file grease_pencil_edit.cc.
References wmOperatorType::description, editable_grease_pencil_poll(), wmOperatorType::exec, wmOperatorType::flag, grease_pencil_stroke_smooth_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_float(), RNA_def_int(), RNA_def_property_flag(), and wmOperatorType::srna.
|
static |
Definition at line 1519 of file grease_pencil_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, gpencil_stroke_subdivide_exec(), GREASE_PENCIL_OT_stroke_subdivide(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_int(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by GREASE_PENCIL_OT_stroke_subdivide().
|
static |
Definition at line 1111 of file grease_pencil_edit.cc.
References wmOperatorType::description, editable_grease_pencil_poll(), wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_stroke_switch_direction(), grease_pencil_stroke_switch_direction_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by GREASE_PENCIL_OT_stroke_switch_direction().
|
static |
Definition at line 3380 of file grease_pencil_edit.cc.
References wmOperatorType::cancel, wmOperatorType::description, editable_grease_pencil_poll(), wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_texture_gradient(), grease_pencil_texture_gradient_exec(), grease_pencil_texture_gradient_invoke(), grease_pencil_texture_gradient_modal(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, WM_CURSOR_EDIT, WM_gesture_straightline_cancel(), and WM_operator_properties_gesture_straightline().
Referenced by GREASE_PENCIL_OT_texture_gradient().
|
static |
Definition at line 130 of file grease_pencil/intern/grease_pencil_vertex_paint.cc.
References Both, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_vertex_paint_brightness_contrast_exec(), grease_pencil_vertex_painting_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_grease_pencil_vertex_mode, RNA_def_enum(), RNA_def_float(), and wmOperatorType::srna.
|
static |
Definition at line 198 of file grease_pencil/intern/grease_pencil_vertex_paint.cc.
References Both, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_vertex_paint_hsv_exec(), grease_pencil_vertex_painting_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_grease_pencil_vertex_mode, RNA_def_enum(), RNA_def_float(), and wmOperatorType::srna.
|
static |
Definition at line 249 of file grease_pencil/intern/grease_pencil_vertex_paint.cc.
References Both, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_vertex_paint_invert_exec(), grease_pencil_vertex_painting_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_grease_pencil_vertex_mode, RNA_def_enum(), and wmOperatorType::srna.
|
static |
Definition at line 299 of file grease_pencil/intern/grease_pencil_vertex_paint.cc.
References Both, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, grease_pencil_vertex_paint_levels_exec(), grease_pencil_vertex_painting_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_grease_pencil_vertex_mode, RNA_def_enum(), RNA_def_float(), and wmOperatorType::srna.
|
static |
Definition at line 368 of file grease_pencil/intern/grease_pencil_vertex_paint.cc.
References Both, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, grease_pencil_vertex_paint_set_exec(), grease_pencil_vertex_painting_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_grease_pencil_vertex_mode, RNA_def_enum(), RNA_def_float(), and wmOperatorType::srna.
|
static |
Definition at line 859 of file grease_pencil_weight_paint.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_vertex_group_normalize(), grease_pencil_vertex_group_weight_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and vertex_group_normalize_exec().
Referenced by GREASE_PENCIL_OT_vertex_group_normalize().
|
static |
Definition at line 938 of file grease_pencil_weight_paint.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_vertex_group_normalize_all(), grease_pencil_vertex_group_weight_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), wmOperatorType::srna, and vertex_group_normalize_all_exec().
Referenced by GREASE_PENCIL_OT_vertex_group_normalize_all().
|
static |
Definition at line 740 of file grease_pencil_weight_paint.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_vertex_group_smooth(), grease_pencil_vertex_group_weight_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_float(), RNA_def_int(), wmOperatorType::srna, and vertex_group_smooth_exec().
Referenced by GREASE_PENCIL_OT_vertex_group_smooth().
|
static |
Definition at line 407 of file grease_pencil_modes.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), wmOperatorType::srna, vertexmode_toggle_exec(), and vertexmode_toggle_poll().
|
static |
Definition at line 671 of file grease_pencil_weight_paint.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_weight_invert(), grease_pencil_vertex_group_weight_poll(), grease_pencil_weight_invert_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by GREASE_PENCIL_OT_weight_invert().
|
static |
Definition at line 546 of file grease_pencil_weight_paint.cc.
References wmOperatorType::description, wmOperatorType::flag, GREASE_PENCIL_OT_weight_sample(), grease_pencil_weight_painting_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_DEPENDS_ON_CURSOR, OPTYPE_UNDO, ot, wmOperatorType::poll, and weight_sample_invoke().
Referenced by GREASE_PENCIL_OT_weight_sample().
|
static |
Definition at line 594 of file grease_pencil_weight_paint.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GREASE_PENCIL_OT_weight_toggle_direction(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, toggle_weight_tool_direction(), and toggle_weight_tool_direction_poll().
Referenced by GREASE_PENCIL_OT_weight_toggle_direction().
|
static |
Definition at line 308 of file grease_pencil_modes.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), wmOperatorType::srna, weightmode_toggle_exec(), and weightmode_toggle_poll().
| bool blender::ed::greasepencil::grease_pencil_painting_poll | ( | bContext * | C | ) |
Definition at line 98 of file grease_pencil_ops.cc.
References active_grease_pencil_poll(), CTX_data_active_object(), CTX_data_tool_settings(), ToolSettings::gp_paint, and OB_MODE_PAINT_GREASE_PENCIL.
Referenced by brush_colors_flip_poll(), blender::ed::sculpt_paint::grease_pencil_brush_stroke_poll(), blender::ed::sculpt_paint::GREASE_PENCIL_OT_fill(), keymap_grease_pencil_brush_stroke_poll(), keymap_grease_pencil_fill_tool_poll(), keymap_grease_pencil_paint_mode(), and sample_color_poll().
| bool blender::ed::greasepencil::grease_pencil_paste_keyframes | ( | bAnimContext * | ac, |
| const eKeyPasteOffset | offset_mode, | ||
| const eKeyMergeMode | merge_mode, | ||
| const KeyframeClipboard & | clipboard ) |
Definition at line 698 of file grease_pencil_frames.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FOREDIT, ANIMFILTER_LIST_VISIBLE, ANIMFILTER_NODUPLIS, ANIMFILTER_SEL, ANIMTYPE_GREASE_PENCIL_LAYER, blender::Vector< T, InlineBufferCapacity, Allocator >::append(), calculate_offset(), RenderData::cfra, blender::ed::greasepencil::KeyframeClipboard::copy_buffer, bAnimContext::data, bAnimContext::datatype, DEG_id_tag_update(), blender::ed::greasepencil::KeyframeClipboard::LayerBufferItem::drawing_buffers, blender::ed::greasepencil::KeyframeClipboard::first_frame, blender::ed::greasepencil::KeyframeClipboard::LayerBufferItem::first_frame, GreasePencil::id, ID_RECALC_GEOMETRY, KEYFRAME_PASTE_MERGE_MIX, KEYFRAME_PASTE_MERGE_OVER, KEYFRAME_PASTE_MERGE_OVER_RANGE, KEYFRAME_PASTE_MERGE_OVER_RANGE_ALL, blender::ed::greasepencil::KeyframeClipboard::last_frame, blender::ed::greasepencil::KeyframeClipboard::LayerBufferItem::last_frame, LISTBASE_FOREACH, Scene::r, and bAnimContext::scene.
Referenced by actkeys_paste_exec().
|
static |
Definition at line 2222 of file grease_pencil_edit.cc.
References BKE_report(), CD_PROP_BOOL, clipboard_paste_strokes(), CTX_data_active_object(), CTX_data_main(), CTX_data_scene(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, ED_grease_pencil_edit_selection_domain_get(), ensure_active_keyframe(), blender::bke::GSpanAttributeWriter::finish(), grease_pencil_paste_strokes_exec(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::math::invert(), NA_EDITED, NC_GEOM, NC_GPENCIL, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, retrieve_editable_drawings(), RNA_boolean_get(), RPT_ERROR, blender::bke::GSpanAttributeWriter::span, blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Layer::to_object_space(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_paste(), and grease_pencil_paste_strokes_exec().
|
static |
Definition at line 2389 of file grease_pencil_edit.cc.
References blender::ed::greasepencil::Clipboard::curves, blender::bke::CurvesGeometry::curves_num(), editable_grease_pencil_poll(), grease_pencil_clipboard, grease_pencil_clipboard_lock, grease_pencil_paste_strokes_poll(), and lock.
Referenced by GREASE_PENCIL_OT_paste(), and grease_pencil_paste_strokes_poll().
|
static |
Definition at line 332 of file grease_pencil_modes.cc.
References CTX_data_active_object(), CTX_wm_region_view3d(), Object::mode, OB_GREASE_PENCIL, OB_MODE_VERTEX_GREASE_PENCIL, Object::type, and WM_toolsystem_active_tool_is_brush().
Referenced by vertexmode_toggle_exec().
|
static |
Definition at line 237 of file grease_pencil_modes.cc.
References CTX_data_active_object(), CTX_wm_region_view3d(), Object::mode, OB_GREASE_PENCIL, OB_MODE_WEIGHT_GREASE_PENCIL, Object::type, and WM_toolsystem_active_tool_is_brush().
Referenced by weightmode_toggle_exec().
|
static |
Definition at line 1350 of file grease_pencil_primitive.cc.
References grease_pencil_primitive_exit().
Referenced by GREASE_PENCIL_OT_primitive_arc(), GREASE_PENCIL_OT_primitive_box(), GREASE_PENCIL_OT_primitive_circle(), GREASE_PENCIL_OT_primitive_curve(), GREASE_PENCIL_OT_primitive_line(), and GREASE_PENCIL_OT_primitive_polyline().
|
static |
Definition at line 1356 of file grease_pencil_primitive.cc.
References int, ot, PROP_SKIP_SAVE, RNA_def_enum(), RNA_def_int(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by GREASE_PENCIL_OT_primitive_arc(), GREASE_PENCIL_OT_primitive_box(), GREASE_PENCIL_OT_primitive_circle(), GREASE_PENCIL_OT_primitive_curve(), GREASE_PENCIL_OT_primitive_line(), and GREASE_PENCIL_OT_primitive_polyline().
|
static |
Definition at line 1030 of file grease_pencil_primitive.cc.
References blender::ed::greasepencil::PrimitiveToolOperation::active_control_point_index, CTX_wm_window(), Idle, blender::ed::greasepencil::PrimitiveToolOperation::mode, primitive_check_ui_hover(), blender::ed::greasepencil::PrimitiveToolOperation::type, WM_CURSOR_CROSS, WM_CURSOR_HAND, WM_cursor_modal_set(), and WM_CURSOR_NSEW_SCROLL.
Referenced by grease_pencil_primitive_modal().
|
static |
Definition at line 413 of file grease_pencil_primitive.cc.
References BLI_assert_unreachable, blender::ed::greasepencil::PrimitiveToolOperation::segments, blender::ed::greasepencil::PrimitiveToolOperation::subdivision, and blender::ed::greasepencil::PrimitiveToolOperation::type.
Referenced by grease_pencil_primitive_update_curves().
|
static |
Definition at line 880 of file grease_pencil_primitive.cc.
References blender::ed::greasepencil::PrimitiveToolOperation::control_points, wmEvent::mval, blender::ed::greasepencil::PrimitiveToolOperation::placement, pos, primitive_local_to_screen(), blender::ed::greasepencil::DrawingPlacement::project(), blender::ed::greasepencil::PrimitiveToolOperation::start_position_2d, and blender::ed::greasepencil::PrimitiveToolOperation::temp_control_points.
Referenced by grease_pencil_primitive_grab_update(), and grease_pencil_primitive_operator_update().
|
static |
Definition at line 924 of file grease_pencil_primitive.cc.
References blender::ed::greasepencil::PrimitiveToolOperation::active_control_point_index, BLI_assert, blender::ed::greasepencil::PrimitiveToolOperation::control_points, wmEvent::mval, blender::ed::greasepencil::PrimitiveToolOperation::placement, pos, primitive_local_to_screen(), blender::ed::greasepencil::DrawingPlacement::project(), blender::ed::greasepencil::PrimitiveToolOperation::start_position_2d, and blender::ed::greasepencil::PrimitiveToolOperation::temp_control_points.
Referenced by grease_pencil_primitive_operator_update().
|
static |
Definition at line 271 of file grease_pencil_primitive.cc.
References draw_control_points().
Referenced by grease_pencil_primitive_invoke().
|
static |
Definition at line 1057 of file grease_pencil_primitive.cc.
References blender::ed::greasepencil::PrimitiveToolOperation::active_control_point_index, Cancel, Confirm, blender::ed::greasepencil::PrimitiveToolOperation::control_points, control_points_per_segment(), DecreaseSubdivision, blender::math::distance_squared(), DragAll, ELEM, Extrude, Extruding, Grab, grease_pencil_primitive_exit(), grease_pencil_primitive_save(), grease_pencil_primitive_undo_curves(), Idle, IncreaseSubdivision, int, KM_RELEASE, blender::ed::greasepencil::PrimitiveToolOperation::mode, wmEvent::mval, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, blender::ed::greasepencil::PrimitiveToolOperation::placement, pos, primitive_local_to_screen(), blender::ed::greasepencil::DrawingPlacement::project(), wmOperator::ptr, RNA_int_set(), Rotate, RotateAll, Scale, ScaleAll, blender::ed::greasepencil::PrimitiveToolOperation::segments, blender::ed::greasepencil::PrimitiveToolOperation::start_position_2d, blender::ed::greasepencil::PrimitiveToolOperation::subdivision, blender::ed::greasepencil::PrimitiveToolOperation::type, and wmEvent::val.
Referenced by grease_pencil_primitive_modal().
|
static |
Definition at line 797 of file grease_pencil_primitive.cc.
References wmOperator::customdata, blender::ed::greasepencil::PrimitiveToolOperation::draw_handle, ED_region_draw_cb_exit(), ED_view3d_navigation_free(), ED_workspace_status_text(), grease_pencil_primitive_update_view(), blender::ed::greasepencil::PrimitiveToolOperation::region, ARegion::type, blender::ed::greasepencil::PrimitiveToolOperation::vc, blender::ed::greasepencil::PrimitiveToolOperation::vod, ViewContext::win, and WM_cursor_modal_restore().
Referenced by grease_pencil_primitive_cancel(), grease_pencil_primitive_event_modal_map(), and grease_pencil_primitive_modal().
|
static |
Definition at line 840 of file grease_pencil_primitive.cc.
References blender::ed::greasepencil::PrimitiveToolOperation::control_points, control_points_per_segment(), KM_ALT, KM_SHIFT, wmEvent::modifier, wmEvent::mval, blender::ed::greasepencil::PrimitiveToolOperation::placement, blender::ed::greasepencil::DrawingPlacement::project(), blender::ed::greasepencil::PrimitiveToolOperation::segments, snap_8_angles(), snap_diagonals(), snap_diagonals_box(), blender::ed::greasepencil::PrimitiveToolOperation::start_position_2d, and blender::ed::greasepencil::PrimitiveToolOperation::type.
Referenced by grease_pencil_primitive_operator_update().
|
static |
Definition at line 895 of file grease_pencil_primitive.cc.
References blender::ed::greasepencil::PrimitiveToolOperation::active_control_point_index, BLI_assert, control_point_center, control_point_first, control_point_last, blender::ed::greasepencil::PrimitiveToolOperation::control_points, ELEM, grease_pencil_primitive_drag_all_update(), wmEvent::mval, blender::ed::greasepencil::PrimitiveToolOperation::placement, pos, primitive_local_to_screen(), blender::ed::greasepencil::DrawingPlacement::project(), blender::ed::greasepencil::PrimitiveToolOperation::temp_control_points, and blender::ed::greasepencil::PrimitiveToolOperation::type.
Referenced by grease_pencil_primitive_operator_update().
|
static |
Definition at line 502 of file grease_pencil_primitive.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_multiple(), blender::bke::attribute_filter_from_skip_ref(), BrushGpencilSettings::caps_type, blender::bke::Curve, CURVE_TYPE_POLY, blender::ed::greasepencil::PrimitiveToolOperation::drawing, ELEM, blender::bke::fill_attribute_range_default(), blender::ed::greasepencil::PrimitiveToolOperation::fill_color, blender::bke::greasepencil::Drawing::fill_colors_for_write(), blender::ed::greasepencil::PrimitiveToolOperation::fill_opacity, blender::bke::SpanAttributeWriter< T >::finish(), GP_STROKE_CAP_TYPE_ROUND, grease_pencil_primitive_update_curves(), is_cyclic(), blender::ed::greasepencil::PrimitiveToolOperation::material_index, blender::bke::CurvesGeometry::points_num(), blender::ed::greasepencil::PrimitiveToolOperation::settings, blender::ed::greasepencil::PrimitiveToolOperation::softness, blender::bke::SpanAttributeWriter< T >::span, blender::bke::greasepencil::Drawing::strokes_for_write(), blender::ed::greasepencil::PrimitiveToolOperation::type, and blender::ed::greasepencil::PrimitiveToolOperation::use_fill.
Referenced by grease_pencil_primitive_invoke().
|
static |
Definition at line 662 of file grease_pencil_primitive.cc.
References blender::ColorRGBA< ChannelStorageType, Space, Alpha >::a, blender::ed::greasepencil::PrimitiveToolOperation::active_control_point_index, Brush::alpha, BKE_brush_init_gpencil_settings(), BKE_curvemapping_init(), BKE_grease_pencil_object_material_ensure_from_active_input_brush(), BKE_object_material_index_get(), BKE_paint_brush(), BLI_assert, blender::ed::greasepencil::PrimitiveToolOperation::brush, blender::ed::greasepencil::DrawingPlacement::cache_viewport_depths(), calculate_texture_space(), RenderData::cfra, blender::ed::greasepencil::PrimitiveToolOperation::control_points, control_points_per_segment(), CTX_data_depsgraph_pointer(), CTX_data_main(), CTX_wm_view3d(), CTX_wm_window(), GP_Sculpt_Settings::cur_primitive, BrushGpencilSettings::curve_jitter, BrushGpencilSettings::curve_rand_hue, BrushGpencilSettings::curve_rand_pressure, BrushGpencilSettings::curve_rand_saturation, BrushGpencilSettings::curve_rand_strength, BrushGpencilSettings::curve_rand_uv, BrushGpencilSettings::curve_rand_value, BrushGpencilSettings::curve_sensitivity, BrushGpencilSettings::curve_strength, wmOperator::customdata, Object::data, blender::ed::greasepencil::PrimitiveToolOperation::draw_handle, blender::ed::greasepencil::PrimitiveToolOperation::drawing, ED_region_draw_cb_activate(), ED_view3d_navigation_init(), ED_view3d_ob_project_mat_get(), ED_view3d_viewcontext_init(), ELEM, Extruding, blender::ed::greasepencil::PrimitiveToolOperation::fill_color, blender::ed::greasepencil::PrimitiveToolOperation::fill_opacity, GP_Sculpt_Settings::flag, wmOperator::flag, GP_MATERIAL_FILL_SHOW, ToolSettings::gp_paint, ToolSettings::gp_sculpt, GP_SCULPT_SETT_FLAG_PRIMITIVE_CURVE, Brush::gpencil_settings, GPPAINT_FLAG_USE_VERTEXCOLOR, GPPAINT_MODE_BOTH, GPPAINT_MODE_FILL, GPPAINT_MODE_STROKE, grease_pencil_draw_operator_invoke(), grease_pencil_primitive_draw(), grease_pencil_primitive_init_curves(), grease_pencil_primitive_save(), grease_pencil_primitive_status_indicators(), grease_pencil_primitive_update_view(), BrushGpencilSettings::hardness, blender::ed::greasepencil::PrimitiveToolOperation::local_transform, blender::ed::greasepencil::PrimitiveToolOperation::material_index, blender::ed::greasepencil::PrimitiveToolOperation::mode, GpPaint::mode, wmEvent::mval, ViewContext::obact, OP_IS_MODAL_CURSOR_REGION, OPERATOR_RUNNING_MODAL, GpPaint::paint, blender::ed::greasepencil::PrimitiveToolOperation::placement, pos, blender::ed::greasepencil::DrawingPlacement::project(), blender::ed::greasepencil::PrimitiveToolOperation::projection, wmOperator::ptr, Scene::r, blender::ed::greasepencil::PrimitiveToolOperation::region, ViewContext::region, REGION_DRAW_POST_VIEW, Brush::rgb, RNA_enum_get(), RNA_int_get(), ViewContext::rv3d, ViewContext::scene, blender::ed::greasepencil::PrimitiveToolOperation::segments, blender::ed::greasepencil::DrawingPlacement::set_origin_to_nearest_stroke(), blender::ed::greasepencil::PrimitiveToolOperation::settings, blender::ed::greasepencil::PrimitiveToolOperation::softness, srgb_to_linearrgb_v3_v3(), blender::ed::greasepencil::PrimitiveToolOperation::start_position_2d, blender::ed::greasepencil::PrimitiveToolOperation::subdivision, blender::ed::greasepencil::PrimitiveToolOperation::texture_space, Scene::toolsettings, ARegion::type, blender::ed::greasepencil::PrimitiveToolOperation::type, blender::ed::greasepencil::PrimitiveToolOperation::use_fill, blender::ed::greasepencil::DrawingPlacement::use_project_to_nearest_stroke(), blender::ed::greasepencil::DrawingPlacement::use_project_to_surface(), blender::ed::greasepencil::PrimitiveToolOperation::vc, blender::ed::greasepencil::PrimitiveToolOperation::vertex_color, BrushGpencilSettings::vertex_factor, BrushGpencilSettings::vertex_mode, blender::ed::greasepencil::PrimitiveToolOperation::vod, WM_CURSOR_CROSS, WM_cursor_modal_set(), and WM_event_add_modal_handler().
Referenced by GREASE_PENCIL_OT_primitive_arc(), GREASE_PENCIL_OT_primitive_box(), GREASE_PENCIL_OT_primitive_circle(), GREASE_PENCIL_OT_primitive_curve(), GREASE_PENCIL_OT_primitive_line(), and GREASE_PENCIL_OT_primitive_polyline().
|
static |
Definition at line 284 of file grease_pencil_primitive.cc.
References blender::ed::greasepencil::PrimitiveToolOperation::control_points, blender::array_utils::copy(), blender::ed::greasepencil::PrimitiveToolOperation::segments, blender::ed::greasepencil::PrimitiveToolOperation::temp_control_points, and blender::ed::greasepencil::PrimitiveToolOperation::temp_segments.
Referenced by grease_pencil_primitive_modal().
|
static |
Definition at line 1273 of file grease_pencil_primitive.cc.
References Confirm, blender::ed::greasepencil::PrimitiveToolOperation::control_points, wmOperator::customdata, ED_view3d_navigation_do(), ED_view3d_ob_project_mat_get(), EVT_MODAL_MAP, grease_pencil_primitive_cursor_update(), grease_pencil_primitive_event_modal_map(), grease_pencil_primitive_exit(), grease_pencil_primitive_load(), grease_pencil_primitive_mouse_event(), grease_pencil_primitive_operator_update(), grease_pencil_primitive_status_indicators(), grease_pencil_primitive_undo_curves(), grease_pencil_primitive_update_curves(), grease_pencil_primitive_update_view(), Idle, KM_PRESS, LEFTMOUSE, blender::ed::greasepencil::PrimitiveToolOperation::mode, ViewContext::obact, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, pos, blender::ed::greasepencil::PrimitiveToolOperation::projection, RegionView3D::rflag, RIGHTMOUSE, ViewContext::rv3d, RV3D_NAVIGATING, wmEvent::type, wmEvent::val, blender::ed::greasepencil::PrimitiveToolOperation::vc, and blender::ed::greasepencil::PrimitiveToolOperation::vod.
Referenced by GREASE_PENCIL_OT_primitive_arc(), GREASE_PENCIL_OT_primitive_box(), GREASE_PENCIL_OT_primitive_circle(), GREASE_PENCIL_OT_primitive_curve(), GREASE_PENCIL_OT_primitive_line(), and GREASE_PENCIL_OT_primitive_polyline().
|
static |
Definition at line 1165 of file grease_pencil_primitive.cc.
References blender::ed::greasepencil::PrimitiveToolOperation::active_control_point_index, blender::ed::greasepencil::PrimitiveToolOperation::control_points, blender::math::distance_squared(), Drag, DragAll, ELEM, Extruding, get_control_point_type(), Grab, grease_pencil_primitive_save(), HandlePoint, Idle, JoinPoint, KM_PRESS, KM_RELEASE, blender::ed::greasepencil::PrimitiveToolOperation::mode, wmEvent::mval, OPERATOR_RUNNING_MODAL, blender::ed::greasepencil::PrimitiveToolOperation::placement, pos, primitive_check_ui_hover(), primitive_local_to_screen(), blender::ed::greasepencil::DrawingPlacement::project(), RotateAll, ScaleAll, blender::ed::greasepencil::PrimitiveToolOperation::segments, blender::ed::greasepencil::PrimitiveToolOperation::start_position_2d, blender::ed::greasepencil::PrimitiveToolOperation::type, and wmEvent::val.
Referenced by grease_pencil_primitive_modal().
|
static |
Definition at line 1237 of file grease_pencil_primitive.cc.
References Drag, DragAll, Extruding, Grab, grease_pencil_primitive_drag_all_update(), grease_pencil_primitive_drag_update(), grease_pencil_primitive_extruding_update(), grease_pencil_primitive_grab_update(), grease_pencil_primitive_rotate_all_update(), grease_pencil_primitive_scale_all_update(), Idle, blender::ed::greasepencil::PrimitiveToolOperation::mode, RotateAll, and ScaleAll.
Referenced by grease_pencil_primitive_modal().
|
static |
Definition at line 952 of file grease_pencil_primitive.cc.
References blender::math::atan2(), blender::ed::greasepencil::PrimitiveToolOperation::control_points, blender::math::cos(), wmEvent::mval, blender::ed::greasepencil::PrimitiveToolOperation::placement, pos, primitive_center_of_mass(), primitive_local_to_screen(), blender::ed::greasepencil::DrawingPlacement::project(), rot, blender::math::sin(), blender::ed::greasepencil::PrimitiveToolOperation::start_position_2d, and blender::ed::greasepencil::PrimitiveToolOperation::temp_control_points.
Referenced by grease_pencil_primitive_operator_update().
|
static |
Definition at line 277 of file grease_pencil_primitive.cc.
References blender::ed::greasepencil::PrimitiveToolOperation::control_points, blender::array_utils::copy(), blender::ed::greasepencil::PrimitiveToolOperation::segments, blender::ed::greasepencil::PrimitiveToolOperation::temp_control_points, and blender::ed::greasepencil::PrimitiveToolOperation::temp_segments.
Referenced by grease_pencil_primitive_event_modal_map(), grease_pencil_primitive_invoke(), and grease_pencil_primitive_mouse_event().
|
static |
Definition at line 977 of file grease_pencil_primitive.cc.
References blender::ed::greasepencil::PrimitiveToolOperation::control_points, blender::math::length(), wmEvent::mval, blender::ed::greasepencil::PrimitiveToolOperation::placement, pos, primitive_center_of_mass(), primitive_local_to_screen(), blender::ed::greasepencil::DrawingPlacement::project(), blender::ed::greasepencil::PrimitiveToolOperation::start_position_2d, and blender::ed::greasepencil::PrimitiveToolOperation::temp_control_points.
Referenced by grease_pencil_primitive_operator_update().
|
static |
Definition at line 583 of file grease_pencil_primitive.cc.
References Cancel, Confirm, DecreaseSubdivision, ED_workspace_status_text(), ELEM, Extrude, Grab, IFACE_, IncreaseSubdivision, Panning, Rotate, RPT_, Scale, blender::ed::greasepencil::PrimitiveToolOperation::segments, blender::ed::greasepencil::PrimitiveToolOperation::subdivision, blender::ed::greasepencil::PrimitiveToolOperation::type, wmOperator::type, and WM_modalkeymap_operator_items_to_string().
Referenced by grease_pencil_primitive_invoke(), and grease_pencil_primitive_modal().
|
static |
Definition at line 575 of file grease_pencil_primitive.cc.
References blender::ed::greasepencil::PrimitiveToolOperation::drawing, blender::bke::CurvesGeometry::remove_curves(), blender::bke::greasepencil::Drawing::strokes_for_write(), and blender::bke::greasepencil::Drawing::tag_topology_changed().
Referenced by grease_pencil_primitive_event_modal_map(), and grease_pencil_primitive_modal().
|
static |
Definition at line 437 of file grease_pencil_primitive.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_multiple(), blender::bke::attribute_filter_from_skip_ref(), BKE_curvemapping_evaluateF(), blender::ed::greasepencil::PrimitiveToolOperation::brush, GP_Sculpt_Settings::cur_primitive, blender::ed::greasepencil::PrimitiveToolOperation::drawing, blender::bke::fill_attribute_range_default(), GP_Sculpt_Settings::flag, float, blender::IndexRange::from_single(), ToolSettings::gp_sculpt, GP_SCULPT_SETT_FLAG_PRIMITIVE_CURVE, grease_pencil_primitive_curve_points_number(), blender::IndexRange::index_range(), blender::bke::greasepencil::Drawing::opacities_for_write(), opacity_from_input_sample(), blender::ed::greasepencil::PrimitiveToolOperation::placement, blender::bke::Point, point, blender::bke::CurvesGeometry::points_by_curve(), primitive_calulate_curve_positions_2d(), blender::ed::greasepencil::DrawingPlacement::project(), blender::bke::greasepencil::Drawing::radii_for_write(), radius_from_input_sample(), blender::ed::greasepencil::PrimitiveToolOperation::region, ViewContext::rv3d, ViewContext::scene, blender::bke::greasepencil::Drawing::set_texture_matrices(), blender::ed::greasepencil::PrimitiveToolOperation::settings, blender::MutableSpan< T >::slice(), blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::tag_topology_changed(), blender::ed::greasepencil::PrimitiveToolOperation::texture_space, blender::ed::greasepencil::DrawingPlacement::to_world_space(), Scene::toolsettings, blender::ed::greasepencil::PrimitiveToolOperation::vc, blender::ed::greasepencil::PrimitiveToolOperation::vertex_color, and blender::bke::greasepencil::Drawing::vertex_colors_for_write().
Referenced by grease_pencil_primitive_init_curves(), and grease_pencil_primitive_modal().
|
static |
Definition at line 651 of file grease_pencil_primitive.cc.
References Object::data, DEG_id_tag_update(), ED_region_tag_redraw(), GreasePencil::id, ID_RECALC_GEOMETRY, NC_GEOM, ND_DATA, ViewContext::obact, blender::ed::greasepencil::PrimitiveToolOperation::region, blender::ed::greasepencil::PrimitiveToolOperation::vc, and WM_event_add_notifier().
Referenced by grease_pencil_primitive_exit(), grease_pencil_primitive_invoke(), and grease_pencil_primitive_modal().
|
static |
Definition at line 2768 of file grease_pencil_edit.cc.
References BKE_scene_graph_update_for_newframe(), CTX_data_active_object(), CTX_data_ensure_evaluated_depsgraph(), CTX_data_scene(), CTX_wm_region(), CTX_wm_view3d(), DEG_get_ctime(), DEG_id_tag_update(), depsgraph, blender::ed::greasepencil::MutableDrawingInfo::drawing, ED_grease_pencil_edit_selection_domain_get(), ED_view3d_depth_override(), blender::index_mask::IndexMask::foreach_index(), grease_pencil_reproject_exec(), GreasePencil::id, ID_RECALC_GEOMETRY, int, blender::index_mask::IndexMask::is_empty(), blender::ed::greasepencil::MutableDrawingInfo::layer_index, NC_GEOM, ND_DATA, OPERATOR_FINISHED, wmOperator::ptr, blender::ed::greasepencil::DrawingPlacement::reproject(), retrieve_editable_and_selected_elements(), retrieve_editable_and_selected_points(), retrieve_editable_drawings(), retrieve_editable_drawings_grouped_per_frame(), RNA_boolean_get(), RNA_enum_get(), RNA_float_get(), blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::tag_positions_changed(), blender::bke::greasepencil::Drawing::tag_topology_changed(), V3D_DEPTH_NO_GPENCIL, and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_reproject(), and grease_pencil_reproject_exec().
|
static |
Definition at line 2866 of file grease_pencil_edit.cc.
References grease_pencil_reproject_ui(), wmOperator::layout, wmOperator::ptr, RNA_enum_get(), UI_ITEM_NONE, uiItemR(), uiLayoutRow(), uiLayoutSetPropDecorate(), and uiLayoutSetPropSep().
Referenced by GREASE_PENCIL_OT_reproject(), and grease_pencil_reproject_ui().
|
static |
Definition at line 3619 of file grease_pencil_edit.cc.
References CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, blender::bke::SpanAttributeWriter< T >::finish(), grease_pencil_reset_uvs_exec(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::index_mask::IndexMask::is_empty(), blender::ed::greasepencil::MutableDrawingInfo::layer_index, NC_GEOM, ND_DATA, OPERATOR_FINISHED, retrieve_editable_drawings(), blender::index_mask::IndexMask::size(), blender::bke::SpanAttributeWriter< T >::span, blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::tag_positions_changed(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_reset_uvs(), and grease_pencil_reset_uvs_exec().
| bool blender::ed::greasepencil::grease_pencil_sculpting_poll | ( | bContext * | C | ) |
Definition at line 126 of file grease_pencil_ops.cc.
References active_grease_pencil_poll(), CTX_data_active_object(), CTX_data_tool_settings(), ToolSettings::gp_sculptpaint, and OB_MODE_SCULPT_GREASE_PENCIL.
Referenced by blender::ed::sculpt_paint::grease_pencil_sculpt_paint_poll(), and keymap_grease_pencil_sculpt_mode().
| bool blender::ed::greasepencil::grease_pencil_selection_poll | ( | bContext * | C | ) |
Definition at line 82 of file grease_pencil_ops.cc.
References active_grease_pencil_poll(), CTX_data_active_object(), ELEM, OB_MODE_EDIT, OB_MODE_SCULPT_GREASE_PENCIL, and OB_MODE_VERTEX_GREASE_PENCIL.
Referenced by keymap_grease_pencil_selection().
|
static |
Definition at line 2107 of file grease_pencil_edit.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::begin(), BKE_report(), CTX_data_active_base(), CTX_data_active_object(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), Object::data, DEG_id_tag_update(), blender::Vector< T, InlineBufferCapacity, Allocator >::end(), grease_pencil_separate_exec(), grease_pencil_separate_layer(), grease_pencil_separate_material(), grease_pencil_separate_selected(), GreasePencil::id, ID_RECALC_GEOMETRY, NA_EDITED, NC_GEOM, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, retrieve_editable_drawings(), RNA_enum_get(), RPT_ERROR, Object::totcol, WM_cursor_wait(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_separate(), and grease_pencil_separate_exec().
|
static |
Definition at line 1965 of file grease_pencil_edit.cc.
References BKE_object_material_array_assign(), BKE_object_material_array_p(), BKE_object_material_len_p(), BLI_assert, Object::data, DEG_id_tag_update(), duplicate_grease_pencil_object(), find_or_create_layer_in_dst_by_name(), grease_pencil_separate_layer(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::index_mask::IndexMask::is_empty(), NC_OBJECT, ND_DRAW, blender::bke::CurvesGeometry::remove_curves(), remove_unused_materials(), retrieve_editable_drawings_from_layer(), retrieve_editable_strokes(), blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::tag_topology_changed(), and WM_event_add_notifier().
Referenced by grease_pencil_separate_exec(), and grease_pencil_separate_layer().
|
static |
Definition at line 2034 of file grease_pencil_edit.cc.
References BKE_object_material_array_assign(), BKE_object_material_array_p(), BKE_object_material_len_p(), BKE_object_material_slot_used(), BLI_assert, Object::data, DEG_id_tag_update(), blender::IndexRange::drop_front(), duplicate_grease_pencil_object(), find_or_create_layer_in_dst_by_name(), grease_pencil_separate_material(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::index_mask::IndexMask::is_empty(), NC_OBJECT, ND_DRAW, blender::bke::CurvesGeometry::remove_curves(), remove_unused_materials(), retrieve_editable_drawings(), retrieve_editable_strokes_by_material(), blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::tag_topology_changed(), Object::totcol, and WM_event_add_notifier().
Referenced by grease_pencil_separate_exec(), and grease_pencil_separate_material().
|
static |
Definition at line 1903 of file grease_pencil_edit.cc.
References BKE_object_material_array_assign(), BKE_object_material_array_p(), BKE_object_material_len_p(), BLI_assert, Object::data, DEG_id_tag_update(), duplicate_grease_pencil_object(), find_or_create_layer_in_dst_by_name(), grease_pencil_separate_selected(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::index_mask::IndexMask::is_empty(), NC_OBJECT, ND_DRAW, remove_points_and_split(), remove_unused_materials(), retrieve_editable_drawings(), blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::tag_topology_changed(), and WM_event_add_notifier().
Referenced by grease_pencil_separate_exec(), and grease_pencil_separate_selected().
|
static |
Definition at line 925 of file grease_pencil_edit.cc.
References CTX_data_active_object(), CTX_data_scene(), blender::index_mask::IndexMask::first(), grease_pencil_set_active_material_exec(), blender::index_mask::IndexMask::is_empty(), NA_EDITED, NC_GEOM, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, retrieve_editable_drawings(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_set_active_material(), and grease_pencil_set_active_material_exec().
|
static |
Definition at line 3555 of file grease_pencil_edit.cc.
References CTX_data_active_object(), CTX_data_scene(), CURVE_TYPE_POLY, DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, grease_pencil_set_curve_resolution_exec(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::index_mask::IndexMask::is_empty(), blender::ed::greasepencil::MutableDrawingInfo::layer_index, NC_GEOM, ND_DATA, OPERATOR_FINISHED, wmOperator::ptr, retrieve_editable_drawings(), RNA_int_get(), blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::tag_topology_changed(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_set_curve_resolution(), and grease_pencil_set_curve_resolution_exec().
|
static |
Definition at line 3406 of file grease_pencil_edit.cc.
References CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, grease_pencil_set_curve_type_exec(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::index_mask::IndexMask::is_empty(), blender::ed::greasepencil::MutableDrawingInfo::layer_index, NC_GEOM, ND_DATA, OPERATOR_FINISHED, options, wmOperator::ptr, retrieve_editable_drawings(), RNA_boolean_get(), RNA_enum_get(), blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::tag_topology_changed(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_set_curve_type(), and grease_pencil_set_curve_type_exec().
|
static |
Definition at line 3474 of file grease_pencil_edit.cc.
References CTX_data_active_object(), CTX_data_scene(), CURVE_TYPE_BEZIER, DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, blender::index_mask::IndexMask::foreach_index(), grease_pencil_set_handle_type_exec(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::ed::greasepencil::MutableDrawingInfo::layer_index, NC_GEOM, ND_DATA, OPERATOR_FINISHED, wmOperator::ptr, retrieve_editable_drawings(), RNA_enum_get(), blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::tag_topology_changed(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_set_handle_type(), and grease_pencil_set_handle_type_exec().
|
static |
Definition at line 1283 of file grease_pencil_edit.cc.
References CTX_data_active_object(), grease_pencil_set_material_exec(), NA_EDITED, NC_GEOM, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_set_material(), and grease_pencil_set_material_exec().
|
static |
Definition at line 1027 of file grease_pencil_edit.cc.
References CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, grease_pencil_set_uniform_opacity_exec(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::index_mask::IndexMask::is_empty(), blender::ed::greasepencil::MutableDrawingInfo::layer_index, NC_GEOM, ND_DATA, blender::bke::greasepencil::Drawing::opacities_for_write(), OPERATOR_FINISHED, wmOperator::ptr, retrieve_editable_drawings(), RNA_float_get(), blender::bke::greasepencil::Drawing::strokes_for_write(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_set_uniform_opacity(), and grease_pencil_set_uniform_opacity_exec().
|
static |
Definition at line 973 of file grease_pencil_edit.cc.
References CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, grease_pencil_set_uniform_thickness_exec(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::index_mask::IndexMask::is_empty(), blender::ed::greasepencil::MutableDrawingInfo::layer_index, NC_GEOM, ND_DATA, OPERATOR_FINISHED, wmOperator::ptr, blender::bke::greasepencil::Drawing::radii_for_write(), retrieve_editable_drawings(), RNA_float_get(), blender::bke::greasepencil::Drawing::strokes_for_write(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_set_uniform_thickness(), and grease_pencil_set_uniform_thickness_exec().
|
static |
Definition at line 3119 of file grease_pencil_edit.cc.
References blender::index_mask::IndexMask::foreach_index(), grease_pencil_snap_compute_centroid(), blender::math::min_max(), retrieve_visible_drawings(), blender::index_mask::IndexMask::size(), and blender::math::transform_point().
Referenced by grease_pencil_snap_compute_centroid(), and grease_pencil_snap_cursor_to_sel_exec().
|
static |
Definition at line 3169 of file grease_pencil_edit.cc.
References BLI_assert_unreachable, CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), grease_pencil_snap_compute_centroid(), grease_pencil_snap_cursor_to_sel_exec(), ID_RECALC_SYNC_TO_EVAL, blender::math::midpoint(), NC_SPACE, ND_SPACE_VIEW3D, OPERATOR_FINISHED, V3D_AROUND_ACTIVE, V3D_AROUND_CENTER_BOUNDS, V3D_AROUND_CENTER_MEDIAN, V3D_AROUND_CURSOR, V3D_AROUND_LOCAL_ORIGINS, and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_snap_cursor_to_selected(), and grease_pencil_snap_cursor_to_sel_exec().
|
static |
Definition at line 2958 of file grease_pencil_edit.cc.
References CTX_wm_area(), editable_grease_pencil_poll(), grease_pencil_snap_poll(), and SPACE_VIEW3D.
Referenced by GREASE_PENCIL_OT_snap_cursor_to_selected(), GREASE_PENCIL_OT_snap_to_cursor(), GREASE_PENCIL_OT_snap_to_grid(), and grease_pencil_snap_poll().
|
static |
Definition at line 3031 of file grease_pencil_edit.cc.
References CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), blender::index_mask::IndexMask::foreach_index(), grease_pencil_snap_to_cursor_exec(), GreasePencil::id, ID_RECALC_GEOMETRY, ID_RECALC_SYNC_TO_EVAL, ID_RECALC_TRANSFORM, blender::math::invert(), NA_EDITED, NC_GPENCIL, NC_OBJECT, ND_DATA, ND_DRAW, OPERATOR_FINISHED, wmOperator::ptr, retrieve_editable_drawings(), RNA_boolean_get(), blender::index_mask::IndexMask::slice_content(), blender::math::transform_point(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_snap_to_cursor(), and grease_pencil_snap_to_cursor_exec().
|
static |
Definition at line 2968 of file grease_pencil_edit.cc.
References CTX_data_active_object(), CTX_data_scene(), CTX_wm_region(), CTX_wm_view3d(), DEG_id_tag_update(), ED_view3d_grid_view_scale(), blender::math::floor(), blender::index_mask::IndexMask::foreach_index(), grease_pencil_snap_to_grid_exec(), GreasePencil::id, ID_RECALC_GEOMETRY, ID_RECALC_SYNC_TO_EVAL, ID_RECALC_TRANSFORM, blender::math::invert(), NA_EDITED, NC_GPENCIL, NC_OBJECT, ND_DATA, ND_DRAW, OPERATOR_FINISHED, retrieve_editable_drawings(), blender::math::transform_point(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_snap_to_grid(), and grease_pencil_snap_to_grid_exec().
|
static |
Definition at line 759 of file grease_pencil_edit.cc.
References BKE_libblock_find_name(), BKE_object_material_index_get(), BKE_reportf(), CTX_data_active_object(), CTX_data_main(), CTX_data_scene(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, grease_pencil_stroke_material_set_exec(), GreasePencil::id, ID_MA, ID_RECALC_GEOMETRY, blender::index_mask::IndexMask::is_empty(), blender::ed::greasepencil::MutableDrawingInfo::layer_index, MAX_ID_NAME, NA_EDITED, NC_GEOM, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, retrieve_editable_drawings(), RNA_string_get(), RPT_WARNING, blender::bke::greasepencil::Drawing::strokes_for_write(), TIP_, and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_stroke_material_set(), and grease_pencil_stroke_material_set_exec().
|
static |
Definition at line 2547 of file grease_pencil_edit.cc.
References CTX_data_active_object(), CTX_data_scene(), curves_merge_by_distance(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, grease_pencil_stroke_merge_by_distance_exec(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::ed::greasepencil::MutableDrawingInfo::layer_index, NC_GEOM, ND_DATA, OPERATOR_FINISHED, wmOperator::ptr, retrieve_editable_drawings(), RNA_boolean_get(), RNA_float_get(), blender::bke::greasepencil::Drawing::strokes(), blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::tag_topology_changed(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_stroke_merge_by_distance(), and grease_pencil_stroke_merge_by_distance_exec().
|
static |
Definition at line 1635 of file grease_pencil_edit.cc.
References CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, get_reordered_indices(), grease_pencil_stroke_reorder_exec(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::index_mask::IndexMask::is_empty(), blender::ed::greasepencil::MutableDrawingInfo::layer_index, NC_GEOM, ND_DATA, OPERATOR_FINISHED, wmOperator::ptr, retrieve_editable_drawings(), RNA_enum_get(), blender::index_mask::IndexMask::size(), blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::tag_topology_changed(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_stroke_reorder(), and grease_pencil_stroke_reorder_exec().
|
static |
Definition at line 253 of file grease_pencil_edit.cc.
References CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), dist_to_interpolated(), dist_to_line_v3(), blender::ed::greasepencil::MutableDrawingInfo::drawing, blender::index_mask::IndexMask::foreach_index(), grease_pencil_stroke_simplify_exec(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::index_mask::IndexMask::is_empty(), blender::ed::greasepencil::MutableDrawingInfo::layer_index, blender::math::max(), NC_GEOM, ND_DATA, OPERATOR_FINISHED, wmOperator::ptr, blender::bke::greasepencil::Drawing::radii(), retrieve_editable_drawings(), RNA_float_get(), stroke_simplify(), blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::greasepencil::Drawing::tag_topology_changed(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_stroke_simplify(), and grease_pencil_stroke_simplify_exec().
|
static |
Definition at line 82 of file grease_pencil_edit.cc.
References CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, blender::bke::GSpanAttributeWriter::finish(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::index_mask::IndexMask::is_empty(), blender::VArrayCommon< T >::is_span(), blender::ed::greasepencil::MutableDrawingInfo::layer_index, NC_GEOM, ND_DATA, blender::bke::greasepencil::Drawing::opacities(), OPERATOR_FINISHED, blender::threading::parallel_for_each(), blender::bke::Point, wmOperator::ptr, blender::bke::greasepencil::Drawing::radii(), retrieve_editable_and_selected_strokes(), retrieve_editable_drawings(), RNA_boolean_get(), RNA_float_get(), RNA_int_get(), blender::geometry::smooth_curve_attribute(), blender::bke::GSpanAttributeWriter::span, blender::bke::greasepencil::Drawing::strokes_for_write(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_stroke_smooth().
|
static |
Definition at line 1080 of file grease_pencil_edit.cc.
References CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, grease_pencil_stroke_switch_direction_exec(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::index_mask::IndexMask::is_empty(), blender::ed::greasepencil::MutableDrawingInfo::layer_index, NC_GEOM, ND_DATA, OPERATOR_FINISHED, retrieve_editable_drawings(), blender::bke::CurvesGeometry::reverse_curves(), blender::bke::greasepencil::Drawing::strokes_for_write(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_stroke_switch_direction(), and grease_pencil_stroke_switch_direction_exec().
|
static |
Definition at line 223 of file grease_pencil_trim.cc.
References grease_pencil_stroke_trim(), blender::Array< T, InlineBufferCapacity, Allocator >::is_empty(), OPERATOR_PASS_THROUGH, stroke_trim_execute(), and WM_gesture_lasso_path_to_array().
Referenced by grease_pencil_stroke_trim().
|
static |
Definition at line 3238 of file grease_pencil_edit.cc.
References BKE_gpencil_material_settings(), blender::math::cross(), CTX_data_active_object(), CTX_data_scene(), CTX_wm_region(), blender::bke::greasepencil::Drawing::curve_plane_normals(), DEG_id_tag_update(), blender::math::dot(), blender::ed::greasepencil::MutableDrawingInfo::drawing, ED_view3d_win_to_3d_on_plane(), expand_4x2_mat(), blender::index_mask::IndexMask::foreach_index(), blender::math::from_rotation(), blender::math::from_scale(), GP_MATERIAL_GRADIENT_RADIAL, MaterialGPencilStyle::gradient_type, grease_pencil_texture_gradient_exec(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::index_mask::IndexMask::is_empty(), blender::ed::greasepencil::MutableDrawingInfo::layer_index, blender::math::length_squared(), NC_GEOM, ND_DATA, OPERATOR_RUNNING_MODAL, pos, wmOperator::ptr, retrieve_editable_drawings(), RNA_int_get(), blender::bke::greasepencil::Drawing::set_texture_matrices(), blender::index_mask::IndexMask::size(), blender::bke::greasepencil::Drawing::strokes(), MaterialGPencilStyle::texture_angle, MaterialGPencilStyle::texture_offset, MaterialGPencilStyle::texture_scale, blender::math::transform_direction(), blender::math::transform_point(), blender::math::transpose(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_texture_gradient(), and grease_pencil_texture_gradient_exec().
|
static |
Definition at line 3362 of file grease_pencil_edit.cc.
References CTX_wm_region(), wmOperator::customdata, grease_pencil_texture_gradient_invoke(), wmGesture::is_active, KM_PRESS, LEFTMOUSE, OPERATOR_RUNNING_MODAL, ret, RGN_TYPE_WINDOW, wmEvent::type, wmEvent::val, and WM_gesture_straightline_invoke().
Referenced by GREASE_PENCIL_OT_texture_gradient(), and grease_pencil_texture_gradient_invoke().
|
static |
Definition at line 3347 of file grease_pencil_edit.cc.
References grease_pencil_texture_gradient_modal(), KM_RELEASE, LEFTMOUSE, OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, ret, wmEvent::type, wmEvent::val, WM_gesture_straightline_cancel(), and WM_gesture_straightline_modal().
Referenced by GREASE_PENCIL_OT_texture_gradient(), and grease_pencil_texture_gradient_modal().
|
static |
Definition at line 657 of file grease_pencil_weight_paint.cc.
References BKE_object_defgroup_list(), BLI_listbase_is_empty(), CTX_data_active_object(), grease_pencil_vertex_group_weight_poll(), and grease_pencil_weight_painting_poll().
Referenced by GREASE_PENCIL_OT_vertex_group_normalize(), GREASE_PENCIL_OT_vertex_group_normalize_all(), GREASE_PENCIL_OT_vertex_group_smooth(), GREASE_PENCIL_OT_weight_invert(), and grease_pencil_vertex_group_weight_poll().
|
static |
Definition at line 82 of file grease_pencil/intern/grease_pencil_vertex_paint.cc.
References apply_color_operation_for_mode(), CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, GreasePencil::id, ID_RECALC_GEOMETRY, blender::math::max(), NC_GEOM, ND_DATA, OPERATOR_FINISHED, blender::threading::parallel_for_each(), wmOperator::ptr, retrieve_editable_drawings(), RNA_enum_get(), RNA_float_get(), blender::bke::greasepencil::Drawing::strokes_for_write(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_vertex_color_brightness_contrast().
|
static |
Definition at line 152 of file grease_pencil/intern/grease_pencil_vertex_paint.cc.
References apply_color_operation_for_mode(), CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, hsv_to_rgb_v(), GreasePencil::id, ID_RECALC_GEOMETRY, NC_GEOM, ND_DATA, OPERATOR_FINISHED, blender::threading::parallel_for_each(), wmOperator::ptr, retrieve_editable_drawings(), rgb_to_hsv_v(), RNA_enum_get(), RNA_float_get(), blender::bke::greasepencil::Drawing::strokes_for_write(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_vertex_color_hsv().
|
static |
Definition at line 220 of file grease_pencil/intern/grease_pencil_vertex_paint.cc.
References apply_color_operation_for_mode(), CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, GreasePencil::id, ID_RECALC_GEOMETRY, NC_GEOM, ND_DATA, OPERATOR_FINISHED, blender::threading::parallel_for_each(), wmOperator::ptr, retrieve_editable_drawings(), RNA_enum_get(), blender::bke::greasepencil::Drawing::strokes_for_write(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_vertex_color_invert().
|
static |
Definition at line 268 of file grease_pencil/intern/grease_pencil_vertex_paint.cc.
References apply_color_operation_for_mode(), CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, GreasePencil::id, ID_RECALC_GEOMETRY, NC_GEOM, ND_DATA, OPERATOR_FINISHED, blender::threading::parallel_for_each(), wmOperator::ptr, retrieve_editable_drawings(), RNA_enum_get(), RNA_float_get(), blender::bke::greasepencil::Drawing::strokes_for_write(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_vertex_color_levels().
|
static |
Definition at line 388 of file grease_pencil/intern/grease_pencil_vertex_paint.cc.
References Both, CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, ELEM, Fill, GreasePencil::id, ID_RECALC_GEOMETRY, NC_GEOM, ND_DATA, OPERATOR_FINISHED, blender::threading::parallel_for_each(), wmOperator::ptr, retrieve_editable_drawings(), RNA_enum_get(), Stroke, blender::bke::greasepencil::Drawing::strokes_for_write(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_stroke_reset_vertex_color().
|
static |
Definition at line 323 of file grease_pencil/intern/grease_pencil_vertex_paint.cc.
References apply_color_operation_for_mode(), blender::bke::CurvesGeometry::attributes_for_write(), BKE_brush_color_get(), BKE_paint_brush(), BKE_paint_get_active_from_context(), Both, CTX_data_active_object(), CTX_data_scene(), blender::bke::Curve, DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, ELEM, Fill, GreasePencil::id, ID_RECALC_GEOMETRY, blender::math::interpolate(), NC_GEOM, ND_DATA, OPERATOR_FINISHED, blender::threading::parallel_for_each(), blender::bke::Point, wmOperator::ptr, retrieve_editable_drawings(), RNA_enum_get(), RNA_float_get(), srgb_to_linearrgb_v3_v3(), Stroke, blender::bke::greasepencil::Drawing::strokes_for_write(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_vertex_color_set().
| bool blender::ed::greasepencil::grease_pencil_vertex_painting_poll | ( | bContext * | C | ) |
Definition at line 158 of file grease_pencil_ops.cc.
References active_grease_pencil_poll(), CTX_data_active_object(), CTX_data_tool_settings(), ToolSettings::gp_vertexpaint, and OB_MODE_VERTEX_GREASE_PENCIL.
Referenced by brush_colors_flip_poll(), GREASE_PENCIL_OT_stroke_reset_vertex_color(), GREASE_PENCIL_OT_vertex_color_brightness_contrast(), GREASE_PENCIL_OT_vertex_color_hsv(), GREASE_PENCIL_OT_vertex_color_invert(), GREASE_PENCIL_OT_vertex_color_levels(), GREASE_PENCIL_OT_vertex_color_set(), blender::ed::sculpt_paint::grease_pencil_vertex_brush_stroke_poll(), and keymap_grease_pencil_vertex_paint_mode().
|
static |
Definition at line 609 of file grease_pencil_weight_paint.cc.
References BKE_defgroup_name_index(), BKE_object_defgroup_active_index_get(), BKE_object_defgroup_list(), BKE_report(), BLI_findlink(), CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), DG_LOCK_WEIGHT, blender::ed::greasepencil::MutableDrawingInfo::drawing, bDeformGroup::flag, grease_pencil_weight_invert_exec(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::VArrayCommon< T >::index_range(), bDeformGroup::name, NC_GEOM, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, retrieve_editable_drawings(), RPT_WARNING, blender::VMutableArray< T >::set(), blender::VArrayCommon< T >::size(), blender::bke::greasepencil::Drawing::strokes_for_write(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_weight_invert(), and grease_pencil_weight_invert_exec().
| bool blender::ed::greasepencil::grease_pencil_weight_painting_poll | ( | bContext * | C | ) |
Definition at line 142 of file grease_pencil_ops.cc.
References active_grease_pencil_poll(), CTX_data_active_object(), CTX_data_tool_settings(), ToolSettings::gp_weightpaint, and OB_MODE_WEIGHT_GREASE_PENCIL.
Referenced by GREASE_PENCIL_OT_weight_sample(), grease_pencil_vertex_group_weight_poll(), blender::ed::sculpt_paint::grease_pencil_weight_brush_stroke_poll(), keymap_grease_pencil_weight_paint_mode(), and toggle_weight_tool_direction_poll().
| bool blender::ed::greasepencil::has_any_frame_selected | ( | const bke::greasepencil::Layer & | layer | ) |
Returns true if any frame of the layer is selected.
Definition at line 252 of file grease_pencil_frames.cc.
Referenced by deselect_action_keys().
|
static |
Definition at line 376 of file grease_pencil_frames.cc.
References CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), GreasePencil::id, ID_RECALC_GEOMETRY, NA_EDITED, NC_GEOM, NC_GPENCIL, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), RNA_int_get(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_insert_blank_frame().
| void blender::ed::greasepencil::insert_selected_values | ( | const bke::CurvesGeometry & | curves, |
| const bke::AttrDomain | domain, | ||
| const StringRef | attribute_id, | ||
| blender::Set< T > & | r_value_set ) |
Definition at line 586 of file grease_pencil_select.cc.
References insert_selected_values().
Referenced by insert_selected_values(), and select_similar_by_value().
|
static |
Definition at line 355 of file grease_pencil_fill.cc.
References Fill, get_flag(), blender::ed::greasepencil::ImageBufferAccessor::pixels(), and set_flag().
Referenced by process_image().
|
static |
Definition at line 87 of file grease_pencil_merge.cc.
References BLI_assert, blender::bke::curves_new_nomain(), blender::bke::CurvesGeometry::curves_num(), Curves::geometry, blender::bke::GeometrySet::get_curves(), blender::bke::GeometrySet::has_curves(), blender::Span< T >::index_range(), blender::geometry::join_geometries(), Curves::mat, GreasePencil::material_array, GreasePencil::material_array_num, MEM_dupallocN, blender::Span< T >::size(), Curves::totcol, and blender::bke::CurvesGeometry::transform().
|
static |
Definition at line 2280 of file grease_pencil_edit.cc.
References BLI_assert, join_geometries_with_transform(), options, and blender::Span< T >::size().
Referenced by clipboard_paste_strokes(), grease_pencil_copy_strokes_exec(), and join_geometries_with_transform().
|
static |
Definition at line 3866 of file grease_pencil_edit.cc.
References add_materials_to_map(), add_vertex_groups(), BKE_fcurves_main_cb(), BLI_assert, BLI_strdup(), blender::StringRefNull::c_str(), CD_MASK_ALL, CD_SET_DEFAULT, copy_layer_group_content(), CustomData_copy_data(), CustomData_merge_layout(), Object::data, GreasePencil::drawing_array, GreasePencil::drawing_array_num, FCurve::driver, ELEM, GP_DRAWING, GreasePencil::id, blender::math::invert(), join_object_with_active(), GreasePencil::layers_data, LISTBASE_FOREACH, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_ptr(), MEM_malloc_arrayN, MEM_SAFE_FREE, OB_GREASE_PENCIL, remap_material_indices(), remap_vertex_groups(), FCurve::rna_path, blender::MutableSpan< T >::slice(), blender::bke::greasepencil::Drawing::strokes_for_write(), blender::bke::CurvesGeometry::transform(), GreasePencilDrawingBase::type, Object::type, GreasePencil::vertex_group_names, and wrap().
Referenced by ED_grease_pencil_join_objects_exec(), and join_object_with_active().
|
static |
Definition at line 248 of file grease_pencil_ops.cc.
References keymap_grease_pencil_brush_stroke_poll(), wmKeyMap::poll, RGN_TYPE_WINDOW, SPACE_EMPTY, and WM_keymap_ensure().
|
static |
Definition at line 217 of file grease_pencil_ops.cc.
References BKE_paint_brush(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), CTX_data_tool_settings(), ToolSettings::gp_paint, GPAINT_BRUSH_TYPE_FILL, Brush::gpencil_brush_type, Brush::gpencil_settings, grease_pencil_painting_poll(), GpPaint::paint, WM_toolsystem_active_tool_is_brush(), and WM_toolsystem_ref_from_context().
Referenced by keymap_grease_pencil_brush_stroke().
|
static |
Definition at line 181 of file grease_pencil_ops.cc.
References grease_pencil_edit_poll(), wmKeyMap::poll, RGN_TYPE_WINDOW, SPACE_EMPTY, and WM_keymap_ensure().
|
static |
Definition at line 269 of file grease_pencil_ops.cc.
References keymap_grease_pencil_fill_tool_poll(), wmKeyMap::poll, RGN_TYPE_WINDOW, SPACE_EMPTY, and WM_keymap_ensure().
|
static |
Definition at line 256 of file grease_pencil_ops.cc.
References BKE_paint_brush(), CTX_data_tool_settings(), ToolSettings::gp_paint, GPAINT_BRUSH_TYPE_FILL, Brush::gpencil_brush_type, Brush::gpencil_settings, grease_pencil_painting_poll(), GpPaint::paint, and WM_toolsystem_active_tool_is_brush().
Referenced by keymap_grease_pencil_fill_tool().
|
static |
Definition at line 188 of file grease_pencil_ops.cc.
References grease_pencil_painting_poll(), wmKeyMap::poll, RGN_TYPE_WINDOW, SPACE_EMPTY, and WM_keymap_ensure().
|
static |
Definition at line 195 of file grease_pencil_ops.cc.
References grease_pencil_sculpting_poll(), wmKeyMap::poll, RGN_TYPE_WINDOW, SPACE_EMPTY, and WM_keymap_ensure().
|
static |
Definition at line 174 of file grease_pencil_ops.cc.
References grease_pencil_selection_poll(), wmKeyMap::poll, RGN_TYPE_WINDOW, SPACE_EMPTY, and WM_keymap_ensure().
|
static |
Definition at line 209 of file grease_pencil_ops.cc.
References grease_pencil_vertex_painting_poll(), wmKeyMap::poll, RGN_TYPE_WINDOW, SPACE_EMPTY, and WM_keymap_ensure().
|
static |
Definition at line 202 of file grease_pencil_ops.cc.
References grease_pencil_weight_painting_poll(), wmKeyMap::poll, RGN_TYPE_WINDOW, SPACE_EMPTY, and WM_keymap_ensure().
|
static |
Definition at line 296 of file grease_pencil_weight_paint.cc.
References BKE_defgroup_name_index(), BLI_addtail(), BLI_assert, BLI_listbase_count(), lookup_or_add_deform_group_index(), and bDeformGroup::name.
Referenced by add_armature_automatic_weights(), add_armature_envelope_weights(), and lookup_or_add_deform_group_index().
|
static |
Definition at line 227 of file grease_pencil_fill.cc.
References Border, blender::IndexRange::drop_back(), blender::IndexRange::drop_front(), blender::ed::greasepencil::ImageBufferAccessor::height(), blender::ed::greasepencil::ImageBufferAccessor::pixels(), set_flag(), and blender::ed::greasepencil::ImageBufferAccessor::width().
Referenced by process_image().
|
static |
Definition at line 1253 of file grease_pencil_edit.cc.
References BKE_object_material_get(), CTX_data_active_object(), EnumPropertyItem::identifier, material_enum_itemf(), rna_enum_dummy_DEFAULT_items, RNA_enum_item_add(), RNA_enum_item_end(), and Object::totcol.
Referenced by GREASE_PENCIL_OT_set_material(), and material_enum_itemf().
|
static |
Definition at line 404 of file grease_pencil_material.cc.
References Object::actcol, BKE_gpencil_material(), BKE_gpencil_material_settings(), BKE_object_material_len_p(), CTX_data_active_object(), Object::data, DEG_id_tag_update(), ELEM, MaterialGPencilStyle::flag, GP_MATERIAL_HIDE, GP_MATERIAL_LOCKED, Material::gp_style, GreasePencil::id, Material::id, ID_RECALC_GEOMETRY, ID_RECALC_SYNC_TO_EVAL, NA_EDITED, NC_GPENCIL, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_material_isolate().
| void blender::ed::greasepencil::merge_layers | ( | const GreasePencil & | src_grease_pencil, |
| const Span< Vector< int > > | src_layer_indices_by_dst_layer, | ||
| GreasePencil & | dst_grease_pencil ) |
Definition at line 112 of file grease_pencil_merge.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_or_modify(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Vector< T, InlineBufferCapacity, Allocator >::append_and_get_index(), blender::Array< T, InlineBufferCapacity, Allocator >::begin(), BKE_grease_pencil_copy_layer_parameters(), BLI_assert, copy_layer_groups_without_layers(), GreasePencilFrame::drawing_index, blender::bke::greasepencil::Layer::drawing_index_at(), blender::Array< T, InlineBufferCapacity, Allocator >::end(), find_lowest_common_ancestor(), blender::Span< T >::first(), blender::Span< T >::first_index_try(), GreasePencilFrame::flag, blender::bke::greasepencil::Layer::frames(), blender::bke::greasepencil::Layer::frames_for_write(), blender::bke::greasepencil::Layer::get_frame_duration_at(), GP_FRAME_IMPLICIT_HOLD, blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::index_of_try(), blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), blender::math::invert(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::items(), blender::bke::greasepencil::Layer::local_transform(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add(), blender::Array< T, InlineBufferCapacity, Allocator >::size(), blender::Span< T >::size(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), blender::bke::greasepencil::Layer::sorted_keys(), blender::bke::greasepencil::Layer::tag_frames_map_changed(), and GreasePencilFrame::type.
Referenced by grease_pencil_merge_layer_exec(), blender::ed::greasepencil::tests::TEST(), blender::ed::greasepencil::tests::TEST(), blender::ed::greasepencil::tests::TEST(), blender::ed::greasepencil::tests::TEST(), and blender::ed::greasepencil::tests::TEST().
| bool blender::ed::greasepencil::mirror_selected_frames | ( | GreasePencil & | grease_pencil, |
| bke::greasepencil::Layer & | layer, | ||
| Scene & | scene, | ||
| const eEditKeyframes_Mirror | mode ) |
Definition at line 117 of file grease_pencil_frames.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), ED_markers_get_first_selected(), get_mirrored_frame_number(), and MIRROR_KEYS_MARKER.
Referenced by mirror_action_keys().
|
staticconstexpr |
Referenced by create_suzanne().
|
staticconstexpr |
Referenced by create_suzanne().
|
static |
Referenced by create_suzanne().
|
staticconstexpr |
Referenced by create_suzanne().
|
staticconstexpr |
Referenced by create_suzanne().
|
staticconstexpr |
Referenced by create_suzanne().
|
static |
Referenced by create_suzanne().
|
staticconstexpr |
Referenced by create_suzanne().
| void blender::ed::greasepencil::normalize_vertex_weights | ( | MDeformVert & | dvert, |
| int | active_vertex_group, | ||
| Span< bool > | vertex_group_is_locked, | ||
| Span< bool > | vertex_group_is_bone_deformed ) |
For a point in a stroke, normalize the weights of vertex groups deformed by bones so that the sum is 1.0f.
Definition at line 180 of file grease_pencil_weight_paint.cc.
References normalize_vertex_weights_try(), and blender::Span< T >::size().
|
static |
Definition at line 82 of file grease_pencil_weight_paint.cc.
References blender::math::clamp(), MDeformWeight::def_nr, MDeformVert::dw, MDeformVert::totweight, VERTEX_WEIGHT_LOCK_EPSILON, and MDeformWeight::weight.
Referenced by normalize_vertex_weights().
| float blender::ed::greasepencil::opacity_from_input_sample | ( | const float | pressure, |
| const Brush * | brush, | ||
| const BrushGpencilSettings * | settings ) |
Definition at line 1491 of file grease_pencil_utils.cc.
References Brush::alpha, BKE_brush_use_alpha_pressure(), BKE_curvemapping_evaluateF(), and opacity_from_input_sample().
Referenced by boundary_to_curves(), grease_pencil_primitive_update_curves(), and opacity_from_input_sample().
|
static |
Definition at line 51 of file grease_pencil_modes.cc.
References BKE_brush_init_gpencil_settings(), BKE_gpencil_palette_ensure(), BKE_paint_brush(), BKE_paint_brushes_ensure(), BKE_paint_brushes_validate(), BKE_paint_ensure(), BKE_paint_get_active_from_paintmode(), BKE_paint_init(), BLI_assert, brush_cursor_poll(), CTX_data_active_object(), CTX_data_main(), CTX_data_scene(), CTX_data_tool_settings(), CTX_wm_message_bus(), Object::data, DEG_id_tag_update(), ED_paint_cursor_start(), G, ToolSettings::gp_paint, ToolSettings::gp_vertexpaint, GPencil, Brush::gpencil_settings, GreasePencil::id, Object::id, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, Object::mode, NC_GPENCIL, NC_SCENE, ND_DATA, ND_GPENCIL_EDITMODE, ND_MODE, OB_MODE_OBJECT, OB_MODE_PAINT_GREASE_PENCIL, OPERATOR_FINISHED, GpPaint::paint, GpVertexPaint::paint, PAINT_CURSOR_PAINT_GREASE_PENCIL, wmOperator::ptr, Object::restore_mode, RNA_boolean_get(), WM_event_add_notifier(), WM_msg_publish_rna_prop, and WM_toolsystem_update_from_context_view3d().
Referenced by GREASE_PENCIL_OT_paintmode_toggle().
|
static |
Definition at line 42 of file grease_pencil_modes.cc.
References CTX_data_active_object(), Object::data, OB_GREASE_PENCIL, and Object::type.
Referenced by GREASE_PENCIL_OT_paintmode_toggle().
|
static |
Definition at line 1445 of file grease_pencil_utils.cc.
References ED_view3d_calc_zfac(), ED_view3d_win_to_delta(), blender::math::numbers::inv_sqrt3, blender::math::length(), pixel_radius_to_world_space_radius(), blender::math::safe_divide(), blender::math::transform_direction(), and blender::math::transform_point().
Referenced by brush_radius_at_location(), and pixel_radius_to_world_space_radius().
| IndexMask blender::ed::greasepencil::polyline_detect_corners | ( | Span< float2 > | points, |
| const float | radius_min, | ||
| const float | radius_max, | ||
| const int | samples_max, | ||
| const float | angle_threshold, | ||
| IndexMaskMemory & | memory ) |
Definition at line 138 of file grease_pencil_geom.cc.
References BLI_assert, error(), free(), blender::index_mask::IndexMask::from_indices(), indices, and blender::VecBase< float, 2 >::type_length.
| Array< float2 > blender::ed::greasepencil::polyline_fit_curve | ( | Span< float2 > | points, |
| const float | error_threshold, | ||
| const IndexMask & | corner_mask ) |
Definition at line 86 of file grease_pencil_geom.cc.
References blender::math::distance(), e, error(), free(), indices, blender::index_mask::IndexMask::is_empty(), blender::index_mask::IndexMask::size(), and blender::index_mask::IndexMask::to_indices().
|
static |
Definition at line 291 of file grease_pencil_primitive.cc.
References A, B, C, control_point_center, control_point_first, control_points_per_segment(), cosf, blender::IndexRange::drop_back(), blender::MutableSpan< T >::fill(), float, blender::MutableSpan< T >::index_range(), int, blender::math::interpolate(), blender::MutableSpan< T >::last(), blender::Span< T >::last(), blender::math::mod(), blender::math::numbers::pi, blender::ed::greasepencil::PrimitiveToolOperation::segments, sinf, blender::MutableSpan< T >::size(), blender::ed::greasepencil::PrimitiveToolOperation::subdivision, and blender::ed::greasepencil::PrimitiveToolOperation::type.
Referenced by primitive_calulate_curve_positions_2d().
|
static |
Definition at line 402 of file grease_pencil_primitive.cc.
References blender::ed::greasepencil::PrimitiveToolOperation::control_points, primitive_calulate_curve_positions(), and primitive_local_to_screen().
Referenced by grease_pencil_primitive_update_curves().
|
static |
Definition at line 938 of file grease_pencil_primitive.cc.
References control_point_center, blender::ed::greasepencil::PrimitiveToolOperation::control_points, ELEM, primitive_local_to_screen(), blender::ed::greasepencil::PrimitiveToolOperation::temp_control_points, and blender::ed::greasepencil::PrimitiveToolOperation::type.
Referenced by grease_pencil_primitive_rotate_all_update(), and grease_pencil_primitive_scale_all_update().
|
static |
Definition at line 996 of file grease_pencil_primitive.cc.
References blender::ed::greasepencil::PrimitiveToolOperation::control_points, blender::math::distance_squared(), get_control_point_type(), HandlePoint, wmEvent::mval, point, primitive_local_to_screen(), ui_point_hit_size_px, and ui_point_max_hit_size_px.
Referenced by grease_pencil_primitive_cursor_update(), and grease_pencil_primitive_mouse_event().
|
static |
Definition at line 396 of file grease_pencil_primitive.cc.
References ED_view3d_project_float_v2_m4(), blender::ed::greasepencil::PrimitiveToolOperation::local_transform, blender::ed::greasepencil::PrimitiveToolOperation::projection, ViewContext::region, blender::math::transform_point(), and blender::ed::greasepencil::PrimitiveToolOperation::vc.
Referenced by grease_pencil_primitive_drag_all_update(), grease_pencil_primitive_drag_update(), grease_pencil_primitive_event_modal_map(), grease_pencil_primitive_grab_update(), grease_pencil_primitive_mouse_event(), grease_pencil_primitive_rotate_all_update(), grease_pencil_primitive_scale_all_update(), primitive_calulate_curve_positions_2d(), primitive_center_of_mass(), and primitive_check_ui_hover().
|
static |
Definition at line 691 of file grease_pencil_fill.cc.
References blender::ed::greasepencil::ImageBufferAccessor::acquire(), BLI_SCOPED_DEFER, BorderContact, boundary_to_curves(), build_fill_boundary(), convert_colors_to_flags(), convert_flags_to_colors(), dilate(), BrushGpencilSettings::dilate_pixels, ELEM, erode(), flood_fill(), Brush::gpencil_settings, invert(), invert_fill(), mark_borders(), blender::ed::greasepencil::ImageBufferAccessor::release(), and Success.
Referenced by fill_strokes().
| float blender::ed::greasepencil::radius_from_input_sample | ( | const RegionView3D * | rv3d, |
| const ARegion * | region, | ||
| const Brush * | brush, | ||
| const float | pressure, | ||
| const float3 | location, | ||
| const float4x4 | to_world, | ||
| const BrushGpencilSettings * | settings ) |
Definition at line 1476 of file grease_pencil_utils.cc.
References BKE_brush_use_size_pressure(), BKE_curvemapping_evaluateF(), brush_radius_at_location(), and radius_from_input_sample().
Referenced by boundary_to_curves(), grease_pencil_primitive_update_curves(), and radius_from_input_sample().
| int64_t blender::ed::greasepencil::ramer_douglas_peucker_simplify | ( | IndexRange | range, |
| float | epsilon, | ||
| FunctionRef< float(int64_t, int64_t, int64_t)> | dist_function, | ||
| MutableSpan< bool > | points_to_delete ) |
An implementation of the Ramer-Douglas-Peucker algorithm.
| range | The range to simplify. |
| epsilon | The threshold distance from the coord between two points for when a point in-between needs to be kept. |
| dist_function | A function that computes the distance to a point at an index in the range. The IndexRange is a subrange of range and the index is an index relative to the subrange. |
| points_to_delete | Writes true to the indices for which the points should be removed. |
Definition at line 41 of file grease_pencil_geom.cc.
References blender::IndexRange::drop_back(), blender::IndexRange::drop_front(), blender::MutableSpan< T >::fill(), blender::IndexRange::first(), blender::Stack< T, InlineBufferCapacity, Allocator >::is_empty(), blender::IndexRange::last(), blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), blender::Stack< T, InlineBufferCapacity, Allocator >::push(), blender::IndexRange::size(), blender::IndexRange::slice(), and blender::MutableSpan< T >::slice().
|
static |
Definition at line 3825 of file grease_pencil_edit.cc.
References blender::bke::Curve, blender::threading::parallel_for(), and blender::bke::greasepencil::Drawing::strokes_for_write().
Referenced by ED_grease_pencil_join_objects_exec(), and join_object_with_active().
|
static |
Definition at line 3855 of file grease_pencil_edit.cc.
References LISTBASE_FOREACH, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), remap_vertex_groups(), STRNCPY, blender::bke::greasepencil::Drawing::strokes_for_write(), and CurvesGeometry::vertex_group_names.
Referenced by join_object_with_active(), and remap_vertex_groups().
| bool blender::ed::greasepencil::remove_all_selected_frames | ( | GreasePencil & | grease_pencil, |
| bke::greasepencil::Layer & | layer ) |
Definition at line 188 of file grease_pencil_frames.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), and blender::Vector< T, InlineBufferCapacity, Allocator >::as_span().
Referenced by delete_action_keys().
|
static |
Definition at line 368 of file grease_pencil_edit.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Array< T, InlineBufferCapacity, Allocator >::as_mutable_span(), blender::Array< T, InlineBufferCapacity, Allocator >::as_span(), blender::Vector< T, InlineBufferCapacity, Allocator >::as_span(), blender::bke::CurvesGeometry::attributes_for_write(), BKE_defgroup_copy_list(), count, blender::bke::CurvesGeometry::cyclic_for_write(), blender::MutableSpan< T >::drop_back(), blender::IndexRange::drop_front(), blender::IndexRange::first(), blender::Vector< T, InlineBufferCapacity, Allocator >::first(), blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), is_cyclic(), blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), blender::IndexRange::last(), blender::Vector< T, InlineBufferCapacity, Allocator >::last(), blender::bke::CurvesGeometry::offsets_for_write(), blender::bke::CurvesGeometry::remove_attributes_based_on_types(), remove_points_and_split(), blender::IndexRange::shift(), blender::IndexRange::size(), blender::Vector< T, InlineBufferCapacity, Allocator >::size(), blender::bke::CurvesGeometry::update_curve_types(), and CurvesGeometry::vertex_group_names.
Referenced by grease_pencil_delete_exec(), grease_pencil_separate_selected(), and remove_points_and_split().
|
static |
Definition at line 1845 of file grease_pencil_edit.cc.
References BKE_object_material_slot_remove(), BKE_object_material_slot_used(), and remove_unused_materials().
Referenced by grease_pencil_separate_layer(), grease_pencil_separate_material(), grease_pencil_separate_selected(), and remove_unused_materials().
| IndexMask blender::ed::greasepencil::retrieve_editable_and_selected_elements | ( | Object & | object, |
| const bke::greasepencil::Drawing & | drawing, | ||
| int | layer_index, | ||
| const bke::AttrDomain | selection_domain, | ||
| IndexMaskMemory & | memory ) |
Definition at line 1229 of file grease_pencil_utils.cc.
References blender::bke::Curve, blender::bke::Point, retrieve_editable_and_selected_elements(), retrieve_editable_and_selected_points(), and retrieve_editable_and_selected_strokes().
Referenced by grease_pencil_duplicate_exec(), grease_pencil_reproject_exec(), and retrieve_editable_and_selected_elements().
| IndexMask blender::ed::greasepencil::retrieve_editable_and_selected_fill_strokes | ( | Object & | object, |
| const bke::greasepencil::Drawing & | drawing, | ||
| int | layer_index, | ||
| IndexMaskMemory & | memory ) |
Definition at line 1201 of file grease_pencil_utils.cc.
References blender::index_mask::IndexMask::from_intersection(), retrieve_editable_and_selected_fill_strokes(), retrieve_editable_fill_strokes(), blender::ed::curves::retrieve_selected_curves(), and blender::bke::greasepencil::Drawing::strokes().
Referenced by blender::ed::sculpt_paint::greasepencil::fill_selection_mask(), and retrieve_editable_and_selected_fill_strokes().
| IndexMask blender::ed::greasepencil::retrieve_editable_and_selected_points | ( | Object & | object, |
| const bke::greasepencil::Drawing & | drawing, | ||
| int | layer_index, | ||
| IndexMaskMemory & | memory ) |
Definition at line 1216 of file grease_pencil_utils.cc.
References blender::index_mask::IndexMask::from_intersection(), retrieve_editable_and_selected_points(), retrieve_editable_points(), blender::ed::curves::retrieve_selected_points(), and blender::bke::greasepencil::Drawing::strokes().
Referenced by blender::draw::grease_pencil_edit_batch_ensure(), grease_pencil_extrude_exec(), grease_pencil_reproject_exec(), blender::ed::sculpt_paint::greasepencil::point_selection_mask(), retrieve_editable_and_selected_elements(), and retrieve_editable_and_selected_points().
| IndexMask blender::ed::greasepencil::retrieve_editable_and_selected_strokes | ( | Object & | object, |
| const bke::greasepencil::Drawing & | drawing, | ||
| int | layer_index, | ||
| IndexMaskMemory & | memory ) |
Definition at line 1186 of file grease_pencil_utils.cc.
References blender::index_mask::IndexMask::from_intersection(), retrieve_editable_and_selected_strokes(), retrieve_editable_strokes(), blender::ed::curves::retrieve_selected_curves(), and blender::bke::greasepencil::Drawing::strokes().
Referenced by blender::ed::transform::greasepencil::createTransGreasePencilVerts(), blender::draw::grease_pencil_edit_batch_ensure(), blender::draw::grease_pencil_get_visible_nurbs_curves(), blender::draw::grease_pencil_get_visible_nurbs_points(), grease_pencil_material_lock_unselected_exec(), grease_pencil_stroke_smooth_exec(), blender::draw::index_buf_add_points(), retrieve_editable_and_selected_elements(), retrieve_editable_and_selected_strokes(), retrieve_visible_bezier_handle_elements(), and blender::ed::sculpt_paint::greasepencil::stroke_selection_mask().
| Vector< MutableDrawingInfo > blender::ed::greasepencil::retrieve_editable_drawings | ( | const Scene & | scene, |
| GreasePencil & | grease_pencil ) |
Definition at line 607 of file grease_pencil_utils.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), get_editable_frames_for_layer(), GP_USE_MULTI_FRAME_EDITING, ToolSettings::gpencil_flags, and retrieve_editable_drawings().
Referenced by add_armature_automatic_weights(), add_armature_envelope_weights(), blender::ed::transform::greasepencil::createTransGreasePencilVerts(), gizmo_3d_foreach_selected(), gpencil_stroke_subdivide_exec(), grease_pencil_caps_set_exec(), grease_pencil_clean_loose_exec(), grease_pencil_copy_strokes_exec(), grease_pencil_cyclical_set_exec(), grease_pencil_delete_exec(), grease_pencil_dissolve_exec(), grease_pencil_duplicate_exec(), grease_pencil_extrude_exec(), grease_pencil_material_lock_unselected_exec(), grease_pencil_material_select_exec(), grease_pencil_move_to_layer_exec(), grease_pencil_paste_strokes_exec(), grease_pencil_reproject_exec(), grease_pencil_reset_uvs_exec(), grease_pencil_separate_exec(), grease_pencil_separate_material(), grease_pencil_separate_selected(), grease_pencil_set_active_material_exec(), grease_pencil_set_curve_resolution_exec(), grease_pencil_set_curve_type_exec(), grease_pencil_set_handle_type_exec(), grease_pencil_set_uniform_opacity_exec(), grease_pencil_set_uniform_thickness_exec(), grease_pencil_snap_to_cursor_exec(), grease_pencil_snap_to_grid_exec(), grease_pencil_stroke_material_set_exec(), grease_pencil_stroke_merge_by_distance_exec(), grease_pencil_stroke_reorder_exec(), grease_pencil_stroke_simplify_exec(), grease_pencil_stroke_smooth_exec(), grease_pencil_stroke_switch_direction_exec(), grease_pencil_texture_gradient_exec(), grease_pencil_vertex_paint_brightness_contrast_exec(), grease_pencil_vertex_paint_hsv_exec(), grease_pencil_vertex_paint_invert_exec(), grease_pencil_vertex_paint_levels_exec(), grease_pencil_vertex_paint_reset_exec(), grease_pencil_vertex_paint_set_exec(), blender::ed::sculpt_paint::grease_pencil_weight_brush_stroke_invoke(), grease_pencil_weight_invert_exec(), blender::ed::sculpt_paint::greasepencil::TintOperation::on_stroke_begin(), blender::ed::transform::greasepencil::recalcData_grease_pencil(), retrieve_editable_drawings(), select_all_exec(), select_alternate_exec(), select_linked_exec(), select_similar_by_layer(), select_similar_by_value(), select_similar_exec(), vertex_group_normalize_all_exec(), and vertex_group_smooth_exec().
| Vector< MutableDrawingInfo > blender::ed::greasepencil::retrieve_editable_drawings_from_layer | ( | const Scene & | scene, |
| GreasePencil & | grease_pencil, | ||
| const blender::bke::greasepencil::Layer & | layer ) |
Definition at line 762 of file grease_pencil_utils.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), get_editable_frames_for_layer(), GP_USE_MULTI_FRAME_EDITING, ToolSettings::gpencil_flags, and retrieve_editable_drawings_from_layer().
Referenced by grease_pencil_separate_layer(), blender::ed::sculpt_paint::greasepencil::TintOperation::on_stroke_begin(), and retrieve_editable_drawings_from_layer().
| Vector< MutableDrawingInfo > blender::ed::greasepencil::retrieve_editable_drawings_from_layer_with_falloff | ( | const Scene & | scene, |
| GreasePencil & | grease_pencil, | ||
| const blender::bke::greasepencil::Layer & | layer ) |
Definition at line 786 of file grease_pencil_utils.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), BKE_curvemapping_init(), blender::math::clamp(), GP_Sculpt_Settings::cur_falloff, GP_Sculpt_Settings::flag, get_editable_frames_for_layer(), get_minmax_selected_frame_numbers(), get_multi_frame_falloff(), ToolSettings::gp_sculpt, GP_SCULPT_SETT_FLAG_FRAME_FALLOFF, GP_USE_MULTI_FRAME_EDITING, ToolSettings::gpencil_flags, and retrieve_editable_drawings_from_layer_with_falloff().
Referenced by blender::ed::sculpt_paint::greasepencil::get_drawings_for_painting(), and retrieve_editable_drawings_from_layer_with_falloff().
| Array< Vector< MutableDrawingInfo > > blender::ed::greasepencil::retrieve_editable_drawings_grouped_per_frame | ( | const Scene & | scene, |
| GreasePencil & | grease_pencil ) |
Definition at line 680 of file grease_pencil_utils.cc.
References blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), BKE_curvemapping_init(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), GP_Sculpt_Settings::cur_falloff, GP_Sculpt_Settings::flag, get_multi_frame_falloff(), ToolSettings::gp_sculpt, GP_SCULPT_SETT_FLAG_FRAME_FALLOFF, GP_USE_MULTI_FRAME_EDITING, ToolSettings::gpencil_flags, blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::index_of(), blender::math::max(), blender::math::min(), retrieve_editable_drawings_grouped_per_frame(), and blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::size().
Referenced by grease_pencil_reproject_exec(), retrieve_editable_drawings_grouped_per_frame(), and vertex_group_normalize_exec().
| Vector< MutableDrawingInfo > blender::ed::greasepencil::retrieve_editable_drawings_with_falloff | ( | const Scene & | scene, |
| GreasePencil & | grease_pencil ) |
Definition at line 635 of file grease_pencil_utils.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), BKE_curvemapping_init(), blender::math::clamp(), GP_Sculpt_Settings::cur_falloff, GP_Sculpt_Settings::flag, get_editable_frames_for_layer(), get_minmax_selected_frame_numbers(), get_multi_frame_falloff(), ToolSettings::gp_sculpt, GP_SCULPT_SETT_FLAG_FRAME_FALLOFF, GP_USE_MULTI_FRAME_EDITING, ToolSettings::gpencil_flags, and retrieve_editable_drawings_with_falloff().
Referenced by blender::ed::sculpt_paint::greasepencil::get_drawings_for_painting(), and retrieve_editable_drawings_with_falloff().
| IndexMask blender::ed::greasepencil::retrieve_editable_elements | ( | Object & | object, |
| const MutableDrawingInfo & | info, | ||
| const bke::AttrDomain | selection_domain, | ||
| IndexMaskMemory & | memory ) |
Definition at line 1058 of file grease_pencil_utils.cc.
References blender::bke::Curve, blender::ed::greasepencil::MutableDrawingInfo::drawing, blender::ed::greasepencil::MutableDrawingInfo::layer_index, blender::bke::Point, retrieve_editable_elements(), retrieve_editable_points(), and retrieve_editable_strokes().
Referenced by retrieve_editable_elements(), select_all_exec(), select_random_exec(), and select_similar_by_layer().
| IndexMask blender::ed::greasepencil::retrieve_editable_fill_strokes | ( | Object & | object, |
| const bke::greasepencil::Drawing & | drawing, | ||
| int | layer_index, | ||
| IndexMaskMemory & | memory ) |
Definition at line 946 of file grease_pencil_utils.cc.
References blender::index_mask::IndexMask::contains(), blender::bke::Curve, fill_strokes(), blender::index_mask::IndexMask::from_intersection(), blender::index_mask::IndexMask::from_predicate(), get_fill_material_indices(), blender::index_mask::IndexMask::is_empty(), retrieve_editable_fill_strokes(), retrieve_editable_strokes(), and blender::bke::greasepencil::Drawing::strokes().
Referenced by retrieve_editable_and_selected_fill_strokes(), and retrieve_editable_fill_strokes().
| IndexMask blender::ed::greasepencil::retrieve_editable_points | ( | Object & | object, |
| const bke::greasepencil::Drawing & | drawing, | ||
| int | layer_index, | ||
| IndexMaskMemory & | memory ) |
Definition at line 1015 of file grease_pencil_utils.cc.
References blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::index_mask::IndexMask::from_predicate(), get_editable_material_indices(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), blender::bke::Point, retrieve_editable_points(), and blender::bke::greasepencil::Drawing::strokes().
Referenced by apply_color_operation_for_mode(), blender::ed::transform::greasepencil::createTransGreasePencilVerts(), retrieve_editable_and_selected_points(), retrieve_editable_elements(), retrieve_editable_points(), and retrieve_visible_bezier_handle_points().
| IndexMask blender::ed::greasepencil::retrieve_editable_strokes | ( | Object & | object, |
| const bke::greasepencil::Drawing & | drawing, | ||
| int | layer_index, | ||
| IndexMaskMemory & | memory ) |
Definition at line 903 of file grease_pencil_utils.cc.
References blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::bke::Curve, blender::index_mask::IndexMask::from_predicate(), get_editable_material_indices(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), retrieve_editable_strokes(), and blender::bke::greasepencil::Drawing::strokes().
Referenced by apply_color_operation_for_mode(), blender::ed::transform::greasepencil::createTransGreasePencilVerts(), grease_pencil_separate_layer(), retrieve_editable_and_selected_strokes(), retrieve_editable_elements(), retrieve_editable_fill_strokes(), and retrieve_editable_strokes().
| IndexMask blender::ed::greasepencil::retrieve_editable_strokes_by_material | ( | Object & | object, |
| const bke::greasepencil::Drawing & | drawing, | ||
| const int | mat_i, | ||
| IndexMaskMemory & | memory ) |
Definition at line 979 of file grease_pencil_utils.cc.
References blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::bke::Curve, blender::bke::CurvesGeometry::curves_range(), blender::index_mask::IndexMask::from_predicate(), get_editable_material_indices(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), retrieve_editable_strokes_by_material(), and blender::bke::greasepencil::Drawing::strokes().
Referenced by grease_pencil_material_select_exec(), grease_pencil_separate_material(), and retrieve_editable_strokes_by_material().
| IndexMask blender::ed::greasepencil::retrieve_visible_bezier_handle_elements | ( | Object & | object, |
| const bke::greasepencil::Drawing & | drawing, | ||
| const int | layer_index, | ||
| const bke::AttrDomain | selection_domain, | ||
| IndexMaskMemory & | memory ) |
Definition at line 1169 of file grease_pencil_utils.cc.
References blender::bke::Curve, blender::bke::Point, retrieve_editable_and_selected_strokes(), retrieve_visible_bezier_handle_elements(), and retrieve_visible_bezier_handle_points().
Referenced by retrieve_visible_bezier_handle_elements().
| IndexMask blender::ed::greasepencil::retrieve_visible_bezier_handle_points | ( | Object & | object, |
| const bke::greasepencil::Drawing & | drawing, | ||
| const int | layer_index, | ||
| IndexMaskMemory & | memory ) |
Definition at line 1134 of file grease_pencil_utils.cc.
References CURVE_TYPE_BEZIER, blender::index_mask::IndexMask::from_intersection(), blender::index_mask::IndexMask::from_predicate(), blender::bke::Point, retrieve_editable_points(), retrieve_visible_bezier_handle_points(), and blender::bke::greasepencil::Drawing::strokes().
Referenced by blender::draw::grease_pencil_edit_batch_ensure(), blender::draw::index_buf_add_bezier_line_points(), blender::draw::index_buf_add_bezier_lines(), retrieve_visible_bezier_handle_elements(), and retrieve_visible_bezier_handle_points().
| Vector< DrawingInfo > blender::ed::greasepencil::retrieve_visible_drawings | ( | const Scene & | scene, |
| const GreasePencil & | grease_pencil, | ||
| const bool | do_onion_skinning ) |
Definition at line 827 of file grease_pencil_utils.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), get_visible_frames_for_layer(), GP_USE_MULTI_FRAME_EDITING, ToolSettings::gpencil_flags, and retrieve_visible_drawings().
Referenced by blender::draw::grease_pencil_edit_batch_ensure(), blender::ed::sculpt_paint::grease_pencil_fill_extension_cut(), blender::ed::sculpt_paint::grease_pencil_fill_extension_lines_from_circles(), blender::ed::sculpt_paint::grease_pencil_fill_get_extension_data(), blender::ed::sculpt_paint::grease_pencil_fill_overlay_cb(), blender::draw::grease_pencil_geom_batch_ensure(), grease_pencil_snap_compute_centroid(), blender::draw::grease_pencil_weight_batch_ensure(), blender::draw::grease_pencil_wire_batch_ensure(), retrieve_visible_drawings(), and weight_sample_invoke().
| IndexMask blender::ed::greasepencil::retrieve_visible_points | ( | Object & | object, |
| const bke::greasepencil::Drawing & | drawing, | ||
| IndexMaskMemory & | memory ) |
Definition at line 1101 of file grease_pencil_utils.cc.
References blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::index_mask::IndexMask::from_predicate(), get_hidden_material_indices(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), blender::bke::Point, blender::bke::CurvesGeometry::points_range(), retrieve_visible_points(), and blender::bke::greasepencil::Drawing::strokes().
Referenced by retrieve_visible_points(), and weight_sample_invoke().
| IndexMask blender::ed::greasepencil::retrieve_visible_strokes | ( | Object & | object, |
| const bke::greasepencil::Drawing & | drawing, | ||
| IndexMaskMemory & | memory ) |
Definition at line 1074 of file grease_pencil_utils.cc.
References blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::bke::Curve, blender::bke::CurvesGeometry::curves_range(), blender::index_mask::IndexMask::from_predicate(), get_hidden_material_indices(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), retrieve_visible_strokes(), and blender::bke::greasepencil::Drawing::strokes().
Referenced by blender::draw::overlay::GreasePencil::draw_grease_pencil(), blender::draw::grease_pencil_geom_batch_ensure(), blender::draw::grease_pencil_get_visible_non_nurbs_curves(), blender::draw::grease_pencil_weight_batch_ensure(), blender::draw::grease_pencil_wire_batch_ensure(), and retrieve_visible_strokes().
|
static |
Definition at line 151 of file grease_pencil_modes.cc.
References CTX_data_active_object(), CTX_wm_region_view3d(), Object::mode, and OB_MODE_SCULPT_GREASE_PENCIL.
Referenced by sculptmode_toggle_exec().
|
static |
Definition at line 163 of file grease_pencil_modes.cc.
References BKE_paint_brushes_ensure(), BKE_paint_brushes_validate(), BKE_paint_ensure(), BKE_paint_get_active_from_paintmode(), BKE_paint_init(), BLI_assert, CTX_data_active_object(), CTX_data_main(), CTX_data_scene(), CTX_data_tool_settings(), CTX_wm_message_bus(), Object::data, DEG_id_tag_update(), ED_paint_cursor_start(), G, ToolSettings::gp_sculptpaint, GreasePencil::id, Object::id, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, Object::mode, NC_GPENCIL, NC_SCENE, ND_DATA, ND_GPENCIL_EDITMODE, ND_MODE, OB_MODE_OBJECT, OB_MODE_SCULPT_GREASE_PENCIL, OPERATOR_FINISHED, GpSculptPaint::paint, PAINT_CURSOR_SCULPT_GREASE_PENCIL, wmOperator::ptr, Object::restore_mode, RNA_boolean_get(), sculpt_poll_view3d(), SculptGreasePencil, WM_event_add_notifier(), WM_msg_publish_rna_prop, and WM_toolsystem_update_from_context_view3d().
Referenced by GREASE_PENCIL_OT_sculptmode_toggle().
|
static |
Definition at line 139 of file grease_pencil_modes.cc.
References CTX_data_active_object(), Object::data, OB_GREASE_PENCIL, and Object::type.
Referenced by GREASE_PENCIL_OT_sculptmode_toggle().
|
static |
Definition at line 312 of file grease_pencil_select.cc.
References CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, ED_grease_pencil_selection_domain_get(), blender::ed::curves::has_anything_selected(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::index_mask::IndexMask::is_empty(), NC_GEOM, ND_DATA, OPERATOR_FINISHED, wmOperator::ptr, retrieve_editable_drawings(), retrieve_editable_elements(), RNA_enum_get(), SEL_DESELECT, SEL_SELECT, SEL_TOGGLE, blender::ed::curves::select_all(), blender::bke::greasepencil::Drawing::strokes(), blender::bke::greasepencil::Drawing::strokes_for_write(), and WM_event_add_notifier().
| void blender::ed::greasepencil::select_all_frames | ( | bke::greasepencil::Layer & | layer, |
| const short | select_mode ) |
Definition at line 244 of file grease_pencil_frames.cc.
References select_frame().
Referenced by actkeys_mselect_channel_only(), and deselect_action_keys().
|
static |
Definition at line 530 of file grease_pencil_select.cc.
References CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, GreasePencil::id, ID_RECALC_GEOMETRY, NC_GEOM, ND_DATA, OPERATOR_FINISHED, wmOperator::ptr, retrieve_editable_drawings(), RNA_boolean_get(), blender::ed::curves::select_alternate(), select_alternate_exec(), blender::bke::greasepencil::Drawing::strokes_for_write(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_select_alternate(), and select_alternate_exec().
|
static |
Definition at line 792 of file grease_pencil_select.cc.
References CTX_data_active_object(), CTX_data_depsgraph_pointer(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, ED_view3d_viewcontext_init(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::ed::greasepencil::MutableDrawingInfo::layer_index, NC_GEOM, ND_DATA, OPERATOR_FINISHED, wmOperator::ptr, RNA_int_get(), SEL_OP_SET, select_ends_exec(), blender::bke::greasepencil::Drawing::strokes(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_select_ends(), and select_ends_exec().
|
static |
Definition at line 200 of file grease_pencil_frames.cc.
References GreasePencilFrame::flag, GP_FRAME_SELECTED, SELECT_ADD, SELECT_INVERT, and SELECT_SUBTRACT.
Referenced by select_all_frames(), select_frame_at(), select_frames_range(), and select_frames_region().
| bool blender::ed::greasepencil::select_frame_at | ( | bke::greasepencil::Layer & | layer, |
| const int | frame_number, | ||
| const short | select_mode ) |
Sets the selection flag, according to selection_mode to the frame at frame_number in the layer if such frame exists. Returns false if no such frame exists.
Definition at line 215 of file grease_pencil_frames.cc.
References select_frame().
Referenced by actkeys_mselect_column(), actkeys_mselect_single(), columnselect_action_keys(), and select_frames_at().
| void blender::ed::greasepencil::select_frames_at | ( | bke::greasepencil::LayerGroup & | layer_group, |
| const int | frame_number, | ||
| const short | select_mode ) |
Definition at line 229 of file grease_pencil_frames.cc.
References GreasePencilLayerTreeGroup::children, LISTBASE_FOREACH_BACKWARD, select_frame_at(), and select_frames_at().
Referenced by actkeys_mselect_single(), and select_frames_at().
| void blender::ed::greasepencil::select_frames_range | ( | bke::greasepencil::TreeNode & | node, |
| const float | min, | ||
| const float | max, | ||
| const short | select_mode ) |
Definition at line 297 of file grease_pencil_frames.cc.
References IN_RANGE, LISTBASE_FOREACH_BACKWARD, min, select_frame(), and select_frames_range().
Referenced by actkeys_select_leftright(), box_select_elem(), markers_selectkeys_between(), and select_frames_range().
| void blender::ed::greasepencil::select_frames_region | ( | KeyframeEditData * | ked, |
| bke::greasepencil::TreeNode & | node, | ||
| const short | tool, | ||
| const short | select_mode ) |
Definition at line 262 of file grease_pencil_frames.cc.
References BEZT_OK_CHANNEL_CIRCLE, BEZT_OK_CHANNEL_LASSO, KeyframeEditData::channel_y, KeyframeEditData::data, keyframe_region_circle_test(), keyframe_region_lasso_test(), LISTBASE_FOREACH_BACKWARD, select_frame(), and select_frames_region().
Referenced by region_select_elem(), and select_frames_region().
| void blender::ed::greasepencil::select_layer_channel | ( | GreasePencil & | grease_pencil, |
| bke::greasepencil::Layer * | layer ) |
Definition at line 73 of file grease_pencil_layers.cc.
References NA_EDITED, NC_GPENCIL, ND_DATA, and WM_main_add_notifier().
Referenced by mouse_action_keys().
|
static |
Definition at line 397 of file grease_pencil_select.cc.
References CTX_data_active_object(), CTX_data_depsgraph_pointer(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, ED_view3d_viewcontext_init(), GreasePencil::id, ID_RECALC_GEOMETRY, NC_GEOM, ND_DATA, OPERATOR_FINISHED, SEL_OP_SUB, blender::ed::curves::select_adjacent_mask(), blender::bke::greasepencil::Drawing::strokes(), and WM_event_add_notifier().
|
static |
Definition at line 433 of file grease_pencil_select.cc.
References CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, GreasePencil::id, ID_RECALC_GEOMETRY, blender::index_mask::IndexMask::is_empty(), blender::ed::greasepencil::MutableDrawingInfo::layer_index, NC_GEOM, ND_DATA, OPERATOR_FINISHED, retrieve_editable_drawings(), blender::ed::curves::select_linked(), blender::bke::greasepencil::Drawing::strokes_for_write(), and WM_event_add_notifier().
|
static |
Definition at line 361 of file grease_pencil_select.cc.
References CTX_data_active_object(), CTX_data_depsgraph_pointer(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, ED_view3d_viewcontext_init(), GreasePencil::id, ID_RECALC_GEOMETRY, NC_GEOM, ND_DATA, OPERATOR_FINISHED, SEL_OP_ADD, blender::ed::curves::select_adjacent_mask(), blender::bke::greasepencil::Drawing::strokes(), and WM_event_add_notifier().
|
static |
Definition at line 470 of file grease_pencil_select.cc.
References CTX_data_active_object(), CTX_data_depsgraph_pointer(), CTX_data_scene(), DEG_id_tag_update(), blender::ed::greasepencil::MutableDrawingInfo::drawing, ED_grease_pencil_selection_domain_get(), ED_view3d_viewcontext_init(), blender::get_default_hash(), GreasePencil::id, ID_RECALC_GEOMETRY, blender::index_mask::IndexMask::is_empty(), blender::ed::greasepencil::MutableDrawingInfo::layer_index, NC_GEOM, ND_DATA, OPERATOR_FINISHED, wmOperator::ptr, retrieve_editable_elements(), RNA_float_get(), seed, SEL_OP_SET, blender::bke::greasepencil::Drawing::strokes(), WM_event_add_notifier(), and WM_operator_properties_select_random_seed_increment_get().
|
static |
Definition at line 852 of file grease_pencil_select.cc.
References CTX_data_active_object(), CTX_data_tool_settings(), DEG_id_tag_update(), ED_grease_pencil_selection_domain_get(), GP_DRAWING, ToolSettings::gpencil_selectmode_edit, GreasePencil::id, ID_RECALC_GEOMETRY, blender::Span< T >::index_range(), blender::bke::AttributeAccessor::lookup_meta_data(), blender::GVArrayCommon::materialize(), MEM_freeN(), MEM_malloc_arrayN, NC_GEOM, NC_SPACE, ND_DATA, ND_SPACE_VIEW3D, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), blender::ed::curves::select_linked(), select_set_mode_exec(), blender::GVArrayCommon::type(), GreasePencilDrawingBase::type, WM_event_add_notifier(), and WM_main_add_notifier().
Referenced by GREASE_PENCIL_OT_set_selection_mode(), and select_set_mode_exec().
|
static |
Definition at line 672 of file grease_pencil_select.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), blender::ed::greasepencil::MutableDrawingInfo::drawing, blender::index_mask::IndexMask::is_empty(), blender::ed::greasepencil::MutableDrawingInfo::layer_index, retrieve_editable_drawings(), retrieve_editable_elements(), SEL_SELECT, select_similar_by_layer(), and blender::bke::greasepencil::Drawing::strokes_for_write().
Referenced by select_similar_by_layer(), and select_similar_exec().
|
static |
Definition at line 620 of file grease_pencil_select.cc.
References blender::ed::greasepencil::MutableDrawingInfo::drawing, blender::bke::SpanAttributeWriter< T >::finish(), insert_selected_values(), blender::ed::greasepencil::MutableDrawingInfo::layer_index, retrieve_editable_drawings(), select_similar_by_value(), blender::bke::SpanAttributeWriter< T >::span, and blender::bke::greasepencil::Drawing::strokes_for_write().
Referenced by select_similar_by_value().
|
static |
Definition at line 708 of file grease_pencil_select.cc.
References b, CTX_data_active_object(), CTX_data_scene(), DEG_id_tag_update(), blender::math::distance(), ED_grease_pencil_selection_domain_get(), float, GreasePencil::id, ID_RECALC_GEOMETRY, NC_GEOM, ND_DATA, OPERATOR_FINISHED, wmOperator::ptr, retrieve_editable_drawings(), RNA_enum_get(), RNA_float_get(), select_similar_by_layer(), select_similar_exec(), and WM_event_add_notifier().
Referenced by GREASE_PENCIL_OT_select_similar(), and select_similar_exec().
| bool blender::ed::greasepencil::selection_update | ( | const ViewContext * | vc, |
| const eSelectOp | sel_op, | ||
| SelectionUpdateFunc | select_operation ) |
Definition at line 211 of file grease_pencil_select.cc.
References BLI_SCOPED_DEFER, ViewContext::C, bContext::data, DEG_get_evaluated_object(), DEG_id_tag_update(), ViewContext::depsgraph, blender::ed::greasepencil::MutableDrawingInfo::drawing, blender::ed::greasepencil::Curves2DBVHTree::drawing_offsets, ED_grease_pencil_segment_selection_enabled(), ED_grease_pencil_selection_domain_get(), ELEM, ID_RECALC_GEOMETRY, NC_GEOM, ND_DATA, ViewContext::obact, ViewContext::obedit, ViewContext::scene, SEL_OP_AND, SEL_OP_SET, selection_update(), blender::bke::greasepencil::Drawing::strokes_for_write(), Scene::toolsettings, and WM_event_add_notifier().
Referenced by selection_update().
|
static |
Definition at line 168 of file grease_pencil_fill.cc.
References flag.
Referenced by dilate(), erode(), flood_fill(), invert_fill(), and mark_borders().
| void blender::ed::greasepencil::set_lineart_modifier_limits | ( | GreasePencilLineartModifierData & | lmd, |
| const blender::ed::greasepencil::LineartLimitInfo & | info, | ||
| const bool | cache_is_ready ) |
Definition at line 67 of file grease_pencil_lineart.cc.
References BLI_assert, blender::ed::greasepencil::LineartLimitInfo::edge_types, GreasePencilLineartModifierData::edge_types, GreasePencilLineartModifierData::edge_types_override, eModifierType_GreasePencilLineart, GreasePencilLineartModifierData::flags, GreasePencilLineartModifierData::level_end, GreasePencilLineartModifierData::level_end_override, GreasePencilLineartModifierData::level_start, GreasePencilLineartModifierData::level_start_override, blender::ed::greasepencil::LineartLimitInfo::max_level, blender::ed::greasepencil::LineartLimitInfo::min_level, MOD_LINEART_USE_CACHE, GreasePencilLineartModifierData::modifier, blender::ed::greasepencil::LineartLimitInfo::shadow_selection, GreasePencilLineartModifierData::shadow_selection, GreasePencilLineartModifierData::shadow_selection_override, GreasePencilLineartModifierData::shadow_use_silhouette_override, blender::ed::greasepencil::LineartLimitInfo::silhouette_selection, GreasePencilLineartModifierData::silhouette_selection, and ModifierData::type.
Referenced by bake_single_target(), and blender::modify_geometry_set().
| void blender::ed::greasepencil::set_selected_frames_type | ( | bke::greasepencil::Layer & | layer, |
| const eBezTriple_KeyframeType | key_type ) |
Definition at line 38 of file grease_pencil_frames.cc.
Referenced by setkeytype_action_keys().
Definition at line 832 of file grease_pencil_primitive.cc.
References abs(), length(), and normalize().
Referenced by grease_pencil_primitive_extruding_update().
Definition at line 818 of file grease_pencil_primitive.cc.
References length().
Referenced by grease_pencil_primitive_extruding_update().
Definition at line 825 of file grease_pencil_primitive.cc.
References abs().
Referenced by grease_pencil_primitive_extruding_update().
| bool blender::ed::greasepencil::snap_selected_frames | ( | GreasePencil & | grease_pencil, |
| bke::greasepencil::Layer & | layer, | ||
| Scene & | scene, | ||
| const eEditKeyframes_Snap | mode ) |
Definition at line 69 of file grease_pencil_frames.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), get_snapped_frame_number(), and round_fl_to_int().
Referenced by snap_action_keys().
|
staticconstexpr |
Referenced by create_stroke().
|
static |
Referenced by create_stroke().
|
staticconstexpr |
Referenced by create_stroke().
|
static |
Definition at line 218 of file grease_pencil_edit.cc.
References blender::Span< T >::contains(), blender::array_utils::find_all_ranges(), blender::Span< T >::first(), blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), blender::Span< T >::last(), blender::threading::parallel_for(), and blender::MutableSpan< T >::slice().
Referenced by grease_pencil_stroke_simplify_exec().
|
static |
Apply the stroke trim to all layers.
Definition at line 147 of file grease_pencil_trim.cc.
References BKE_brush_init_gpencil_settings(), BKE_paint_brush(), BKE_paint_get_active_from_context(), CTX_data_active_object(), CTX_data_depsgraph_pointer(), CTX_data_scene(), CTX_wm_region(), CTX_wm_region_view3d(), Object::data, DEG_get_evaluated_object(), DEG_id_tag_update(), depsgraph, blender::ed::greasepencil::MutableDrawingInfo::drawing, ED_view3d_ob_project_mat_get_from_obmat(), execute_trim_on_drawing(), BrushGpencilSettings::flag, blender::ed::greasepencil::MutableDrawingInfo::frame_number, GP_BRUSH_ACTIVE_LAYER_ONLY, GP_BRUSH_ERASER_KEEP_CAPS, Brush::gpencil_settings, GreasePencil::id, ID_RECALC_GEOMETRY, blender::ed::greasepencil::MutableDrawingInfo::layer_index, NC_GEOM, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, stroke_trim_execute(), and WM_event_add_notifier().
Referenced by grease_pencil_stroke_trim(), and stroke_trim_execute().
|
static |
Definition at line 1142 of file grease_pencil_edit.cc.
References blender::index_mask::IndexMask::foreach_index(), GP_STROKE_CAP_FLAT, GP_STROKE_CAP_ROUND, and toggle_caps().
Referenced by grease_pencil_caps_set_exec(), and toggle_caps().
|
static |
Definition at line 562 of file grease_pencil_weight_paint.cc.
References BKE_brush_tag_unsaved_changes(), BKE_paint_brush(), BKE_paint_get_active_from_context(), BRUSH_DIR_IN, Brush::flag, NA_EDITED, NC_BRUSH, OPERATOR_FINISHED, toggle_weight_tool_direction(), and WM_main_add_notifier().
Referenced by GREASE_PENCIL_OT_weight_toggle_direction(), and toggle_weight_tool_direction().
|
static |
Definition at line 577 of file grease_pencil_weight_paint.cc.
References BKE_paint_brush(), BKE_paint_get_active_from_context(), Brush::gpencil_weight_brush_type, GPWEIGHT_BRUSH_TYPE_DRAW, grease_pencil_weight_painting_poll(), and toggle_weight_tool_direction_poll().
Referenced by GREASE_PENCIL_OT_weight_toggle_direction(), and toggle_weight_tool_direction_poll().
|
static |
Definition at line 874 of file grease_pencil_weight_paint.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), BKE_object_defgroup_active_index_get(), BKE_object_defgroup_list(), BLI_findlink(), CTX_data_active_object(), CTX_data_scene(), DG_LOCK_WEIGHT, blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), LISTBASE_FOREACH, wmOperator::ptr, retrieve_editable_drawings(), RNA_boolean_get(), and vertex_group_normalize_all_exec().
Referenced by GREASE_PENCIL_OT_vertex_group_normalize_all(), and vertex_group_normalize_all_exec().
|
static |
Definition at line 759 of file grease_pencil_weight_paint.cc.
References b, BKE_object_defgroup_active_index_get(), BKE_object_defgroup_list(), BKE_report(), BLI_findlink(), CTX_data_active_object(), CTX_data_scene(), DG_LOCK_WEIGHT, ELEM, bDeformGroup::flag, blender::Array< T, InlineBufferCapacity, Allocator >::index_range(), blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), blender::math::max(), OPERATOR_CANCELLED, wmOperator::reports, retrieve_editable_drawings_grouped_per_frame(), RPT_WARNING, and vertex_group_normalize_exec().
Referenced by GREASE_PENCIL_OT_vertex_group_normalize(), and vertex_group_normalize_exec().
|
static |
Definition at line 686 of file grease_pencil_weight_paint.cc.
References BKE_object_defgroup_active_index_get(), BKE_object_defgroup_list(), BKE_report(), BLI_findlink(), CTX_data_active_object(), CTX_data_scene(), DG_LOCK_WEIGHT, bDeformGroup::flag, blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), OPERATOR_CANCELLED, wmOperator::ptr, wmOperator::reports, retrieve_editable_drawings(), RNA_float_get(), RNA_int_get(), RPT_WARNING, and vertex_group_smooth_exec().
Referenced by GREASE_PENCIL_OT_vertex_group_smooth(), and vertex_group_smooth_exec().
|
static |
Definition at line 348 of file grease_pencil_modes.cc.
References BKE_gpencil_palette_ensure(), BKE_paint_brushes_ensure(), BKE_paint_brushes_validate(), BKE_paint_ensure(), BKE_paint_get_active_from_paintmode(), BLI_assert, CTX_data_active_object(), CTX_data_main(), CTX_data_scene(), CTX_data_tool_settings(), CTX_wm_message_bus(), Object::data, DEG_id_tag_update(), ED_paint_cursor_start(), G, ToolSettings::gp_paint, ToolSettings::gp_vertexpaint, GPencil, grease_pencil_poll_vertex_cursor(), GreasePencil::id, Object::id, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, Object::mode, NC_GPENCIL, NC_SCENE, ND_DATA, ND_GPENCIL_EDITMODE, ND_MODE, OB_MODE_OBJECT, OB_MODE_VERTEX_GREASE_PENCIL, OPERATOR_FINISHED, wmOperator::ptr, Object::restore_mode, RNA_boolean_get(), VertexGPencil, WM_event_add_notifier(), WM_msg_publish_rna_prop, and WM_toolsystem_update_from_context_view3d().
Referenced by GREASE_PENCIL_OT_vertexmode_toggle().
|
static |
Definition at line 339 of file grease_pencil_modes.cc.
References CTX_data_active_object(), Object::data, OB_GREASE_PENCIL, and Object::type.
Referenced by GREASE_PENCIL_OT_vertexmode_toggle().
|
static |
Definition at line 454 of file grease_pencil_weight_paint.cc.
References blender::ed::greasepencil::ClosestGreasePencilDrawing::active_defgroup_index, b, BKE_brush_weight_set(), BKE_defgroup_name_index(), BKE_object_defgroup_active_index_get(), BKE_object_defgroup_list(), BKE_paint_brush(), BLI_findlink(), blender::math::clamp(), CTX_data_ensure_evaluated_depsgraph(), Object::data, DEG_get_evaluated_object(), depsgraph, ViewContext::depsgraph, blender::ed::greasepencil::ClosestGreasePencilDrawing::drawing, blender::ed::greasepencil::DrawingInfo::drawing, ED_view3d_ob_project_mat_get_from_obmat(), ED_view3d_viewcontext_init(), blender::ed::greasepencil::ClosestGreasePencilDrawing::elem, blender::ed::greasepencil::DrawingInfo::frame_number, blender::Vector< T, InlineBufferCapacity, Allocator >::index_range(), init(), blender::ed::greasepencil::DrawingInfo::layer_index, wmEvent::mval, NA_EDITED, bDeformGroup::name, NC_BRUSH, ViewContext::obact, OPERATOR_CANCELLED, OPERATOR_FINISHED, VPaint::paint, range, retrieve_visible_drawings(), retrieve_visible_points(), ViewContext::rv3d, ViewContext::scene, blender::bke::greasepencil::Drawing::strokes(), Scene::toolsettings, CurvesGeometry::vertex_group_names, WM_main_add_notifier(), and ToolSettings::wpaint.
|
static |
Definition at line 253 of file grease_pencil_modes.cc.
References BKE_paint_brushes_validate(), BKE_paint_ensure(), BKE_paint_get_active_from_paintmode(), BKE_paint_init(), BLI_assert, CTX_data_active_object(), CTX_data_main(), CTX_data_scene(), CTX_data_tool_settings(), CTX_wm_message_bus(), Object::data, DEG_id_tag_update(), ED_paint_cursor_start(), G, ToolSettings::gp_weightpaint, grease_pencil_poll_weight_cursor(), GreasePencil::id, Object::id, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, Object::mode, NC_GPENCIL, NC_SCENE, ND_DATA, ND_GPENCIL_EDITMODE, ND_MODE, OB_MODE_OBJECT, OB_MODE_WEIGHT_GREASE_PENCIL, OPERATOR_FINISHED, PAINT_CURSOR_PAINT_GREASE_PENCIL, blender::ed::object::posemode_set_for_weight_paint(), wmOperator::ptr, Object::restore_mode, RNA_boolean_get(), WeightGPencil, WM_event_add_notifier(), WM_msg_publish_rna_prop, and WM_toolsystem_update_from_context_view3d().
Referenced by GREASE_PENCIL_OT_weightmode_toggle().
|
static |
Definition at line 244 of file grease_pencil_modes.cc.
References CTX_data_active_object(), Object::data, OB_GREASE_PENCIL, and Object::type.
Referenced by GREASE_PENCIL_OT_weightmode_toggle().
Definition at line 436 of file grease_pencil_fill.cc.
References int, and num_directions.
Referenced by build_fill_boundary().
|
constexpr |
Definition at line 762 of file grease_pencil_fill.cc.
Referenced by get_visible_boundary_strokes().
|
constexpr |
Definition at line 761 of file grease_pencil_fill.cc.
Referenced by fill_strokes(), get_boundary_bounds(), and get_visible_boundary_strokes().
|
staticconstexpr |
Definition at line 35 of file grease_pencil_trim.cc.
|
staticconstexpr |
Definition at line 104 of file grease_pencil_primitive.cc.
Referenced by control_point_colors_and_sizes(), grease_pencil_primitive_grab_update(), primitive_calulate_curve_positions(), and primitive_center_of_mass().
|
staticconstexpr |
Definition at line 103 of file grease_pencil_primitive.cc.
Referenced by grease_pencil_primitive_grab_update(), and primitive_calulate_curve_positions().
|
staticconstexpr |
Definition at line 105 of file grease_pencil_primitive.cc.
Referenced by grease_pencil_primitive_grab_update().
| const ColorGeometry4f blender::ed::greasepencil::draw_boundary_color = {1, 0, 0, 1} |
Definition at line 52 of file grease_pencil_fill.cc.
Referenced by fill_strokes().
| const ColorGeometry4f blender::ed::greasepencil::draw_seed_color = {0, 1, 0, 1} |
Definition at line 53 of file grease_pencil_fill.cc.
Referenced by fill_strokes().
|
static |
Definition at line 276 of file grease_pencil_layers.cc.
Referenced by GREASE_PENCIL_OT_layer_mask_reorder(), and GREASE_PENCIL_OT_layer_move().
| const EnumPropertyItem blender::ed::greasepencil::enum_layergroup_color_items[] |
Definition at line 1065 of file grease_pencil_layers.cc.
Referenced by GREASE_PENCIL_OT_layer_group_color_tag().
|
static |
Definition at line 74 of file grease_pencil_add.cc.
Referenced by create_stroke().
|
static |
Definition at line 82 of file grease_pencil_add.cc.
Referenced by create_suzanne().
|
static |
Definition at line 114 of file grease_pencil_add.cc.
Referenced by create_suzanne().
|
static |
Definition at line 122 of file grease_pencil_add.cc.
Referenced by create_suzanne().
|
static |
Definition at line 90 of file grease_pencil_add.cc.
Referenced by create_suzanne().
|
static |
Definition at line 98 of file grease_pencil_add.cc.
Referenced by create_suzanne().
|
static |
Definition at line 106 of file grease_pencil_add.cc.
Referenced by create_suzanne().
|
static |
Definition at line 34 of file grease_pencil_add.cc.
Referenced by create_blank(), and create_stroke().
|
static |
Definition at line 66 of file grease_pencil_add.cc.
Referenced by create_stroke().
|
static |
Definition at line 58 of file grease_pencil_add.cc.
Referenced by create_stroke().
|
static |
Definition at line 50 of file grease_pencil_add.cc.
Referenced by create_stroke().
|
static |
Definition at line 42 of file grease_pencil_add.cc.
Referenced by create_stroke().
|
static |
Referenced by clipboard_free(), ensure_grease_pencil_clipboard(), and grease_pencil_paste_strokes_poll().
| std::mutex blender::ed::greasepencil::grease_pencil_clipboard_lock |
The clone brush accesses the clipboard from multiple threads. Protect from parallel access.
Definition at line 2210 of file grease_pencil_edit.cc.
Referenced by clipboard_free(), ensure_grease_pencil_clipboard(), and grease_pencil_paste_strokes_poll().
|
constexpr |
Definition at line 363 of file grease_pencil_fill.cc.
Referenced by build_fill_boundary(), and wrap_dir_3n().
|
static |
Definition at line 364 of file grease_pencil_fill.cc.
Referenced by build_fill_boundary(), dilate(), and erode().
|
static |
Definition at line 840 of file grease_pencil_edit.cc.
Referenced by GREASE_PENCIL_OT_cyclical_set().
|
static |
Definition at line 532 of file grease_pencil_edit.cc.
Referenced by GREASE_PENCIL_OT_dissolve().
|
static |
Definition at line 32 of file grease_pencil/intern/grease_pencil_vertex_paint.cc.
Referenced by GREASE_PENCIL_OT_stroke_reset_vertex_color(), GREASE_PENCIL_OT_vertex_color_brightness_contrast(), GREASE_PENCIL_OT_vertex_color_hsv(), GREASE_PENCIL_OT_vertex_color_invert(), GREASE_PENCIL_OT_vertex_color_levels(), and GREASE_PENCIL_OT_vertex_color_set().
|
static |
Definition at line 684 of file grease_pencil_edit.cc.
Referenced by GREASE_PENCIL_OT_delete_frame().
|
static |
Definition at line 191 of file grease_pencil_layers.cc.
Referenced by GREASE_PENCIL_OT_layer_reorder().
|
static |
Definition at line 1838 of file grease_pencil_edit.cc.
Referenced by GREASE_PENCIL_OT_separate().
|
static |
Definition at line 576 of file grease_pencil_select.cc.
Referenced by GREASE_PENCIL_OT_select_similar().
|
staticconstexpr |
Definition at line 99 of file grease_pencil_primitive.cc.
Referenced by primitive_check_ui_hover().
|
staticconstexpr |
Definition at line 100 of file grease_pencil_primitive.cc.
Referenced by primitive_check_ui_hover().
|
staticconstexpr |
Definition at line 96 of file grease_pencil_primitive.cc.
Referenced by control_point_colors_and_sizes().
|
staticconstexpr |
Definition at line 97 of file grease_pencil_primitive.cc.
Referenced by control_point_colors_and_sizes().
|
staticconstexpr |
Definition at line 98 of file grease_pencil_primitive.cc.
Referenced by control_point_colors_and_sizes().