|
Blender V5.0
|
Inherits blender::ed::curves::pen_tool::PenToolOperation.
Public Member Functions | |
| float3 | project (const float2 &screen_co) const |
| IndexMask | all_selected_points (const int curves_index, IndexMaskMemory &memory) const |
| IndexMask | visible_bezier_handle_points (const int curves_index, IndexMaskMemory &memory) const |
| IndexMask | editable_curves (const int curves_index, IndexMaskMemory &) const |
| void | tag_curve_changed (const int curves_index) const |
| bke::CurvesGeometry & | get_curves (const int curves_index) const |
| IndexRange | curves_range () const |
| void | single_point_attributes (bke::CurvesGeometry &, const int) const |
| bool | can_create_new_curve (wmOperator *op) const |
| void | update_view (bContext *C) const |
| std::optional< wmOperatorStatus > | initialize (bContext *C, wmOperator *, const wmEvent *) |
| 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 1277 of file curves_pen.cc.
|
inlinevirtual |
Implements blender::ed::curves::pen_tool::PenToolOperation.
Definition at line 1287 of file curves_pen.cc.
References Curves::geometry, blender::ed::curves::retrieve_all_selected_points(), and blender::ed::curves::pen_tool::PenToolOperation::vc.
|
inlinevirtual |
Will return true if a new curve can be created, and report any errors.
Implements blender::ed::curves::pen_tool::PenToolOperation.
Definition at line 1332 of file curves_pen.cc.
References blender::ed::curves::pen_tool::PenToolOperation::active_drawing_index, BKE_report(), wmOperator::reports, and RPT_ERROR.
|
inlinevirtual |
Implements blender::ed::curves::pen_tool::PenToolOperation.
Definition at line 1322 of file curves_pen.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::index_range().
|
inlinevirtual |
Implements blender::ed::curves::pen_tool::PenToolOperation.
Definition at line 1302 of file curves_pen.cc.
References Curves::geometry.
|
inlinevirtual |
Implements blender::ed::curves::pen_tool::PenToolOperation.
Definition at line 1316 of file curves_pen.cc.
References Curves::geometry.
|
inlinevirtual |
Implements blender::ed::curves::pen_tool::PenToolOperation.
Definition at line 1351 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, CTX_data_active_object(), CTX_DATA_BEGIN, CTX_DATA_END, 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().
|
inlinevirtual |
Implements blender::ed::curves::pen_tool::PenToolOperation.
Definition at line 1281 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().
|
inlinevirtual |
Implements blender::ed::curves::pen_tool::PenToolOperation.
Definition at line 1327 of file curves_pen.cc.
|
inlinevirtual |
Implements blender::ed::curves::pen_tool::PenToolOperation.
Definition at line 1309 of file curves_pen.cc.
References Curves::geometry.
|
inlinevirtual |
Implements blender::ed::curves::pen_tool::PenToolOperation.
Definition at line 1342 of file curves_pen.cc.
References C, DEG_id_tag_update(), ED_region_tag_redraw(), ID_RECALC_GEOMETRY, NC_GEOM, ND_DATA, blender::ed::curves::pen_tool::PenToolOperation::vc, and WM_event_add_notifier().
Referenced by blender::ed::curves::pen_tool::curves_pen_exit().
|
inlinevirtual |
Implements blender::ed::curves::pen_tool::PenToolOperation.
Definition at line 1294 of file curves_pen.cc.
References Curves::geometry, blender::ed::curves::pen_tool::retrieve_visible_bezier_handle_points(), and blender::ed::curves::pen_tool::PenToolOperation::vc.
Definition at line 1279 of file curves_pen.cc.