Blender  V3.3
Namespaces | Enumerations | Functions
curves_ops.cc File Reference
#include <atomic>
#include "BLI_devirtualize_parameters.hh"
#include "BLI_utildefines.h"
#include "BLI_vector_set.hh"
#include "ED_curves.h"
#include "ED_object.h"
#include "ED_screen.h"
#include "ED_select_utils.h"
#include "WM_api.h"
#include "BKE_attribute_math.hh"
#include "BKE_bvhutils.h"
#include "BKE_context.h"
#include "BKE_curves.hh"
#include "BKE_geometry_set.hh"
#include "BKE_layer.h"
#include "BKE_lib_id.h"
#include "BKE_mesh.h"
#include "BKE_mesh_legacy_convert.h"
#include "BKE_mesh_runtime.h"
#include "BKE_object.h"
#include "BKE_paint.h"
#include "BKE_particle.h"
#include "BKE_report.h"
#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.h"
#include "DEG_depsgraph_query.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "RNA_enum_types.h"
#include "RNA_prototypes.h"
#include "GEO_reverse_uv_sampler.hh"

Go to the source code of this file.

Namespaces

 blender
 
 blender::ed
 
 blender::ed::curves
 
 blender::ed::curves::convert_to_particle_system
 
 blender::ed::curves::convert_from_particle_system
 
 blender::ed::curves::snap_curves_to_surface
 
 blender::ed::curves::set_selection_domain
 
 blender::ed::curves::disable_selection
 
 blender::ed::curves::select_all
 
 blender::ed::curves::surface_set
 

Enumerations

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

Functions

static 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)
 
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)
 
static int blender::ed::curves::convert_to_particle_system::find_mface_for_root_position (const Mesh &mesh, 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 Mesh &mesh, 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 *UNUSED(op))
 
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 int blender::ed::curves::disable_selection::curves_disable_selection_exec (bContext *C, wmOperator *UNUSED(op))
 
static void blender::ed::curves::CURVES_OT_disable_selection (wmOperatorType *ot)
 
static bool blender::ed::curves::varray_contains_nonzero (const VArray< float > &data)
 
bool blender::ed::curves::has_anything_selected (const Curves &curves_id)
 
static bool blender::ed::curves::any_point_selected (const CurvesGeometry &curves)
 
static bool blender::ed::curves::any_point_selected (const Span< Curves * > curves_ids)
 
static void blender::ed::curves::select_all::invert_selection (MutableSpan< float > selection)
 
static int blender::ed::curves::select_all::select_all_exec (bContext *C, wmOperator *op)
 
static void blender::ed::curves::SCULPT_CURVES_OT_select_all (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)
 
void ED_operatortypes_curves ()
 

Function Documentation

◆ ED_operatortypes_curves()

void ED_operatortypes_curves ( void  )