1#!F-adobe-helvetica-medium-r-normal--18* 2#!N 3#!N #!Rclipbox 4ClipBox #!N #!N Category #!N #!N #!Lcatren,dxall760 h Rendering #!EL #!N #!N Function #!N 5#!N Prepares a specified object for clipping by a box. #!N 6#!N Syntax #!CForestGreen #!N #!N #!F-adobe-courier-bold-r-normal--18* #!F-adobe-times-bold-r-normal--18* #!N clipped #!EF = 7ClipBox( #!F-adobe-times-bold-r-normal--18* object, corners #!EF ); #!EF #!N #!N #!EC #!N 8#!N Inputs #!T,1,91,276,461,646 #!F-adobe-times-medium-r-normal--14* #!F-adobe-times-bold-r-normal--18* #!N TAB Name TAB Type TAB 9Default TAB Description #!EF #!N TAB object TAB object TAB none 10TAB object to be clipped #!N TAB corners TAB vector list 11or object TAB no clipping TAB corners specifying clipping box #!N 12TAB - TAB - TAB - TAB #!EF #!N #!N Outputs 13#!T,1,161,321,646 #!F-adobe-times-medium-r-normal--14* #!F-adobe-times-bold-r-normal--18* #!N TAB Name TAB Type TAB Description #!EF 14#!N TAB clipped TAB object TAB object marked for clipping #!N 15TAB - TAB - TAB #!EF #!N #!N Functional Details #!N 16#!N This module constructs an object so that it can be 17clipped by a box. Data Explorer renders only the portion of 18the object that lies in this clipping box, which is defined 19by #!F-adobe-times-bold-r-normal--18* corners #!EF (see below). #!N #!I0 #!N #!N #!I0 20#!N #!F-adobe-times-bold-r-normal--18* #!F-adobe-times-bold-r-normal--18* object #!EF #!EF #!I50 #!N is the object 21to be clipped. #!N #!I0 #!N #!F-adobe-times-bold-r-normal--18* #!F-adobe-times-bold-r-normal--18* corners #!EF #!EF 22#!I50 #!N defines the clipping box in one of two ways: 23#!N #!I0 #!N #!F-adobe-times-medium-r-normal--18* #!N #!N #!I30 #!N by specifying two 24of its corners with a vector list (of two vectors). The 25module interprets the two vectors as opposite corners of the clipping 26box. #!N #!I30 #!N by using the bounding box of the 27specified object (when #!F-adobe-times-bold-r-normal--18* corners #!EF itself specifies an object). #!N 28#!I0 #!N #!EF #!N #!I0 #!N #!N #!N #!N #!I0 #!N 29Notes: #!N #!I30 #!N 1. The specified object must be of 30a kind for which a bounding box can be constructed. Otherwise 31an error results. In general, bounding boxes can be constructed for 32all geometric objects, but not for objects such as captions. #!N 33#!I30 #!N 2. All translucent objects in the scene should be 34clipped by the same object. In addition, objects can be clipped 35by only one clipping box or one clipping plane. #!N #!I30 36#!N 3. The effect of ClipBox occurs during rendering, and its 37use does not affect the behavior of modules upstream from the 38renderer. For example, ShowBox will draw a box around the #!F-adobe-times-medium-i-normal--18* 39unclipped #!EF object. #!I0 #!N #!N #!N #!N Components #!N #!N 40All input components are propagated to the output. #!N #!N See 41Also #!N #!N #!Lclippla,dxall787 h ClipPlane #!EL #!N #!N #!N #!F-adobe-times-medium-i-normal--18* Next Topic #!EF 42#!N #!N #!Lclippla,dxall787 h ClipPlane #!EL #!N #!F-adobe-times-medium-i-normal--18* #!N 43