42#define RT_EDIT_DEFAULT -1
53#define RT_PARAMS_EDIT_TRANS 1
54#define RT_PARAMS_EDIT_SCALE 2
55#define RT_PARAMS_EDIT_ROT 3
66#define RT_PARAMS_EDIT_PICK 5
73#define RT_MATRIX_EDIT_ROT 6
90#define RT_MATRIX_EDIT_TRANS_VIEW_XY 7
91#define RT_MATRIX_EDIT_TRANS_VIEW_X 8
92#define RT_MATRIX_EDIT_TRANS_VIEW_Y 9
107#define RT_MATRIX_EDIT_SCALE 10
108#define RT_MATRIX_EDIT_SCALE_X 11
109#define RT_MATRIX_EDIT_SCALE_Y 12
110#define RT_MATRIX_EDIT_SCALE_Z 13
284#define ECMD_CLEAR_CLBKS 0
285#define ECMD_PRINT_STR 10
286#define ECMD_PRINT_RESULTS 20
287#define ECMD_EAXES_POS 30
288#define ECMD_REPLOT_EDITING_SOLID 40
289#define ECMD_VIEW_UPDATE 50
290#define ECMD_VIEW_SET_FLAG 60
291#define ECMD_MENU_SET 70
292#define ECMD_GET_FILENAME 80
Header file for the BRL-CAD common definitions.
int(* bu_clbk_t)(int, const char **, void *, void *)
fastf_t vect_t[ELEMENTS_PER_VECT]
3-tuple vector
double fastf_t
fastest 64-bit (or larger) floating point type
fastf_t mat_t[ELEMENTS_PER_MAT]
4x4 matrix
fastf_t point_t[ELEMENTS_PER_POINT]
3-tuple point
void rt_knob_edit_tran(struct rt_edit *s, char coords, int matrix_edit, vect_t tvec)
struct rt_edit_map * rt_edit_map_create(void)
void rt_edit_destroy(struct rt_edit *s)
int rt_edit_map_clear(struct rt_edit_map *m)
void rt_edit_set_edflag(struct rt_edit *s, int edflag)
struct rt_edit * rt_edit_create(struct db_full_path *dfp, struct db_i *dbip, struct bn_tol *, struct bview *v)
void rt_edit_process(struct rt_edit *s)
int rt_edit_map_clbk_set(struct rt_edit_map *em, int ed_cmd, int mode, bu_clbk_t f, void *d)
int rt_edit_map_copy(struct rt_edit_map *om, struct rt_edit_map *im)
int rt_edit_knob_cmd_process(struct rt_edit *s, vect_t *rvec, int *do_rot, vect_t *tvec, int *do_tran, int *do_sca, struct bview *v, const char *cmd, fastf_t f, char origin, int incr_flag, void *u_data)
void rt_knob_edit_sca(struct rt_edit *s, int matrix_edit)
int rt_edit_map_clbk_get(bu_clbk_t *f, void **d, struct rt_edit_map *em, int ed_cmd, int mode)
void rt_knob_edit_rot(struct rt_edit *s, char coords, char rotate_about, int matrix_edit, mat_t newrot)
void rt_edit_map_destroy(struct rt_edit_map *)
void rt_get_solid_keypoint(struct rt_edit *s, point_t *pt, const char **strp, fastf_t *mat)
const struct bn_tol * tol
struct rt_db_internal es_int
todo why todo should we be setting this for matrix and pscale values as well int edit_mode
struct bu_ptbl comb_insts
fundamental vector, matrix, quaternion math macros