Blender V4.3
grease_pencil_intern.hh File Reference
#include <functional>
#include "BLI_color.hh"
#include "BLI_task.hh"
#include "DNA_scene_types.h"
#include "ED_grease_pencil.hh"
#include "IMB_imbuf_types.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
 

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_painting (const bContext &C)
 
float blender::ed::sculpt_paint::greasepencil::brush_radius (const Scene &scene, 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 Scene &scene, 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 Scene &scene, 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 Scene &scene, const Brush &brush, Span< float2 > fill_positions, const InputSample &sample, float multi_frame_falloff)
 
bool blender::ed::sculpt_paint::greasepencil::is_brush_inverted (const Brush &brush, BrushStrokeMode stroke_mode)
 
IndexMask blender::ed::sculpt_paint::greasepencil::point_selection_mask (const GreasePencilStrokeParams &params, const bool use_masking, IndexMaskMemory &memory)
 
IndexMask blender::ed::sculpt_paint::greasepencil::stroke_selection_mask (const GreasePencilStrokeParams &params, const bool use_masking, IndexMaskMemory &memory)
 
IndexMask blender::ed::sculpt_paint::greasepencil::fill_selection_mask (const GreasePencilStrokeParams &params, const bool use_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)
 
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 ()
 
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 ()
 
std::unique_ptr< GreasePencilStrokeOperationblender::ed::sculpt_paint::greasepencil::new_weight_paint_draw_operation (const BrushStrokeMode &brush_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)
 
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 ()