DESCRIPTION: This module tests that the functions which are related to workstation transformation and viewing generate the specified error codes if they are executed in an incorrect condition. The error is handled by a user defined error handling subroutine. Also, this module tests the requirement that no side effects are generated. SEMANTIC REQUIREMENTS:#F 84 85
SR1. If functions <set view representation 3>, <set view representation> are called, and setting this view table entry would exceed the maximum number of entries allowed in the workstation view table, then error 150 is generated and the function is ignored.
#F 87 88
SR2. If functions <set workstation window 3>, <set workstation window> are called, and the specified workstation limits are invalid: XMIN>=XMAX, YMIN>=YMAX, ZMIN>=ZMAX, UMIN>=UMAX, or VMIN>=VMAX, then error 151 is generated and the function is ignored.
#F 89 90
SR3. If functions <set workstation viewport 3>, <set workstation viewport> are called, and the specified workstation viewport limits are invalid: XMIN>=XMAX, YMIN>=YMAX, or ZMIN>=ZMAX, then error 152 is generated and the function is ignored.
#F 84 85
SR4. If function <set view representation 3>, <set view representation> are called, and the specified view clipping limits are invalid: XMIN>=XMAX, YMIN>=YMAX, or ZMIN>=ZMAX, then error 153 is generated and the function is ignored.
#F 84 85
SR5. If functions <set view representation 3>, <set view representation> are called, and the specified view clipping limits are not within NPC range, then error 154 is generated and the function is ignored.
#F 87 88
SR6. If functions <set workstation window 3>, <set workstation window> are called, and the specified workstation window limits are not within NPC range, then error 156 is generated and the function is ignored.
#F 89 90
SR7. If functions <set workstation viewport 3>, <set workstation viewport> are called, and the specified workstation viewport limits are not within display space, then error 157 is generated and the function is ignored.
LOCAL DICTIONARY:
Functions --- 084: psvwr3 <set view representation 3> 085: psvwr <set view representation> 087: pswkw3 <set workstation window 3> 088: pswkw <set workstation window> 089: pswkv3 <set workstation viewport 3> 090: pswkv <set workstation viewport> Data Structures --- 5 ... workstation_state_list 5.4 ... view_table 5.4.1 ... number_of_view_table_entries 5.4.2 ... view_table_ordered_by_input_priority 5.4.2.3 ... current_view 5.4.2.3.3 ... current_view_clipping_limits 5.4.2.4 ... requested_view 5.4.2.4.3 ... requested_view_clipping_limits 5.6 ... workstation_transformation_entry 5.6.2 ... requested_workstation_window 5.6.3 ... current_workstation_window 5.6.4 ... requested_workstation_viewport 5.6.5 ... current_workstation_viewport 6 ... workstation_description_table 6.4 ... maximum_display_space_size 6.21 ... maximum_table_lengths 6.21.8 ... maximum_number_of_view_table_indices 8 ... phigs_error_state_list 8.1 ... error_state
You may inspect either the design or code for this program.
You may inspect either the design or code for this program.
You may inspect either the design or code for this program.
You may inspect either the design or code for this program.
You may inspect either the design or code for this program.
You may inspect either the design or code for this program.
You may inspect either the design or code for this program.