|
Blender V4.3
|
Public Attributes | ||
| Scene * | scene | |
| ScrArea * | area | |
| View3D * | v3d | |
| ARegion * | region | |
| void * | draw_handle_view | |
| float | co_src [3] | |
| struct { | ||
| bool is_centered | ||
| bool is_centered_init | ||
| bool is_fixed_aspect | ||
| bool is_fixed_aspect_init | ||
| float plane [4] | ||
| float co_dst [3] | ||
| bool is_degenerate_view_align | ||
| float degenerate_diagonal [3] | ||
| float degenerate_diagonal_display [3] | ||
| int degenerate_axis | ||
| } | step [2] | |
| float | view_plane [4] | |
| float | matrix_orient [3][3] | |
| int | orient_axis | |
| V3DSnapCursorState * | snap_state | |
| bool | use_snap | |
| bool | is_snap_found | |
| bool | is_snap_invert | |
| float | snap_co [3] | |
| StepIndex | step_index | |
| enum ePlace_PrimType | primitive_type | |
| bool | use_tool | |
| short | launch_event | |
| bool | wait_for_input | |
| short * | snap_to_ptr | |
| eSnapMode | snap_to_restore | |
Definition at line 74 of file view3d_placement.cc.
| ScrArea* InteractivePlaceData::area |
Definition at line 77 of file view3d_placement.cc.
Referenced by view3d_interactive_add_begin(), view3d_interactive_add_invoke(), and view3d_interactive_add_modal().
| float InteractivePlaceData::co_dst[3] |
Definition at line 100 of file view3d_placement.cc.
Referenced by calc_bbox(), view3d_interactive_add_begin(), and view3d_interactive_add_modal().
| float InteractivePlaceData::co_src[3] |
Definition at line 84 of file view3d_placement.cc.
Referenced by calc_bbox(), view3d_interactive_add_begin(), and view3d_interactive_add_modal().
| int InteractivePlaceData::degenerate_axis |
Index into matrix_orient which is degenerate.
Definition at line 130 of file view3d_placement.cc.
Referenced by view3d_interactive_add_begin().
| float InteractivePlaceData::degenerate_diagonal[3] |
When view aligned, use a diagonal offset (cavalier projection) to give user feedback about the depth being set.
Currently this is only used for orthogonal views since perspective views nearly always show some depth, even when view aligned.
Definition at line 120 of file view3d_placement.cc.
Referenced by view3d_interactive_add_begin(), and view3d_interactive_add_modal().
| float InteractivePlaceData::degenerate_diagonal_display[3] |
Corrected for display, so what's shown on-screen doesn't loop to be reversed in relation to cursor-motion.
Definition at line 125 of file view3d_placement.cc.
Referenced by draw_primitive_view_impl(), and view3d_interactive_add_begin().
| void* InteractivePlaceData::draw_handle_view |
Draw object preview region draw callback.
Definition at line 82 of file view3d_placement.cc.
Referenced by view3d_interactive_add_begin(), and view3d_interactive_add_exit().
| bool InteractivePlaceData::is_centered |
When centered, drag out the shape from the center. Toggling the setting flips the value from its initial state.
Definition at line 92 of file view3d_placement.cc.
Referenced by calc_bbox(), view3d_interactive_add_begin(), and view3d_interactive_add_modal().
| bool InteractivePlaceData::is_centered_init |
Definition at line 92 of file view3d_placement.cc.
Referenced by view3d_interactive_add_begin(), and view3d_interactive_add_modal().
| bool InteractivePlaceData::is_degenerate_view_align |
We can't project the mouse cursor onto plane, in this case view3d_win_to_3d_on_plane_maybe_fallback is used.
Definition at line 109 of file view3d_placement.cc.
Referenced by draw_primitive_view(), view3d_interactive_add_begin(), and view3d_interactive_add_modal().
| bool InteractivePlaceData::is_fixed_aspect |
When fixed, constrain the X/Y aspect for the initial STEP_BASE drag. For STEP_DEPTH match the maximum X/Y dimension. Toggling the setting flips the value from its initial state.
Definition at line 98 of file view3d_placement.cc.
Referenced by calc_bbox(), view3d_interactive_add_begin(), and view3d_interactive_add_modal().
| bool InteractivePlaceData::is_fixed_aspect_init |
Definition at line 98 of file view3d_placement.cc.
Referenced by view3d_interactive_add_begin(), and view3d_interactive_add_modal().
| bool InteractivePlaceData::is_snap_found |
Definition at line 141 of file view3d_placement.cc.
Referenced by view3d_interactive_add_begin(), and view3d_interactive_add_modal().
| bool InteractivePlaceData::is_snap_invert |
Definition at line 141 of file view3d_placement.cc.
Referenced by view3d_interactive_add_begin(), and view3d_interactive_add_modal().
| short InteractivePlaceData::launch_event |
Event used to start the operator.
Definition at line 153 of file view3d_placement.cc.
Referenced by view3d_interactive_add_begin(), and view3d_interactive_add_modal().
| float InteractivePlaceData::matrix_orient[3][3] |
Definition at line 137 of file view3d_placement.cc.
Referenced by calc_bbox(), draw_primitive_view_impl(), view3d_interactive_add_begin(), and view3d_interactive_add_modal().
| int InteractivePlaceData::orient_axis |
Definition at line 138 of file view3d_placement.cc.
Referenced by calc_bbox(), draw_primitive_view_impl(), view3d_interactive_add_begin(), and view3d_interactive_add_modal().
| float InteractivePlaceData::plane[4] |
Definition at line 99 of file view3d_placement.cc.
Referenced by draw_primitive_view_impl(), view3d_interactive_add_begin(), and view3d_interactive_add_modal().
| enum ePlace_PrimType InteractivePlaceData::primitive_type |
Definition at line 147 of file view3d_placement.cc.
Referenced by draw_primitive_view_impl(), view3d_interactive_add_begin(), and view3d_interactive_add_modal().
| ARegion* InteractivePlaceData::region |
Definition at line 79 of file view3d_placement.cc.
Referenced by draw_primitive_view(), draw_primitive_view_impl(), view3d_interactive_add_begin(), view3d_interactive_add_exit(), view3d_interactive_add_invoke(), and view3d_interactive_add_modal().
| Scene* InteractivePlaceData::scene |
Definition at line 76 of file view3d_placement.cc.
Referenced by view3d_interactive_add_invoke(), and view3d_interactive_add_modal().
| float InteractivePlaceData::snap_co[3] |
Definition at line 142 of file view3d_placement.cc.
Referenced by view3d_interactive_add_modal().
| V3DSnapCursorState* InteractivePlaceData::snap_state |
Definition at line 140 of file view3d_placement.cc.
Referenced by view3d_interactive_add_begin(), view3d_interactive_add_exit(), and view3d_interactive_add_modal().
| short* InteractivePlaceData::snap_to_ptr |
Definition at line 159 of file view3d_placement.cc.
Referenced by view3d_interactive_add_begin(), and view3d_interactive_add_modal().
| eSnapMode InteractivePlaceData::snap_to_restore |
Definition at line 160 of file view3d_placement.cc.
Referenced by view3d_interactive_add_begin(), and view3d_interactive_add_modal().
| struct { ... } InteractivePlaceData::step[2] |
Primary & secondary steps.
Referenced by calc_bbox(), draw_primitive_view(), draw_primitive_view_impl(), view3d_interactive_add_begin(), and view3d_interactive_add_modal().
| StepIndex InteractivePlaceData::step_index |
Can index into InteractivePlaceData.step.
Definition at line 145 of file view3d_placement.cc.
Referenced by calc_bbox(), draw_primitive_view(), view3d_interactive_add_begin(), and view3d_interactive_add_modal().
| bool InteractivePlaceData::use_snap |
Definition at line 141 of file view3d_placement.cc.
Referenced by view3d_interactive_add_begin(), and view3d_interactive_add_modal().
| bool InteractivePlaceData::use_tool |
Activated from the tool-system.
Definition at line 150 of file view3d_placement.cc.
Referenced by view3d_interactive_add_begin(), and view3d_interactive_add_modal().
| View3D* InteractivePlaceData::v3d |
Definition at line 78 of file view3d_placement.cc.
Referenced by draw_primitive_view(), view3d_interactive_add_invoke(), and view3d_interactive_add_modal().
| float InteractivePlaceData::view_plane[4] |
When we can't project onto the real plane, use this in its place.
Definition at line 135 of file view3d_placement.cc.
Referenced by view3d_interactive_add_begin(), and view3d_interactive_add_modal().
| bool InteractivePlaceData::wait_for_input |
When activated without a tool.
Definition at line 156 of file view3d_placement.cc.
Referenced by view3d_interactive_add_invoke(), and view3d_interactive_add_modal().