decimate(display) Filter decimate(display)
NAME
outline_filter - create a wireframe box surrounding input
display data
DESCRIPTION
Outline_filter is a filter that creates a wireframe box
(outline) around its input data. Outline_filter takes as
input a display_data object (either filter or data object)
and creates as output a display_data object. Outline_filter differs from the data_outline object that creates an outline around its input data_set.
SUPERCLASS
display_filter
INSTANCE VARIABLES
MESSAGES
generate_data!
causes outline_filter to process its input and generate an output display_data.
EXAMPLE
/*
* Script creates display data and draws outline around it.
*/
/*
* Create display data and filter network
*/
display_data new: dd
points=(-.5,-.5,-.5,.5,.5,.5,1,1,1)
lines=(3,1,2,3)
scalars=(.5,1,2)
vectors=(1,0,0,0,1,0,0,0,1)
;
outline_filter new: of
data_in= dd
;
display_all new: da
data_in= of
range=(0,2)
;
actor new: an_actor
modeller=da
;
/*
* Draw the picture
*/
renderer new: main_renderer
actors= [actor instances?]
render!
;
SEE ALSO
display_filter, display_data, data_outline
Please send comments and suggestions toconsult@rpi.edu