Blender V4.3
sculpt_gesture.cc File Reference
#include "sculpt_gesture.hh"
#include "MEM_guardedalloc.h"
#include "DNA_vec_types.h"
#include "BLI_bitmap_draw_2d.h"
#include "BLI_lasso_2d.hh"
#include "BLI_math_geom.h"
#include "BLI_math_matrix.h"
#include "BLI_math_matrix_types.hh"
#include "BLI_math_vector.h"
#include "BLI_math_vector.hh"
#include "BLI_math_vector_types.hh"
#include "BLI_rect.h"
#include "BLI_vector.hh"
#include "BKE_context.hh"
#include "BKE_paint.hh"
#include "ED_view3d.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "paint_intern.hh"
#include "sculpt_intern.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::ed
 
namespace  blender::ed::sculpt_paint
 
namespace  blender::ed::sculpt_paint::gesture
 

Functions

void blender::ed::sculpt_paint::gesture::operator_properties (wmOperatorType *ot, ShapeType shapeType)
 
static void blender::ed::sculpt_paint::gesture::init_common (bContext *C, wmOperator *op, GestureData &gesture_data)
 
static void blender::ed::sculpt_paint::gesture::lasso_px_cb (int x, int x_end, int y, void *user_data)
 
std::unique_ptr< GestureDatablender::ed::sculpt_paint::gesture::init_from_polyline (bContext *C, wmOperator *op)
 
std::unique_ptr< GestureDatablender::ed::sculpt_paint::gesture::init_from_lasso (bContext *C, wmOperator *op)
 
std::unique_ptr< GestureDatablender::ed::sculpt_paint::gesture::init_from_box (bContext *C, wmOperator *op)
 
static void blender::ed::sculpt_paint::gesture::line_plane_from_tri (float *r_plane, GestureData &gesture_data, const bool flip, const float p1[3], const float p2[3], const float p3[3])
 
static void blender::ed::sculpt_paint::gesture::line_calculate_plane_points (GestureData &gesture_data, float line_points[2][2], float r_plane_points[4][3], float r_offset_plane_points[2][3])
 
std::unique_ptr< GestureDatablender::ed::sculpt_paint::gesture::init_from_line (bContext *C, wmOperator *op)
 
static void blender::ed::sculpt_paint::gesture::flip_plane (float out[4], const float in[4], const char symm)
 
static void blender::ed::sculpt_paint::gesture::flip_for_symmetry_pass (GestureData &gesture_data, const ePaintSymmetryFlags symmpass)
 
static void blender::ed::sculpt_paint::gesture::update_affected_nodes_by_line_plane (GestureData &gesture_data)
 
static void blender::ed::sculpt_paint::gesture::update_affected_nodes_by_clip_planes (GestureData &gesture_data)
 
static void blender::ed::sculpt_paint::gesture::update_affected_nodes (GestureData &gesture_data)
 
static bool blender::ed::sculpt_paint::gesture::is_affected_lasso (const GestureData &gesture_data, const float3 &position)
 
bool blender::ed::sculpt_paint::gesture::is_affected (const GestureData &gesture_data, const float3 &position, const float3 &normal)
 
void blender::ed::sculpt_paint::gesture::filter_factors (const GestureData &gesture_data, const Span< float3 > positions, const Span< float3 > normals, const MutableSpan< float > factors)
 
void blender::ed::sculpt_paint::gesture::apply (bContext &C, GestureData &gesture_data, wmOperator &op)
 

Detailed Description

Common helper methods and structures for gesture operations.

Definition in file sculpt_gesture.cc.