Blender V5.0
grease_pencil_intern.hh File Reference
#include <functional>
#include "BLI_index_mask.hh"
#include "BLI_task.hh"
#include "DNA_scene_types.h"
#include "ED_grease_pencil.hh"
#include "paint_intern.hh"

Go to the source code of this file.

Classes

struct  blender::ed::sculpt_paint::InputSample
class  blender::ed::sculpt_paint::GreasePencilStrokeOperation
struct  blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeParams
class  blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon
struct  blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon::AutoMaskingInfo

Namespaces

namespace  blender
namespace  blender::bke
namespace  blender::bke::greasepencil
namespace  blender::bke::crazyspace
namespace  blender::ed
namespace  blender::ed::sculpt_paint
namespace  blender::ed::sculpt_paint::greasepencil

Typedefs

using blender::ed::sculpt_paint::DeltaProjectionFunc

Functions

Vector< ed::greasepencil::MutableDrawingInfoblender::ed::sculpt_paint::greasepencil::get_drawings_for_stroke_operation (const bContext &C)
Vector< ed::greasepencil::MutableDrawingInfoblender::ed::sculpt_paint::greasepencil::get_drawings_with_masking_for_stroke_operation (const bContext &C)
float blender::ed::sculpt_paint::greasepencil::brush_radius (const Paint &paint, const Brush &brush, float pressure)
void blender::ed::sculpt_paint::greasepencil::init_brush (Brush &brush)
IndexMask blender::ed::sculpt_paint::greasepencil::brush_point_influence_mask (const Paint &paint, const Brush &brush, const float2 &mouse_position, float pressure, float multi_frame_falloff, const IndexMask &selection, Span< float2 > view_positions, Vector< float > &influences, IndexMaskMemory &memory)
float blender::ed::sculpt_paint::greasepencil::brush_point_influence (const Paint &paint, const Brush &brush, const float2 &co, const InputSample &sample, float multi_frame_falloff)
float blender::ed::sculpt_paint::greasepencil::closest_distance_to_surface_2d (const float2 pt, const Span< float2 > verts)
float blender::ed::sculpt_paint::greasepencil::brush_fill_influence (const Paint &paint, const Brush &brush, Span< float2 > fill_positions, const InputSample &sample, float multi_frame_falloff)
bool blender::ed::sculpt_paint::greasepencil::brush_using_vertex_color (const GpPaint *gp_paint, const Brush *brush)
bool blender::ed::sculpt_paint::greasepencil::is_brush_inverted (const Brush &brush, BrushStrokeMode stroke_mode)
IndexMask blender::ed::sculpt_paint::greasepencil::point_mask_for_stroke_operation (const GreasePencilStrokeParams &params, bool use_selection_masking, IndexMaskMemory &memory)
IndexMask blender::ed::sculpt_paint::greasepencil::curve_mask_for_stroke_operation (const GreasePencilStrokeParams &params, bool use_selection_masking, IndexMaskMemory &memory)
IndexMask blender::ed::sculpt_paint::greasepencil::fill_mask_for_stroke_operation (const GreasePencilStrokeParams &params, bool use_selection_masking, IndexMaskMemory &memory)
bke::crazyspace::GeometryDeformation blender::ed::sculpt_paint::greasepencil::get_drawing_deformation (const GreasePencilStrokeParams &params)
Array< float2blender::ed::sculpt_paint::greasepencil::calculate_view_positions (const GreasePencilStrokeParams &params, const IndexMask &selection)
Array< floatblender::ed::sculpt_paint::greasepencil::calculate_view_radii (const GreasePencilStrokeParams &params, const IndexMask &selection)
DeltaProjectionFunc blender::ed::sculpt_paint::greasepencil::get_screen_projection_fn (const GreasePencilStrokeParams &params, const Object &object, const bke::greasepencil::Layer &layer)
float3 blender::ed::sculpt_paint::greasepencil::compute_orig_delta (const DeltaProjectionFunc &projection_fn, const bke::crazyspace::GeometryDeformation &deformation, int index, const float2 &screen_delta)
bool blender::ed::sculpt_paint::greasepencil::do_vertex_color_points (const Brush &brush)
bool blender::ed::sculpt_paint::greasepencil::do_vertex_color_fill (const Brush &brush)
std::unique_ptr< GreasePencilStrokeOperationblender::ed::sculpt_paint::greasepencil::new_paint_operation (bool do_fill_guides=false)
std::unique_ptr< GreasePencilStrokeOperationblender::ed::sculpt_paint::greasepencil::new_erase_operation (const bool temp_eraser)
std::unique_ptr< GreasePencilStrokeOperationblender::ed::sculpt_paint::greasepencil::new_tint_operation (bool temp_eraser=false)
std::unique_ptr< GreasePencilStrokeOperationblender::ed::sculpt_paint::greasepencil::new_weight_paint_draw_operation (const BrushStrokeMode &stroke_mode)
std::unique_ptr< GreasePencilStrokeOperationblender::ed::sculpt_paint::greasepencil::new_weight_paint_blur_operation ()
std::unique_ptr< GreasePencilStrokeOperationblender::ed::sculpt_paint::greasepencil::new_weight_paint_average_operation ()
std::unique_ptr< GreasePencilStrokeOperationblender::ed::sculpt_paint::greasepencil::new_weight_paint_smear_operation ()
std::unique_ptr< GreasePencilStrokeOperationblender::ed::sculpt_paint::greasepencil::new_smooth_operation (BrushStrokeMode stroke_mode, bool temp_smooth=false)
std::unique_ptr< GreasePencilStrokeOperationblender::ed::sculpt_paint::greasepencil::new_thickness_operation (BrushStrokeMode stroke_mode)
std::unique_ptr< GreasePencilStrokeOperationblender::ed::sculpt_paint::greasepencil::new_strength_operation (BrushStrokeMode stroke_mode)
std::unique_ptr< GreasePencilStrokeOperationblender::ed::sculpt_paint::greasepencil::new_randomize_operation (BrushStrokeMode stroke_mode)
std::unique_ptr< GreasePencilStrokeOperationblender::ed::sculpt_paint::greasepencil::new_grab_operation (BrushStrokeMode stroke_mode)
std::unique_ptr< GreasePencilStrokeOperationblender::ed::sculpt_paint::greasepencil::new_push_operation (BrushStrokeMode stroke_mode)
std::unique_ptr< GreasePencilStrokeOperationblender::ed::sculpt_paint::greasepencil::new_pinch_operation (BrushStrokeMode stroke_mode)
std::unique_ptr< GreasePencilStrokeOperationblender::ed::sculpt_paint::greasepencil::new_twist_operation (BrushStrokeMode stroke_mode)
std::unique_ptr< GreasePencilStrokeOperationblender::ed::sculpt_paint::greasepencil::new_clone_operation (BrushStrokeMode stroke_mode)
std::unique_ptr< GreasePencilStrokeOperationblender::ed::sculpt_paint::greasepencil::new_vertex_average_operation ()
std::unique_ptr< GreasePencilStrokeOperationblender::ed::sculpt_paint::greasepencil::new_vertex_blur_operation ()
std::unique_ptr< GreasePencilStrokeOperationblender::ed::sculpt_paint::greasepencil::new_vertex_paint_operation (BrushStrokeMode stroke_mode)
std::unique_ptr< GreasePencilStrokeOperationblender::ed::sculpt_paint::greasepencil::new_vertex_replace_operation ()
std::unique_ptr< GreasePencilStrokeOperationblender::ed::sculpt_paint::greasepencil::new_vertex_smear_operation ()