UF_DISP_system_params_s (view source)
 
Defined in: uf_disp_types.h
 
Also known as:
 
Overview
System display parameters.

Structure fields show_shaded_face_edges, use_face_edges_color,
face_edges_color, and hidden_shaded_face_edges are now represented
by view options. See
UF_VIEW_ask_shaded_edge_options
and
UF_VIEW_set_shaded_edge_options
.


Data Members

tolerance
double
Curve and surface tolerance

dash_size
double
Dash size if font = 1

space_size
double
Space size if font = 1

symbol_size
double
symbol size in line font

facet_edge_tol
double
This is the facet edge tolerance for
shaded display. This is an upper
bound on the distance from each
chord to the curve it is approximating
The recommend value is .005. Smaller
values result in finer display but
causes degraded performance. A
value of .01 would give a coarse
display, .0005 would give an extra
fine display.
Refer to the tolerance mapping table

facet_chord_tol
double
This is the facet chord distance
for shaded display. This is an upper
bound on the distance from a
positions on a facet to the surface.
The recommended value is .005. A
smaller value results in a finer
display but causes degraded
performance. A value of .01 would
give a coarse display, .0025 would
give a fine display, .001 an extra
fine display and .0005 an ultra
fine display.
Refer to the tolerance mapping table

facet_angle_tol
double
This is the facet angle tolerance
for shaded display. This is an
upper bound on the angular
deviation between the surface normals
at any two positions under the facet.
The recommended value is 15 degrees.
A smaller value results in a finer
display, but causes slower
performance. A coarse display would
use a tolerance of 0.0, 15.0 gives
the standard angle, a value of 6.0
would give an extra fine display,
and a value of 3.0 an ultra fine
display.
Refer to the tolerance mapping table

color
int
system display color

preselection_color
int
Preselection color. Note that this is the general
preselection color, and should not be confused with
the one use for monochrome drawings (see
UF_DISP_ask_drawing_display().

handle_color
int
Handle color

font
int
system font mode
1 = software line fonts
2 = hardware line fonts

view_display
int
view names and borders display
1 = ON, 2 = OFF

line_width_display
int
line width display mode
1 = yes, 2 = no

show_shaded_face_edges
logical
Specifies whether or not edges are
displayed for shaded and analysis
faces of solid and sheet bodies. If
TRUE, shaded face edges are displayed
as specified by the use_face_edges_-
color field and the face_edges_color
field. If FALSE, shaded face edges
are not displayed.

use_face_edges_color
logical
Significant only if the show_shaded_-
face_edges field is TRUE. If TRUE,
shaded face edges are displayed in
the color specified by the face_-
edges_color field. If FALSE, face
edges are displayed in the body
color.

face_edges_color
int
Significant only if both the show_-
shaded_face_edges field and the
use_face_edges_color field are TRUE.
Specifies the non-negative index of
the color used to display shaded
face edges.

hidden_shaded_face_edges
int
Controls the appearance of hidden
edges for shaded and analysis faces
of solid and sheet bodies. If set to
UF_DISP_INVISIBLE_HIDDEN_FACE_EDGES,
hidden shaded face edges are not
displayed. If set to UF_DISP_DASHED_-
HIDDEN_FACE_EDGES, hidden shaded face
edges are displayed like visible
shaded face edges but with dashed
line font. If set to a non-negative
color index, hidden shaded face edges
are displayed in this color, and the
color is also used to display other
hidden geometry where the geometry
shows through shaded or analysis
geometry.

hidden_geometry_color
int
Significant only if the hidden_-
shaded_face_edges field is not set
to a color index. Specifies the non-
negative index of the color used to
display hidden geometry where the
geometry shows through shaded or
analysis geometry.

random_color_displayed
logical
Are random colors displayed for the
part? If TRUE, random colors are
displayed on the random color object
type in the displayed part. If
FALSE, normal object colors are used.

random_color_object_type
int
Set to the type of objects on which
random colors will be displayed.
Valid values are found in
UF_DISP_random_color_object_e