Blender V4.3
view3d_navigate_view_axis.cc File Reference
#include "MEM_guardedalloc.h"
#include "BLI_math_rotation.h"
#include "BLT_translation.hh"
#include "BKE_context.hh"
#include "ED_transform.hh"
#include "WM_api.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "UI_resources.hh"
#include "view3d_intern.hh"
#include "view3d_navigate.hh"

Go to the source code of this file.

View Axis Operator

static const EnumPropertyItem prop_view_items []
 
static int view_axis_exec (bContext *C, wmOperator *op)
 
void VIEW3D_OT_view_axis (wmOperatorType *ot)
 

Function Documentation

◆ VIEW3D_OT_view_axis()

◆ view_axis_exec()

Variable Documentation

◆ prop_view_items

const EnumPropertyItem prop_view_items[]
static
Initial value:
= {
{RV3D_VIEW_LEFT, "LEFT", ICON_TRIA_LEFT, "Left", "View from the left"},
{RV3D_VIEW_RIGHT, "RIGHT", ICON_TRIA_RIGHT, "Right", "View from the right"},
{RV3D_VIEW_BOTTOM, "BOTTOM", ICON_TRIA_DOWN, "Bottom", "View from the bottom"},
{RV3D_VIEW_TOP, "TOP", ICON_TRIA_UP, "Top", "View from the top"},
{RV3D_VIEW_FRONT, "FRONT", 0, "Front", "View from the front"},
{RV3D_VIEW_BACK, "BACK", 0, "Back", "View from the back"},
{0, nullptr, 0, nullptr, nullptr},
}
@ RV3D_VIEW_FRONT
@ RV3D_VIEW_BOTTOM
@ RV3D_VIEW_LEFT
@ RV3D_VIEW_RIGHT
@ RV3D_VIEW_TOP
@ RV3D_VIEW_BACK

Definition at line 34 of file view3d_navigate_view_axis.cc.

Referenced by VIEW3D_OT_view_axis().