UF_VIEW_visualization_s (view source)
 
Defined in: uf_view.h
 
Also known as:
 
Overview
These fields correspond to the options on the view visualization dialog.
The values are string defined constants that are found in the uf_view.h and
uf_obj.h header files


Data Members

display_mode
int
Display mode for the view.
The following constants are valid :
UF_VIEW_NOT_SHADED,
UF_VIEW_PARTIALLY_SHADED,
UF_VIEW_FULLY_SHADED and
UF_VIEW_ANALYSIS_SHADED

hidden_edge_mode
int
Hidden edge style for the view
The following constants are valid :
UF_VIEW_HIDDEN_EDGES_SOLID,
UF_VIEW_HIDDEN_EDGES_INVIS,
UF_VIEW_HIDDEN_EDGES_DASHED,
UF_VIEW_HIDDEN_SURFACE and
UF_VIEW_HIDDEN_EDGES_GRAY_THIN

silhouette_mode
int
Silhouettes flag (on or off) in the view
The following constants are valid :
UF_VIEW_SILHOUETTES_ON and
UF_VIEW_SILHOUETTES_OFF

smooth_edges_mode
UF_VIEW_smooth_edges_t
Smooth edges flag (on or off) in the view
The following constants are valid :
UF_VIEW_SMOOTH_EDGES_ON and
UF_VIEW_SMOOTH_EDGES_OFF

smooth_edge_color
int
Smooth edges color in the view
The following values are valid :
UF_OBJ_COLOR_ORIGINAL,
[ 1 - 216 ]

smooth_edge_font
int
Smooth edges font in the view
The following constants are valid :
UF_OBJ_FONT_ORIGINAL,
UF_OBJ_FONT_SOLID,
UF_OBJ_FONT_DASHED,
UF_OBJ_FONT_PHANTOM,
UF_OBJ_FONT_CENTERLINE,
UF_OBJ_FONT_DOTTED,
UF_OBJ_FONT_LONG_DASHED and
UF_OBJ_FONT_DOTTED_DASHED

smooth_edge_width
int
Smooth edges width in the view
The following constants are valid :
UF_OBJ_WIDTH_ORIGINAL,
UF_OBJ_WIDTH_THIN,
UF_OBJ_WIDTH_NORMAL and
UF_OBJ_WIDTH_THICK

smooth_edge_angle_tolerance
double
Smooth edge angle tolerance in the view.
The angle is specified in degrees.
It has a range from 0.00001 to 30.0.

fog_mode
int
Fog mode in view
The following constants are valid :
UF_VIEW_FOG_OFF,
UF_VIEW_FOG_LINEAR,
UF_VIEW_FOG_LIGHT and
UF_VIEW_FOG_HEAVY

fog_color [ 3 ]
double
Fog color
[0] = red,
[1] = green,
[2] = blue

Each color has a range from 0.0 to 1.0.

fog_front
double
Front fog plane has a range from 0 to 100
and is only valid for
fog_mode = UF_VIEW_FOG_LINEAR

fog_back
double
Back fog plane has a range from 0 to 100
and is only valid for
fog_mode = UF_VIEW_FOG_LINEAR.

fog_rate
double
The fog density which has a range from 0
to 100. This setting is only valid when
the fog_mode is set to
UF_VIEW_FOG_LIGHT or UF_VIEW_FOG_HEAVY.