|
Blender V5.3
|
Inherits blender::ed::curves::pen_tool::PenToolOperation.
Public Member Functions | |
| float3 | project (const float2 &screen_co) const override |
| IndexMask | all_selected_points (const int curves_index, IndexMaskMemory &memory) const override |
| IndexMask | visible_bezier_handle_points (const int curves_index, IndexMaskMemory &memory) const override |
| IndexMask | editable_curves (const int curves_index, IndexMaskMemory &) const override |
| void | tag_curve_changed (const int curves_index) const override |
| bke::CurvesGeometry & | get_curves (const int curves_index) const override |
| IndexRange | curves_range () const override |
| void | single_point_attributes (bke::CurvesGeometry &, const int) const override |
| bool | can_create_new_curve (wmOperator *op) const override |
| void | update_view (bContext *C) const override |
| std::optional< wmOperatorStatus > | initialize (bContext *C, wmOperator *, const wmEvent *) override |
| Public Member Functions inherited from blender::ed::curves::pen_tool::PenToolOperation | |
| virtual | ~PenToolOperation ()=default |
| float2 | layer_to_screen (const float4x4 &layer_to_object, const float3 &point) const |
| float3 | screen_to_layer (const float4x4 &layer_to_world, const float2 &screen_co, const float3 &depth_point_layer) const |
| wmOperatorStatus | invoke (bContext *C, wmOperator *op, const wmEvent *event) |
| wmOperatorStatus | modal (bContext *C, wmOperator *op, const wmEvent *event) |
Public Attributes | |
| Vector< Curves * > | all_curves |
| Public Attributes inherited from blender::ed::curves::pen_tool::PenToolOperation | |
| ViewContext | vc |
| float | threshold_distance |
| float | threshold_distance_edge |
| bool | extrude_point |
| bool | delete_point |
| bool | insert_point |
| bool | move_seg |
| bool | select_point |
| bool | move_point |
| bool | cycle_handle_type |
| int | extrude_handle |
| float | radius |
| bool | move_entire |
| bool | snap_angle |
| bool | move_handle |
| bool | point_added |
| bool | point_removed |
| bool | handle_moved |
| float4x4 | projection |
| float2 | mouse_co |
| float2 | xy |
| float2 | prev_xy |
| float2 | center_of_mass_co |
| ClosestElement | closest_element |
| std::optional< int > | active_drawing_index |
| Vector< float4x4 > | layer_to_world_per_curves |
| Vector< float4x4 > | layer_to_object_per_curves |
Definition at line 1300 of file curves_pen.cc.
|
inlineoverridevirtual |
Implements blender::ed::curves::pen_tool::PenToolOperation.
Definition at line 1310 of file curves_pen.cc.
References blender::ed::curves::retrieve_all_selected_points(), and blender::ed::curves::pen_tool::PenToolOperation::vc.
|
inlineoverridevirtual |
Will return true if a new curve can be created, and report any errors.
Implements blender::ed::curves::pen_tool::PenToolOperation.
Definition at line 1356 of file curves_pen.cc.
References blender::ed::curves::pen_tool::PenToolOperation::active_drawing_index, blender::BKE_report(), blender::wmOperator::reports, and blender::RPT_ERROR.
|
inlineoverridevirtual |
Implements blender::ed::curves::pen_tool::PenToolOperation.
Definition at line 1346 of file curves_pen.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::index_range().
|
inlineoverridevirtual |
Implements blender::ed::curves::pen_tool::PenToolOperation.
Definition at line 1326 of file curves_pen.cc.
|
inlineoverridevirtual |
Implements blender::ed::curves::pen_tool::PenToolOperation.
Definition at line 1340 of file curves_pen.cc.
|
inlineoverridevirtual |
Implements blender::ed::curves::pen_tool::PenToolOperation.
Definition at line 1375 of file curves_pen.cc.
References blender::ed::curves::pen_tool::PenToolOperation::active_drawing_index, blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::VectorSet< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_new(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), C, blender::CTX_data_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, blender::CTX_data_main(), blender::MatBase< float, 4, 4 >::identity(), blender::ed::curves::pen_tool::PenToolOperation::layer_to_object_per_curves, blender::ed::curves::pen_tool::PenToolOperation::layer_to_world_per_curves, blender::ed::curves::object_has_editable_curves(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
|
inlineoverridevirtual |
Implements blender::ed::curves::pen_tool::PenToolOperation.
Definition at line 1304 of file curves_pen.cc.
References blender::ed::curves::pen_tool::PenToolOperation::active_drawing_index, blender::ed::curves::pen_tool::PenToolOperation::layer_to_world_per_curves, and blender::ed::curves::pen_tool::PenToolOperation::screen_to_layer().
|
inlineoverridevirtual |
Implements blender::ed::curves::pen_tool::PenToolOperation.
Definition at line 1351 of file curves_pen.cc.
|
inlineoverridevirtual |
Implements blender::ed::curves::pen_tool::PenToolOperation.
Definition at line 1333 of file curves_pen.cc.
|
inlineoverridevirtual |
Implements blender::ed::curves::pen_tool::PenToolOperation.
Definition at line 1366 of file curves_pen.cc.
References C, blender::DEG_id_tag_update(), blender::ED_region_tag_redraw(), blender::ID_RECALC_GEOMETRY, NC_GEOM, ND_DATA, blender::ed::curves::pen_tool::PenToolOperation::vc, and blender::WM_event_add_notifier().
Referenced by blender::ed::curves::pen_tool::curves_pen_exit().
|
inlineoverridevirtual |
Implements blender::ed::curves::pen_tool::PenToolOperation.
Definition at line 1317 of file curves_pen.cc.
References blender::ed::curves::pen_tool::retrieve_visible_bezier_handle_points(), and blender::ed::curves::pen_tool::PenToolOperation::vc.
Definition at line 1302 of file curves_pen.cc.