Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_view3d.h
| Show All 38 Lines | |||||
| struct RegionView3D; | struct RegionView3D; | ||||
| struct RenderEngineType; | struct RenderEngineType; | ||||
| struct Scene; | struct Scene; | ||||
| struct ScrArea; | struct ScrArea; | ||||
| struct SnapObjectContext; | struct SnapObjectContext; | ||||
| struct View3D; | struct View3D; | ||||
| struct ViewContext; | struct ViewContext; | ||||
| struct ViewLayer; | struct ViewLayer; | ||||
| struct ViewOpsData; | |||||
| struct bContext; | struct bContext; | ||||
| struct bPoseChannel; | struct bPoseChannel; | ||||
| struct bScreen; | struct bScreen; | ||||
| struct rctf; | struct rctf; | ||||
| struct rcti; | struct rcti; | ||||
| struct wmEvent; | |||||
| struct wmGizmo; | struct wmGizmo; | ||||
| struct wmKeyMapItem; | |||||
| struct wmWindow; | struct wmWindow; | ||||
| struct wmWindowManager; | struct wmWindowManager; | ||||
| /* for derivedmesh drawing callbacks, for view3d_select, .... */ | /* for derivedmesh drawing callbacks, for view3d_select, .... */ | ||||
| typedef struct ViewContext { | typedef struct ViewContext { | ||||
| struct bContext *C; | struct bContext *C; | ||||
| struct Main *bmain; | struct Main *bmain; | ||||
| /* Dependency graph is uses for depth drawing, viewport camera matrix access, and also some areas | /* Dependency graph is uses for depth drawing, viewport camera matrix access, and also some areas | ||||
| ▲ Show 20 Lines • Show All 143 Lines • ▼ Show 20 Lines | bool ED_view3d_depth_read_cached_normal(const struct ARegion *region, | ||||
| const ViewDepths *depths, | const ViewDepths *depths, | ||||
| const int mval[2], | const int mval[2], | ||||
| float r_normal[3]); | float r_normal[3]); | ||||
| bool ED_view3d_depth_unproject_v3(const struct ARegion *region, | bool ED_view3d_depth_unproject_v3(const struct ARegion *region, | ||||
| const int mval[2], | const int mval[2], | ||||
| double depth, | double depth, | ||||
| float r_location_world[3]); | float r_location_world[3]); | ||||
| /* Temporary function that will last as long as the navigation feature during transform is | |||||
| * experimental. */ | |||||
| void ed_view3d_kmi_navigation_fill_array(struct bContext *C, | |||||
| const int array_len_max, | |||||
| struct wmKeyMapItem **r_km_items, | |||||
| int *r_kmi_len); | |||||
| struct ViewOpsData *ED_view3d_navigation_init(struct bContext *C); | |||||
| bool ED_view3d_navigation_do(struct bContext *C, | |||||
| struct ViewOpsData *vod, | |||||
| const struct wmEvent *event); | |||||
| void ED_view3d_navigation_free(struct bContext *C, struct ViewOpsData *vod); | |||||
| /* Projection */ | /* Projection */ | ||||
| #define IS_CLIPPED 12000 | #define IS_CLIPPED 12000 | ||||
| /* return values for ED_view3d_project_...() */ | /* return values for ED_view3d_project_...() */ | ||||
| typedef enum { | typedef enum { | ||||
| V3D_PROJ_RET_OK = 0, | V3D_PROJ_RET_OK = 0, | ||||
| /** can't avoid this when in perspective mode, (can't avoid) */ | /** can't avoid this when in perspective mode, (can't avoid) */ | ||||
| V3D_PROJ_RET_CLIP_NEAR = 1, | V3D_PROJ_RET_CLIP_NEAR = 1, | ||||
| ▲ Show 20 Lines • Show All 1,133 Lines • Show Last 20 Lines | |||||