Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_curves.h
| Show All 12 Lines | |||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| /* -------------------------------------------------------------------- */ | /* -------------------------------------------------------------------- */ | ||||
| /** \name C Wrappers | /** \name C Wrappers | ||||
| * \{ */ | * \{ */ | ||||
| void ED_operatortypes_curves(void); | void ED_operatortypes_curves(void); | ||||
| void ED_curves_undosys_type(struct UndoType *ut); | |||||
| /** | /** | ||||
| * Return an owning pointer to an array of point normals the same size as the number of control | * Return an owning pointer to an array of point normals the same size as the number of control | ||||
| * points. The normals depend on the normal mode for each curve and the "tilt" attribute and may be | * points. The normals depend on the normal mode for each curve and the "tilt" attribute and may be | ||||
| * calculated for the evaluated points and sampled back to the control points. | * calculated for the evaluated points and sampled back to the control points. | ||||
| */ | */ | ||||
| float (*ED_curves_point_normals_array_create(const struct Curves *curves_id))[3]; | float (*ED_curves_point_normals_array_create(const struct Curves *curves_id))[3]; | ||||
| Show All 9 Lines | |||||
| # include "BLI_index_mask.hh" | # include "BLI_index_mask.hh" | ||||
| # include "BLI_vector.hh" | # include "BLI_vector.hh" | ||||
| # include "BLI_vector_set.hh" | # include "BLI_vector_set.hh" | ||||
| # include "BKE_curves.hh" | # include "BKE_curves.hh" | ||||
| namespace blender::ed::curves { | namespace blender::ed::curves { | ||||
| bool object_has_editable_curves(const Main &bmain, const Object &object); | |||||
| bke::CurvesGeometry primitive_random_sphere(int curves_size, int points_per_curve); | bke::CurvesGeometry primitive_random_sphere(int curves_size, int points_per_curve); | ||||
| VectorSet<Curves *> get_unique_editable_curves(const bContext &C); | VectorSet<Curves *> get_unique_editable_curves(const bContext &C); | ||||
| void ensure_surface_deformation_node_exists(bContext &C, Object &curves_ob); | void ensure_surface_deformation_node_exists(bContext &C, Object &curves_ob); | ||||
| /* -------------------------------------------------------------------- */ | /* -------------------------------------------------------------------- */ | ||||
| /** \name Poll Functions | /** \name Poll Functions | ||||
| * \{ */ | * \{ */ | ||||
| bool editable_curves_with_surface_poll(bContext *C); | bool editable_curves_with_surface_poll(bContext *C); | ||||
| bool editable_curves_in_edit_mode_poll(bContext *C); | |||||
| bool curves_with_surface_poll(bContext *C); | bool curves_with_surface_poll(bContext *C); | ||||
| bool editable_curves_poll(bContext *C); | bool editable_curves_poll(bContext *C); | ||||
| bool curves_poll(bContext *C); | bool curves_poll(bContext *C); | ||||
| /** \} */ | /** \} */ | ||||
| /* -------------------------------------------------------------------- */ | /* -------------------------------------------------------------------- */ | ||||
| /** \name Selection | /** \name Selection | ||||
| Show All 40 Lines | |||||