Module #09.01.04.01 : Transformation and viewing errors handled by user

All PVT documentation can be found under PHIGS Validation Tests - Overview. You may also return to the hierarchical table of topics covered by the PVT. For an explanation of the format of the individual module documentation, please see section 2.5 of the User's Guide.


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:


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 84 85
#D 5.4.1 6.21.8 8.1
#S 4.12/109/6
#T P01/1 P01/2 P01/3

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 87 88
#D 5.6.2 5.6.3 8.1
#S 4.12/109/6
#T P02/1 P02/2 P02/3 P02/4 P02/5 P02/6 P02/7 P02/8 P02/9

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 89 90
#D 5.6.4 5.6.5 8.1
#S 4.12/109/6
#T P03/1 P03/2 P03/3 P03/4 P03/5 P03/6 P03/7 P03/8 P03/9

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
#D 5.4.2.3.3 5.4.2.4.3 8.1
#S 4.12/109/6
#T P04/1 P04/2 P04/3 P04/4 P04/5 P04/6 P04/7 P04/8 P04/9

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 84 85
#D 5.4.2.3.3 5.4.2.4.3 8.1
#S 4.12/109/6
#T P05/1 P05/2 P05/3 P05/4 P05/5 P05/6 P05/7 P05/8

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 87 88
#D 5.6.2 5.6.3 8.1
#S 4.12/109/6
#T P06/1 P06/2 P06/3 P06/4 P06/5 P06/6 P06/7 P06/8

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.
#F 89 90
#D 5.6.4 5.6.5 6.4 8.1
#S 4.12/109/6
#T P07/1 P07/2 P07/3 P07/4 P07/5 P07/6 P07/7 P07/8
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
 



PROGRAM 1: Error 150 handled by user

You may inspect either the design or code for this program.


PROGRAM 2: Error 151 handled by user

You may inspect either the design or code for this program.


PROGRAM 3: Error 152 handled by user

You may inspect either the design or code for this program.


PROGRAM 4: Error 153 handled by user

You may inspect either the design or code for this program.


PROGRAM 5: Error 154 handled by user

You may inspect either the design or code for this program.


PROGRAM 6: Error 156 handled by user

You may inspect either the design or code for this program.


PROGRAM 7: Error 157 handled by user

You may inspect either the design or code for this program.

End of documentation for 09.01.04.01