Blender V5.3
view3d_view.cc File Reference
#include "MEM_guardedalloc.h"
#include "BLI_linklist.hh"
#include "BLI_listbase.hh"
#include "BLI_math_matrix_c.hh"
#include "BLI_math_rotation_c.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_rect.hh"
#include "BKE_action.hh"
#include "BKE_context.hh"
#include "BKE_global.hh"
#include "BKE_layer.hh"
#include "BKE_lib_id.hh"
#include "BKE_main.hh"
#include "BKE_modifier.hh"
#include "BKE_object.hh"
#include "BKE_report.hh"
#include "BKE_scene.hh"
#include "DEG_depsgraph_query.hh"
#include "UI_resources.hh"
#include "GPU_matrix.hh"
#include "GPU_select.hh"
#include "GPU_state.hh"
#include "WM_api.hh"
#include "ED_info.hh"
#include "ED_object.hh"
#include "ED_screen.hh"
#include "DRW_engine.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "view3d_intern.hh"
#include "view3d_navigate.hh"
#include "DNA_camera_types.h"

Go to the source code of this file.

Classes

struct  blender::DrawSelectLoopUserData

Namespaces

namespace  blender
 BMesh Iterators.

Functions

Camera to View Operator
static wmOperatorStatus blender::view3d_camera_to_view_exec (bContext *C, wmOperator *)
static bool blender::view3d_camera_to_view_poll (bContext *C)
void blender::VIEW3D_OT_camera_to_view (wmOperatorType *ot)
Camera Fit Frame to Selected Operator
static wmOperatorStatus blender::view3d_camera_to_view_selected_exec (bContext *C, wmOperator *op)
void blender::VIEW3D_OT_camera_to_view_selected (wmOperatorType *ot)
Object as Camera Operator
static void blender::sync_viewport_camera_smoothview (bContext *C, View3D *v3d, Object *ob, const int smooth_viewtx)
static wmOperatorStatus blender::view3d_setobjectascamera_exec (bContext *C, wmOperator *op)
bool blender::ED_operator_rv3d_user_region_poll (bContext *C)
void blender::VIEW3D_OT_object_as_camera (wmOperatorType *ot)
Window and View Matrix Calculation
void blender::view3d_winmatrix_set (const Depsgraph *depsgraph, ARegion *region, const View3D *v3d, const rcti *rect)
static void blender::obmat_to_viewmat (RegionView3D *rv3d, Object *ob)
void blender::view3d_viewmatrix_set (const Depsgraph *depsgraph, const Scene *scene, const View3D *v3d, RegionView3D *rv3d, const float rect_scale[2])
GPU Select Utilities
void blender::view3d_gpu_select_cache_begin ()
void blender::view3d_gpu_select_cache_end ()
static bool blender::drw_select_loop_pass (eDRWSelectStage stage, void *user_data)
static std::optional< eV3DSelectObjectFilter > blender::view3d_select_filter_from_mode_lock_override (const View3D *v3d, const Object *obact)
eV3DSelectObjectFilter blender::ED_view3d_select_filter_from_mode (const Scene *scene, const View3D *v3d, const Object *obact)
static bool blender::drw_select_filter_object_mode_lock (Object *ob, void *user_data)
static bool blender::drw_select_filter_object_mode_lock_same_type (Object *ob, void *user_data)
static bool blender::drw_select_filter_object_mode_lock_for_weight_paint (Object *ob, void *user_data)
int blender::view3d_gpu_select_ex (const ViewContext *vc, GPUSelectBuffer *buffer, const rcti *input, eV3DSelectMode select_mode, eV3DSelectObjectFilter select_filter, eV3DSelectShape select_shape, bool do_material_slot_selection)
int blender::view3d_gpu_select (const ViewContext *vc, GPUSelectBuffer *buffer, const rcti *input, eV3DSelectMode select_mode, eV3DSelectObjectFilter select_filter, eV3DSelectShape select_shape)
int blender::view3d_gpu_select_with_id_filter (const ViewContext *vc, GPUSelectBuffer *buffer, const rcti *input, eV3DSelectMode select_mode, eV3DSelectObjectFilter select_filter, uint select_id)
Local View Operators
static uint blender::free_localview_bit (Main *bmain)
static bool blender::view3d_localview_init (const Depsgraph *depsgraph, wmWindowManager *wm, wmWindow *win, Main *bmain, const Scene *scene, ViewLayer *view_layer, ScrArea *area, const bool frame_selected, const int smooth_viewtx, ReportList *reports)
static bool blender::view3d_localview_exit (const Depsgraph *depsgraph, wmWindowManager *wm, wmWindow *win, const Scene *scene, ViewLayer *view_layer, ScrArea *area, const bool frame_selected, const int smooth_viewtx)
bool blender::ED_localview_exit_if_empty (const Depsgraph *depsgraph, Scene *scene, ViewLayer *view_layer, wmWindowManager *wm, wmWindow *win, View3D *v3d, ScrArea *area, bool frame_selected=true, int smooth_viewtx=0)
static wmOperatorStatus blender::localview_exec (bContext *C, wmOperator *op)
void blender::VIEW3D_OT_localview (wmOperatorType *ot)
static wmOperatorStatus blender::localview_remove_from_exec (bContext *C, wmOperator *op)
static bool blender::localview_remove_from_poll (bContext *C)
void blender::VIEW3D_OT_localview_remove_from (wmOperatorType *ot)
Local Collections
static uint blender::free_localcollection_bit (const Main *bmain, ushort local_collections_uid, bool *r_reset)
static void blender::local_collections_reset_uuid (LayerCollection *layer_collection, const ushort local_view_bit)
static void blender::view3d_local_collections_reset (const Main *bmain, const uint local_view_bit)
bool blender::ED_view3d_local_collections_set (const Main *bmain, View3D *v3d)
void blender::ED_view3d_local_collections_reset (const bContext *C, bool reset_all)