Blender V5.0
grease_pencil_erase.cc File Reference
#include <algorithm>
#include "BLI_array.hh"
#include "BLI_index_mask.hh"
#include "BLI_math_base.hh"
#include "BLI_math_geom.h"
#include "BLI_task.hh"
#include "BKE_attribute.hh"
#include "BKE_brush.hh"
#include "BKE_colortools.hh"
#include "BKE_context.hh"
#include "BKE_crazyspace.hh"
#include "BKE_curves.hh"
#include "BKE_grease_pencil.hh"
#include "BKE_material.hh"
#include "BKE_paint.hh"
#include "DEG_depsgraph_query.hh"
#include "DNA_brush_enums.h"
#include "DNA_brush_types.h"
#include "DNA_material_types.h"
#include "ED_grease_pencil.hh"
#include "ED_view3d.hh"
#include "GEO_curves_remove_and_split.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "grease_pencil_intern.hh"

Go to the source code of this file.

Classes

class  blender::ed::sculpt_paint::greasepencil::EraseOperation
struct  blender::ed::sculpt_paint::greasepencil::SegmentCircleIntersection
struct  blender::ed::sculpt_paint::greasepencil::EraseOperationExecutor
struct  blender::ed::sculpt_paint::greasepencil::EraseOperationExecutor::EraserRing

Namespaces

namespace  blender
namespace  blender::ed
namespace  blender::ed::sculpt_paint
namespace  blender::ed::sculpt_paint::greasepencil

Enumerations

enum class  blender::ed::sculpt_paint::greasepencil::PointCircleSide { blender::ed::sculpt_paint::greasepencil::Outside , blender::ed::sculpt_paint::greasepencil::OutsideInsideBoundary , blender::ed::sculpt_paint::greasepencil::InsideOutsideBoundary , blender::ed::sculpt_paint::greasepencil::Inside }

Functions

static void blender::ed::sculpt_paint::greasepencil::simplify_opacities (blender::bke::CurvesGeometry &curves, const VArray< float > &opacities, const float epsilon)
static void blender::ed::sculpt_paint::greasepencil::remove_points_with_low_opacity (blender::bke::CurvesGeometry &curves, const VArray< float > &opacities, const float epsilon)
std::unique_ptr< GreasePencilStrokeOperationblender::ed::sculpt_paint::greasepencil::new_erase_operation (const bool temp_eraser)