Blender V4.3
curves_ops.cc File Reference
#include <atomic>
#include "BLI_array_utils.hh"
#include "BLI_devirtualize_parameters.hh"
#include "BLI_kdtree.h"
#include "BLI_math_geom.h"
#include "BLI_math_matrix.hh"
#include "BLI_rand.hh"
#include "BLI_string.h"
#include "BLI_utildefines.h"
#include "BLI_vector_set.hh"
#include "BLT_translation.hh"
#include "ED_curves.hh"
#include "ED_object.hh"
#include "ED_screen.hh"
#include "ED_select_utils.hh"
#include "ED_view3d.hh"
#include "WM_api.hh"
#include "BKE_attribute_math.hh"
#include "BKE_bvhutils.hh"
#include "BKE_context.hh"
#include "BKE_curves.hh"
#include "BKE_customdata.hh"
#include "BKE_geometry_set.hh"
#include "BKE_layer.hh"
#include "BKE_lib_id.hh"
#include "BKE_mesh.hh"
#include "BKE_mesh_legacy_convert.hh"
#include "BKE_mesh_runtime.hh"
#include "BKE_mesh_sample.hh"
#include "BKE_object.hh"
#include "BKE_paint.hh"
#include "BKE_particle.h"
#include "BKE_report.hh"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
#include "DNA_modifier_types.h"
#include "DNA_object_types.h"
#include "DNA_particle_types.h"
#include "DNA_scene_types.h"
#include "DEG_depsgraph.hh"
#include "DEG_depsgraph_query.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "RNA_enum_types.hh"
#include "RNA_prototypes.hh"
#include "UI_interface.hh"
#include "UI_resources.hh"
#include "GEO_join_geometries.hh"
#include "GEO_reverse_uv_sampler.hh"
#include "GEO_set_curve_type.hh"
#include "GEO_subdivide_curves.hh"
#include "GEO_transform.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::ed
 
namespace  blender::ed::curves
 
namespace  blender::ed::curves::convert_to_particle_system
 
namespace  blender::ed::curves::convert_from_particle_system
 
namespace  blender::ed::curves::snap_curves_to_surface
 
namespace  blender::ed::curves::set_selection_domain
 
namespace  blender::ed::curves::surface_set
 
namespace  blender::ed::curves::curves_delete
 
namespace  blender::ed::curves::curves_duplicate
 
namespace  blender::ed::curves::clear_tilt
 
namespace  blender::ed::curves::cyclic_toggle
 
namespace  blender::ed::curves::curve_type_set
 
namespace  blender::ed::curves::switch_direction
 
namespace  blender::ed::curves::subdivide
 
namespace  blender::ed::curves::add_circle
 
namespace  blender::ed::curves::add_bezier
 
namespace  blender::ed::curves::set_handle_type
 

Enumerations

enum class  blender::ed::curves::snap_curves_to_surface::AttachMode { blender::ed::curves::snap_curves_to_surface::Nearest = 0 , blender::ed::curves::snap_curves_to_surface::Deform = 1 }
 

Functions

bool blender::ed::curves::object_has_editable_curves (const Main &bmain, const Object &object)
 
VectorSet< Curves * > blender::ed::curves::get_unique_editable_curves (const bContext &C)
 
static bool blender::ed::curves::curves_poll_impl (bContext *C, const bool check_editable, const bool check_surface, const bool check_edit_mode)
 
static bool blender::ed::curves::editable_curves_point_domain_poll (bContext *C)
 
static int blender::ed::curves::convert_to_particle_system::find_mface_for_root_position (const Span< float3 > positions, const MFace *mface, const Span< int > possible_mface_indices, const float3 &root_pos)
 
static float4 blender::ed::curves::convert_to_particle_system::compute_mface_weights_for_position (const Span< float3 > positions, const MFace &mface, const float3 &position)
 
static void blender::ed::curves::convert_to_particle_system::try_convert_single_object (Object &curves_ob, Main &bmain, Scene &scene, bool *r_could_not_convert_some_curves)
 
static int blender::ed::curves::convert_to_particle_system::curves_convert_to_particle_system_exec (bContext *C, wmOperator *op)
 
static void blender::ed::curves::CURVES_OT_convert_to_particle_system (wmOperatorType *ot)
 
static bke::CurvesGeometry blender::ed::curves::convert_from_particle_system::particles_to_curves (Object &object, ParticleSystem &psys)
 
static int blender::ed::curves::convert_from_particle_system::curves_convert_from_particle_system_exec (bContext *C, wmOperator *)
 
static bool blender::ed::curves::convert_from_particle_system::curves_convert_from_particle_system_poll (bContext *C)
 
static void blender::ed::curves::CURVES_OT_convert_from_particle_system (wmOperatorType *ot)
 
static void blender::ed::curves::snap_curves_to_surface::snap_curves_to_surface_exec_object (Object &curves_ob, const Object &surface_ob, const AttachMode attach_mode, bool *r_invalid_uvs, bool *r_missing_uvs)
 
static int blender::ed::curves::snap_curves_to_surface::snap_curves_to_surface_exec (bContext *C, wmOperator *op)
 
static void blender::ed::curves::CURVES_OT_snap_curves_to_surface (wmOperatorType *ot)
 
static int blender::ed::curves::set_selection_domain::curves_set_selection_domain_exec (bContext *C, wmOperator *op)
 
static void blender::ed::curves::CURVES_OT_set_selection_domain (wmOperatorType *ot)
 
static bool blender::ed::curves::has_anything_selected (const Span< Curves * > curves_ids)
 
static int blender::ed::curves::select_all_exec (bContext *C, wmOperator *op)
 
static void blender::ed::curves::CURVES_OT_select_all (wmOperatorType *ot)
 
static int blender::ed::curves::select_random_exec (bContext *C, wmOperator *op)
 
static void blender::ed::curves::select_random_ui (bContext *, wmOperator *op)
 
static void blender::ed::curves::CURVES_OT_select_random (wmOperatorType *ot)
 
static int blender::ed::curves::select_ends_exec (bContext *C, wmOperator *op)
 
static void blender::ed::curves::select_ends_ui (bContext *, wmOperator *op)
 
static void blender::ed::curves::CURVES_OT_select_ends (wmOperatorType *ot)
 
static int blender::ed::curves::select_linked_exec (bContext *C, wmOperator *)
 
static void blender::ed::curves::CURVES_OT_select_linked (wmOperatorType *ot)
 
static int blender::ed::curves::select_more_exec (bContext *C, wmOperator *)
 
static void blender::ed::curves::CURVES_OT_select_more (wmOperatorType *ot)
 
static int blender::ed::curves::select_less_exec (bContext *C, wmOperator *)
 
static void blender::ed::curves::CURVES_OT_select_less (wmOperatorType *ot)
 
static bool blender::ed::curves::surface_set::surface_set_poll (bContext *C)
 
static int blender::ed::curves::surface_set::surface_set_exec (bContext *C, wmOperator *op)
 
static void blender::ed::curves::CURVES_OT_surface_set (wmOperatorType *ot)
 
static int blender::ed::curves::curves_delete::delete_exec (bContext *C, wmOperator *)
 
static void blender::ed::curves::CURVES_OT_delete (wmOperatorType *ot)
 
static int blender::ed::curves::curves_duplicate::delete_exec (bContext *C, wmOperator *)
 
static void blender::ed::curves::CURVES_OT_duplicate (wmOperatorType *ot)
 
static int blender::ed::curves::clear_tilt::exec (bContext *C, wmOperator *)
 
static void blender::ed::curves::CURVES_OT_tilt_clear (wmOperatorType *ot)
 
static int blender::ed::curves::cyclic_toggle::exec (bContext *C, wmOperator *)
 
static void blender::ed::curves::CURVES_OT_cyclic_toggle (wmOperatorType *ot)
 
static int blender::ed::curves::curve_type_set::exec (bContext *C, wmOperator *op)
 
static void blender::ed::curves::CURVES_OT_curve_type_set (wmOperatorType *ot)
 
static int blender::ed::curves::switch_direction::exec (bContext *C, wmOperator *)
 
static void blender::ed::curves::CURVES_OT_switch_direction (wmOperatorType *ot)
 
static int blender::ed::curves::subdivide::exec (bContext *C, wmOperator *op)
 
static void blender::ed::curves::CURVES_OT_subdivide (wmOperatorType *ot)
 
static void blender::ed::curves::append_primitive_curve (bContext *C, Curves &curves_id, CurvesGeometry new_curves, wmOperator &op)
 
static CurvesGeometry blender::ed::curves::add_circle::generate_circle_primitive (const float radius)
 
static int blender::ed::curves::add_circle::exec (bContext *C, wmOperator *op)
 
static void blender::ed::curves::CURVES_OT_add_circle (wmOperatorType *ot)
 
static CurvesGeometry blender::ed::curves::add_bezier::generate_bezier_primitive (const float radius)
 
static int blender::ed::curves::add_bezier::exec (bContext *C, wmOperator *op)
 
static void blender::ed::curves::CURVES_OT_add_bezier (wmOperatorType *ot)
 
static int blender::ed::curves::set_handle_type::exec (bContext *C, wmOperator *op)
 
static void blender::ed::curves::CURVES_OT_handle_type_set (wmOperatorType *ot)
 
void blender::ed::curves::operatortypes_curves ()
 
void blender::ed::curves::operatormacros_curves ()
 
void blender::ed::curves::keymap_curves (wmKeyConfig *keyconf)
 
Poll Functions
bool blender::ed::curves::editable_curves_in_edit_mode_poll (bContext *C)
 
bool blender::ed::curves::editable_curves_with_surface_poll (bContext *C)
 
bool blender::ed::curves::curves_with_surface_poll (bContext *C)
 
bool blender::ed::curves::editable_curves_poll (bContext *C)
 
bool blender::ed::curves::curves_poll (bContext *C)