All public instance variables are inherited from its superclasses. In particular the scalar_visibility instance variable is used to control whether the scalar data colors the output primitives (if scalar data is present in the input display_data), and the range instance variable controls the mapping of the scalar data through the lookup table.
Masks may also be used to specify which polygons are visible. The mask is a list of zero/non-zero values corresponding to the polygons in display_data. A non-zero mask value indicates that a polygon should be drawn, a value of zero indicates that the polygon should not be drawn. By default, all polygons are drawn.
/* * Create a display data object */ display_data new: dd points=( 0,0,0, 1,0,0, 1,1,0, 0,1,0 ) scalars=( 10.2,12,31.3,24.5 ) polygons=( 4,1,2,3,4
) ;
display_polygons new: dp data_in=dd range=([dd range?]) ;
actor new: anactor modeller=dp ;
environment new: _env variable="LYMB_RENDERER" ; renderer new: [_env value?] actors=[actor instances?] render! ;