马上注册登录,享用更多网站功能!
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
各位前辈在看函数时 要如何知道所要截取的部份在哪?
如 uf_ui.h ...后悔英文底子没打好! 所以用翻译软件辅助!
但是翻出来!2266---
因为里都是包含说明及很多函数!
要如何截取呢? (物体依3点对其3点作定位)
-------------------------------------------------------
****************************************************************************/
extern UGOPENINTEXPORT int UF_UI_specify_screen_position(
char * message ,/* <I>
Cue line message (132 Character
maximum), or NULL
*/
UF_UI_motion_fn_t motion_cb ,/* <I>
Motion callback function, or NULL
*/
void * motion_cb_data ,/* <I>
Client data pointer, or NULL; will be
passed to motion_cb
*/
double screen_pos[3] ,/* <O>
The screen position in Work Part
Absolute Coords, projected "through
the screen" onto the WCS XY plane.
This is given in Work Part Absolute Coordinates.
This is only returned if the response
returned is UF_UI_PICK_RESPONSE.
*/
tag_t * view_tag ,/* <O>
Tag of the view in which the screen
position was indicated. This is only
returned if the response returned
is UF_UI_PICK_RESPONSE.
*/
int * response /* <O>
One of the following:
UF_UI_PICK_RESPONSE
UF_UI_BACK
UF_UI_CANCEL
*/
);
/*****************************************************************************
This function is to be obsoleted in the near future. Please
use the replacement routine UF_UI_select_with_single_dialog .
Selects a single object. The view parameter is a pointer view
sequence. This tag provides the view from which the object was
selected.
Environment: Internal
See Also:
UF_UI_selection_options_t
History:
*****************************************************************************/
extern UGOPENINTEXPORT int UF_UI_select_single(
char * message ,/* <I>
Cue line message to display.
*/
UF_UI_selection_options_p_t opts ,/* <I>
Selection options. See the Data structures
section of this chapter.
*/
int * response ,/* <O>
response:
1 = Back
2 = Cancel
4 = Object selected by name
5 = Object selected
*/
tag_p_t object ,/* <O>
Object identifier of selected object
*/
double cursor[3] ,/* <O>
Cursor position. This is undefined if response is 4
(object selected by name).
*/
tag_p_t view /* <O>
View of selection. This is NULL_TAG if response is
4 (object selected by name).
*/
);
/*****************************************************************************
NOTE: This function is to be obsoleted in the near future. Please use
the replacement function UF_UI_select_with_class_dialog
Selects multiple objects.
Environment: Internal
See Also:
UF_UI_selection_options_t
History:
*****************************************************************************/
extern UGOPENINTEXPORT int UF_UI_select_by_class(
char * message ,/* <I>
Cue line message to display.
*/
UF_UI_selection_options_p_t opts ,/* <I>
Selection options.
*/
int * response ,/* <O>
response:
1 = Back
2 = Cancel
3 = OK
*/
int * count ,/* <O>
Count of objects:
0 = No object selected
*/
tag_p_t * object /* <OF,len:count>
Object identifiers of selected objects. NULL if no
object selected. Use UF_free to deallocate memory.
*/
);
/***************************************************************************** |