Blender V5.3
view3d_edit.cc File Reference
#include "DNA_armature_types.h"
#include "DNA_camera_types.h"
#include "DNA_world_types.h"
#include "MEM_guardedalloc.h"
#include "BLI_listbase.hh"
#include "BLI_math_geom_c.hh"
#include "BLI_math_matrix.hh"
#include "BLI_math_matrix_c.hh"
#include "BLI_math_quaternion.hh"
#include "BLI_math_rotation_c.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_rect.hh"
#include "BLI_string_utf8.hh"
#include "BKE_action.hh"
#include "BKE_armature.hh"
#include "BKE_camera.h"
#include "BKE_lib_id.hh"
#include "BKE_object.hh"
#include "BKE_report.hh"
#include "BKE_scene.hh"
#include "BKE_screen.hh"
#include "DEG_depsgraph_query.hh"
#include "WM_api.hh"
#include "WM_message.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "ED_screen.hh"
#include "ED_transform.hh"
#include "ED_transform_snap_object_context.hh"
#include "ED_undo.hh"
#include "view3d_intern.hh"
#include "view3d_navigate.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

static bool blender::view3d_camera_user_poll (bContext *C)
static bool blender::view3d_lock_poll (bContext *C)
View Lock Clear Operator
static wmOperatorStatus blender::view_lock_clear_exec (bContext *C, wmOperator *)
void blender::VIEW3D_OT_view_lock_clear (wmOperatorType *ot)
View Lock to Active Operator
static wmOperatorStatus blender::view_lock_to_active_exec (bContext *C, wmOperator *)
void blender::VIEW3D_OT_view_lock_to_active (wmOperatorType *ot)
Frame Camera Bounds Operator
static wmOperatorStatus blender::view3d_center_camera_exec (bContext *C, wmOperator *)
void blender::VIEW3D_OT_view_center_camera (wmOperatorType *ot)
View Lock Center Operator
static wmOperatorStatus blender::view3d_center_lock_exec (bContext *C, wmOperator *)
void blender::VIEW3D_OT_view_center_lock (wmOperatorType *ot)
Set Render Border Operator
static wmOperatorStatus blender::render_border_exec (bContext *C, wmOperator *op)
void blender::VIEW3D_OT_render_border (wmOperatorType *ot)
Clear Render Border Operator
static wmOperatorStatus blender::clear_render_border_exec (bContext *C, wmOperator *op)
void blender::VIEW3D_OT_clear_render_border (wmOperatorType *ot)
Set Camera Zoom 1:1 Operator

Sets the view to 1:1 camera/render-pixel.

static void blender::view3d_set_1_to_1_viewborder (Scene *scene, Depsgraph *depsgraph, ARegion *region, View3D *v3d)
static wmOperatorStatus blender::view3d_zoom_1_to_1_camera_exec (bContext *C, wmOperator *)
void blender::VIEW3D_OT_zoom_camera_1_to_1 (wmOperatorType *ot)
Set View Roll Operator

Sets the roll of the view to an angle.

static void blender::view3d_set_view_angle (ARegion *region, View3D *v3d, const float input_angle)
static wmOperatorStatus blender::view3d_set_roll_exec (bContext *C, wmOperator *op)
void blender::VIEW3D_OT_view_roll_set (wmOperatorType *ot)
View Toggle Perspective/Orthographic Operator
static wmOperatorStatus blender::viewpersportho_exec (bContext *C, wmOperator *)
void blender::VIEW3D_OT_view_persportho (wmOperatorType *ot)
View Navigate Operator

Wraps walk/fly modes.

static wmOperatorStatus blender::view3d_navigate_invoke (bContext *C, wmOperator *, const wmEvent *event)
void blender::VIEW3D_OT_navigate (wmOperatorType *ot)
Background Image Add Operator
static Camera * blender::background_image_camera_from_context (bContext *C)
static wmOperatorStatus blender::camera_background_image_add_exec (bContext *C, wmOperator *op)
static bool blender::camera_background_image_add_poll (bContext *C)
void blender::VIEW3D_OT_camera_background_image_add (wmOperatorType *ot)
Background Image Remove Operator
static wmOperatorStatus blender::camera_background_image_remove_exec (bContext *C, wmOperator *op)
void blender::VIEW3D_OT_camera_background_image_remove (wmOperatorType *ot)
Drop World Operator
static wmOperatorStatus blender::drop_world_exec (bContext *C, wmOperator *op)
static bool blender::drop_world_poll (bContext *C)
void blender::VIEW3D_OT_drop_world (wmOperatorType *ot)
View Clipping Planes Operator

Draw border or toggle off.

static void blender::calc_local_clipping (float clip_local[6][4], const BoundBox *clipbb, const float mat[4][4])
void blender::ED_view3d_clipping_local (RegionView3D *rv3d, const float mat[4][4])
static wmOperatorStatus blender::view3d_clipping_exec (bContext *C, wmOperator *op)
static wmOperatorStatus blender::view3d_clipping_invoke (bContext *C, wmOperator *op, const wmEvent *event)
static bool blender::view3d_region_wire_or_solid_poll (bContext *C)
void blender::VIEW3D_OT_clip_border (wmOperatorType *ot)
Set Cursor Operator
void blender::ED_view3d_cursor3d_position (bContext *C, const int mval[2], bool use_depth, float r_cursor_co[3])
void blender::ED_view3d_cursor3d_position_rotation (bContext *C, const int mval[2], bool use_depth, enum eV3DCursorOrient orientation, float r_cursor_co[3], float r_cursor_quat[4])
void blender::ED_view3d_cursor3d_update (bContext *C, const int mval[2], bool use_depth, enum eV3DCursorOrient orientation)
static wmOperatorStatus blender::view3d_cursor3d_invoke (bContext *C, wmOperator *op, const wmEvent *event)
void blender::VIEW3D_OT_cursor3d (wmOperatorType *ot)
Toggle XRay
static wmOperatorStatus blender::toggle_xray_exec (bContext *C, wmOperator *op)
void blender::VIEW3D_OT_toggle_xray (wmOperatorType *ot)

Flip View Operator

Flips the view either horizontally or vertically.

enum class  blender::FlipDirection : int8_t { blender::Horizontal = 0 , blender::Vertical = 1 }
static const EnumPropertyItem blender::prop_flip_directions []
static wmOperatorStatus blender::view3d_flip_view_exec (bContext *C, wmOperator *op)
void blender::VIEW3D_OT_view_flip (wmOperatorType *ot)

Toggle Shading Operator

static const EnumPropertyItem blender::prop_shading_type_items []
static wmOperatorStatus blender::toggle_shading_exec (bContext *C, wmOperator *op)
void blender::VIEW3D_OT_toggle_shading (wmOperatorType *ot)

Detailed Description

3D view manipulation/operators.

Definition in file view3d_edit.cc.