The transformation and clipping subroutines found in this section fall into three general categories: modeling clipping, modeling transformations and workstation transformations.
Modeling Clipping
The modeling clipping subroutines create modeling clipping structure elements, which modify the current modeling clipping values that the graPHIGS API applies to primitives during traversal.
Modeling Transformations
The modeling transformation subroutines create transformation structure elements, which modify the current transformation values that the graPHIGS API applies to primitives during traversal.
When the graPHIGS API inserts a structure element into an open structure following the element pointer, the pointer moves to the new element.
Workstation Transformations
The workstation transformation subroutines allow the application to modify the mapping of Normalized Projection Coordinates (NPC) into Device Coordinates (DC) for a specified workstation.
Purpose
Use Restore Modeling Clipping Volume to insert a Restore Modeling Clipping Volume structure element into the open structure following the element pointer, or to replace the element pointed at by the element pointer with a Restore Modeling Clipping Volume structure element, depending on the current edit mode.
During traversal, the Restore Modeling Clipping Volume structure element restores the current modeling clipping volume in the graPHIGS API traversal state list to the volume inherited by the structure. At structure traversal time, the graPHIGS API uses this volume to render all subsequent primitives.
Language Bindings
prestore_model_clip_vol(); |
PRMCV |
Errors
Related Subroutines