UF_DRF_begin_line_fn_t (查看源代码)
 
定义在: uf_drf_types.h
 
概述
Callbacks for UF_DRF_render_text. Default set is used for other functions.

Each return either UF_DRF_RENDER_OK or
UF_DRF_RENDER_CANNOT_RENDER_CHAR (UF_DRF_draw_char_fn_t only) or
UF_DRF_RENDER_CANNOT_RENDER_SYMBOL (UF_DRF_draw_user_symbol_fn_t only).

If a cannot render or not drawn status is returned for a user symbol or an
individual character, the resultant object will be stroked.

Lines are output as polyline segments bracketed by calls to
the begin and end line functions.

 
UF_DRF_render_text_status_t UF_DRF_begin_line_fn_t
(
void * client
)
void *clientInput(输入)client data

 


 
UF_DRF_draw_arc_fn_t (查看源代码)
 
定义在: uf_drf_types.h
 

 
UF_DRF_render_text_status_t UF_DRF_draw_arc_fn_t
(
double center [ 3 ] ,
double radius,
double start_param,
double end_param,
void * client
)
double (实数型)center [ 3 ] Input(输入)center point in coord system of annotation
double (实数型)radiusInput(输入)radius of arc
double (实数型)start_paramInput(输入)start angle in radians
double (实数型)end_paramInput(输入)end angle in radians
void *clientInput(输入)client data

 


 
UF_DRF_draw_char_fn_t (查看源代码)
 
定义在: uf_drf_types.h
 

 
UF_DRF_render_text_status_t UF_DRF_draw_char_fn_t
(
double origin [ 3 ] ,
unsigned char character,
void * client
)
double (实数型)origin [ 3 ] Input(输入)text_origin coord system of annotation
unsigned charcharacterInput(输入)character (possibly multi-byte)to be drawn
void *clientInput(输入)client data

 


 
UF_DRF_draw_to_position_fn_t (查看源代码)
 
定义在: uf_drf_types.h
 

 
UF_DRF_render_text_status_t UF_DRF_draw_to_position_fn_t
(
double in_point [ 3 ] ,
double last_out_point [ 3 ] ,
logical last_status,
void * client,
double out_point [ 3 ] ,
logical * out_status
)
double (实数型)in_point [ 3 ] Input(输入)3d point in coord system of annotation
double (实数型)last_out_point [ 3 ] Input(输入)last output point from set_to_position
or draw_to_position
logicallast_statusInput(输入)last status from set_to_position
or draw_to_position
void *clientInput(输入)client data
double (实数型)out_point [ 3 ] Output(输出)internally used
logical *out_statusOutput(输出)used by draw_to_position

 


 
UF_DRF_draw_user_symbol_fn_t (查看源代码)
 
定义在: uf_drf_types.h
 

 
UF_DRF_render_text_status_t UF_DRF_draw_user_symbol_fn_t
(
char * symbol_name,
double origin [ 3 ] ,
void * symbol_params,
void * client
)
char * (字符型指针)symbol_nameInput(输入)name of user defined symbol to render
double (实数型)origin [ 3 ] Input(输入)
void *symbol_paramsInput(输入)
void *clientInput(输入)client data

 


 
UF_DRF_end_line_fn_t (查看源代码)
 
定义在: uf_drf_types.h
 

 
UF_DRF_render_text_status_t UF_DRF_end_line_fn_t
(
void * client
)
void *clientInput(输入)client data

 


 
UF_DRF_fill_region_fn_t (查看源代码)
 
定义在: uf_drf_types.h
 

 
UF_DRF_render_text_status_t UF_DRF_fill_region_fn_t
(
int num_points,
double * points,
double fill_dist,
double last_pt [ 3 ] ,
logical * was_drawn,
void * client
)
int (整数型)num_pointsInput(输入)number of points in region
double * (实数型指针)pointsInput(输入)array of 3d points
double (实数型)fill_distInput(输入)fill distance
double (实数型)last_pt [ 3 ] Output(输出)last on screen point
logical *was_drawnOutput(输出)return TRUE if anything drawn
void *clientInput(输入)client data

 


 
UF_DRF_pop_orientation_fn_t (查看源代码)
 
定义在: uf_drf_types.h
 

 
UF_DRF_render_text_status_t UF_DRF_pop_orientation_fn_t
(
void * client
)
void *clientInput(输入)client data

 


 
UF_DRF_push_orientation_fn_t (查看源代码)
 
定义在: uf_drf_types.h
 

 
UF_DRF_render_text_status_t UF_DRF_push_orientation_fn_t
(
double matrix [ 9 ] ,
void * client
)
double (实数型)matrix [ 9 ] Input(输入)orientation matrix
void *clientInput(输入)client data

 


 
UF_DRF_set_cfw_fn_t (查看源代码)
 
定义在: uf_drf_types.h
 

 
UF_DRF_render_text_status_t UF_DRF_set_cfw_fn_t
(
UF_DRF_cfw_p_t cfw,
void * client
)
UF_DRF_cfw_p_tcfwInput(输入)new color, line font and line width
void *clientInput(输入)client data

 


 
UF_DRF_set_to_position_fn_t (查看源代码)
 
定义在: uf_drf_types.h
 

 
UF_DRF_render_text_status_t UF_DRF_set_to_position_fn_t
(
double in_point [ 3 ] ,
void * client,
double out_point [ 3 ] ,
logical * out_status
)
double (实数型)in_point [ 3 ] Input(输入)3d point in coord system of annotation
void *clientInput(输入)client data
double (实数型)out_point [ 3 ] Output(输出)internally used
logical *out_statusOutput(输出)used by draw_to_position