UF_UI_cb_proc (查看源代码)
定义在: uf_ui_types.h
void UF_UI_cb_proc
(
void
)
UF_UI_change_state_fn_t (查看源代码)
定义在: uf_ui_types.h
int UF_UI_change_state_fn_t
(
int new_state
)
int (整数型) | new_state | Input(输入) | |
UF_UI_create_part_err_f_t (查看源代码)
定义在: uf_ui_types.h
概述
logical (UF_UI_create_part_err_f_t)
返回
TRUE - Redisplay the File-New dialog (i.e. keep trying to create a
part)
FALSE - Exit the File-New dialog (i.e. exit UF_UI_create_part)
logical UF_UI_create_part_err_f_t
(
UF_UI_err_data_p_t error_fn_data,
char * file_name,
int error,
logical * skip_error_disp
)
UF_UI_err_data_p_t | error_fn_data | Input(输入) | User data |
char * (字符型指针) | file_name | Input(输入) | File name specified in the File-New dialog |
int (整数型) | error | Input(输入) | Error code associated with file_name |
logical * | skip_error_disp | Output(输出) | Display standard File-New dialog error i message indicator TRUE - Allow File-New to display the error message it would normally display FALSE - Do not allow File-New to display the message it would normally display |
UF_UI_motion_fn_t (查看源代码)
定义在: uf_ui_types.h
void UF_UI_motion_fn_t
(
double screen_pos [ 3 ] ,
UF_UI_motion_cb_data_p_t motion_cb_data,
void * data
)
double (实数型) | screen_pos [ 3 ] | Input(输入) | The current screen position in Work Part Absolute Coordinates; This is the crosshair position projected "through the screen" onto the XY plane of the WCS; if Grid Snap is on, this is the "snapped" position. |
UF_UI_motion_cb_data_p_t | motion_cb_data | Input(输入) | Ptr to a UF_UI_motion_cb_data_t structure. |
void * | data | Input(输入) | The client data, provided with the callback. |
UF_UI_open_part_err_f_t (查看源代码)
定义在: uf_ui_types.h
概述
logical (UF_UI_open_part_err_f_t)
返回
TRUE - Redisplay the File-Open dialog (i.e. keep trying to open a
part)
FALSE - Exit the File-Open dialog (i.e. exit UF_UI_open_part)
logical UF_UI_open_part_err_f_t
(
UF_UI_err_data_p_t error_fn_data,
char * file_name,
int error,
UF_PART_load_status_t * error_status,
logical * skip_error_disp
)
UF_UI_err_data_p_t | error_fn_data | Input(输入) | User data |
char * (字符型指针) | file_name | Input(输入) | File name specified in the File-Open dialog |
int (整数型) | error | Input(输入) | Error code associated with file_name |
UF_PART_load_status_t * | error_status | Input(输入) | Structure filled with names and associated error codes of any parts that did not load properly. NOTE: The allocated arrays must be freed. |
logical * | skip_error_disp | Output(输出) | Display standard File-Open dialog error message indicator TRUE - Allow File-Open to display the error it would normally display FALSE - Do not allow File-Open to display the error message it would normally display |
UF_UI_sel_cb_fn_t (查看源代码)
定义在: uf_ui_types.h
概述
typedef for application selection callback.
This procedure and optional user data is specified by calling
UF_UI_set_set_procs.
It is an optional procedure which the user can provide to perform
application specific processing for each selection.
This can be used with UF_UI_select_with_single_dialog,
UF_UI_select_with_class_dialog and
dialogs created with the UI Styler
int UF_UI_sel_cb_fn_t
(
int num_selected,
tag_p_t selected_objects,
int num_deselected,
tag_p_t deselected_objects,
void * user_data,
UF_UI_selection_p_t select_
)
int (整数型) | num_selected | Input(输入) | number of objects just selected |
tag_p_t | selected_objects | Input(输入) | array of selected objects |
int (整数型) | num_deselected | Input(输入) | number of objects just deselected |
tag_p_t | deselected_objects | Input(输入) | array of deselected objects |
void * | user_data | Input(输入) | ptr to user's data |
UF_UI_selection_p_t | select_ | Input(输入) | ptr to selection |
UF_UI_sel_filter_fn_t (查看源代码)
定义在: uf_ui_types.h
概述
typedef for application selection filter procedure.
This procedure and optional user data is specified by calling
UF_UI_set_sel_procs.
It is an optional procedure which the user can provide to perform
application specific filtering when selecting objects.
It can be used with UF_UI_select_with_single_dialog,
UF_UI_select_with_class_dialog and
dialogs created with the UI Styler.
int UF_UI_sel_filter_fn_t
(
tag_t object,
int type [ 3 ] ,
void * user_data,
UF_UI_selection_p_t select_
)
tag_t (tag_t类型) | object | Input(输入) | candidate object |
int (整数型) | type [ 3 ] | Input(输入) | object type, object subtype, solid type |
void * | user_data | Input(输入) | ptr to user's data |
UF_UI_selection_p_t | select_ | Input(输入) | ptr to selection |
UF_UI_sel_init_fn_t (查看源代码)
定义在: uf_ui_types.h
概述
typedef for selection initialization procedure.
This is an argument to UF_UI_select_with_class_dialog and
UF_UI_select_with_single_dialog. It is an optional procedure
which the user can provide to customize his selection
int UF_UI_sel_init_fn_t
(
UF_UI_selection_p_t select_,
void * user_data
)