Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_view3d.h
| Show First 20 Lines • Show All 506 Lines • ▼ Show 20 Lines | |||||
| int view3d_opengl_select(struct ViewContext *vc, | int view3d_opengl_select(struct ViewContext *vc, | ||||
| unsigned int *buffer, | unsigned int *buffer, | ||||
| unsigned int bufsize, | unsigned int bufsize, | ||||
| const struct rcti *input, | const struct rcti *input, | ||||
| eV3DSelectMode select_mode, | eV3DSelectMode select_mode, | ||||
| eV3DSelectObjectFilter select_filter); | eV3DSelectObjectFilter select_filter); | ||||
| /* view3d_select.c */ | /* view3d_select.c */ | ||||
| struct EDSelectID_Context; | |||||
| struct EDSelectID_Context *ED_view3d_select_id_context_create(struct ViewContext *vc, | |||||
| struct Base **bases, | |||||
| const uint bases_len, | |||||
| short select_mode); | |||||
| void ED_view3d_select_id_context_destroy(struct EDSelectID_Context *sel_id_ctx); | |||||
| void ED_view3d_select_id_validate_view_matrices(struct EDSelectID_Context *sel_id_ctx, | |||||
| struct ViewContext *vc); | |||||
| uint ED_view3d_select_id_context_offset_for_object_elem( | |||||
| const struct EDSelectID_Context *sel_id_ctx, int base_index, char elem_type); | |||||
| uint ED_view3d_select_id_context_elem_len(const struct EDSelectID_Context *sel_id_ctx); | |||||
| bool ED_view3d_select_id_elem_get(struct EDSelectID_Context *sel_id_ctx, | |||||
| const uint sel_id, | |||||
| uint *r_elem, | |||||
| uint *r_base_index, | |||||
| char *r_elem_type); | |||||
| float ED_view3d_select_dist_px(void); | float ED_view3d_select_dist_px(void); | ||||
| void ED_view3d_viewcontext_init(struct bContext *C, struct ViewContext *vc); | void ED_view3d_viewcontext_init(struct bContext *C, struct ViewContext *vc); | ||||
| void ED_view3d_viewcontext_init_object(struct ViewContext *vc, struct Object *obact); | void ED_view3d_viewcontext_init_object(struct ViewContext *vc, struct Object *obact); | ||||
| void view3d_operator_needs_opengl(const struct bContext *C); | void view3d_operator_needs_opengl(const struct bContext *C); | ||||
| void view3d_region_operator_needs_opengl(struct wmWindow *win, struct ARegion *ar); | void view3d_region_operator_needs_opengl(struct wmWindow *win, struct ARegion *ar); | ||||
| /* XXX should move to BLI_math */ | /* XXX should move to BLI_math */ | ||||
| bool edge_inside_circle(const float cent[2], | bool edge_inside_circle(const float cent[2], | ||||
| ▲ Show 20 Lines • Show All 207 Lines • Show Last 20 Lines | |||||