Blender V4.3
view3d_navigate_view_orbit.cc File Reference
#include "MEM_guardedalloc.h"
#include "BLI_math_rotation.h"
#include "WM_api.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "view3d_intern.hh"
#include "view3d_navigate.hh"

Go to the source code of this file.

Variables

const ViewOpsType ViewOpsType_orbit
 

View Orbit Operator

Rotate (orbit) in incremental steps. For interactive orbit see VIEW3D_OT_rotate.

enum  { V3D_VIEW_STEPLEFT = 1 , V3D_VIEW_STEPRIGHT , V3D_VIEW_STEPDOWN , V3D_VIEW_STEPUP }
 
static const EnumPropertyItem prop_view_orbit_items []
 
static int vieworbit_exec (bContext *C, wmOperator *op)
 
void VIEW3D_OT_view_orbit (wmOperatorType *ot)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
V3D_VIEW_STEPLEFT 
V3D_VIEW_STEPRIGHT 
V3D_VIEW_STEPDOWN 
V3D_VIEW_STEPUP 

Definition at line 28 of file view3d_navigate_view_orbit.cc.

Function Documentation

◆ VIEW3D_OT_view_orbit()

◆ vieworbit_exec()

Variable Documentation

◆ prop_view_orbit_items

const EnumPropertyItem prop_view_orbit_items[]
static
Initial value:
= {
{V3D_VIEW_STEPLEFT, "ORBITLEFT", 0, "Orbit Left", "Orbit the view around to the left"},
{V3D_VIEW_STEPRIGHT, "ORBITRIGHT", 0, "Orbit Right", "Orbit the view around to the right"},
{V3D_VIEW_STEPUP, "ORBITUP", 0, "Orbit Up", "Orbit the view up"},
{V3D_VIEW_STEPDOWN, "ORBITDOWN", 0, "Orbit Down", "Orbit the view down"},
{0, nullptr, 0, nullptr, nullptr},
}

Definition at line 35 of file view3d_navigate_view_orbit.cc.

Referenced by VIEW3D_OT_view_orbit().

◆ ViewOpsType_orbit

const ViewOpsType ViewOpsType_orbit
Initial value:
= {
"VIEW3D_OT_view_orbit",
nullptr,
nullptr,
nullptr,
}
@ VIEWOPS_FLAG_ORBIT_SELECT

Definition at line 160 of file view3d_navigate_view_orbit.cc.

Referenced by VIEW3D_OT_view_orbit(), and vieworbit_exec().