idraw_reader(model) Modellers idraw_reader(model)
NAME
idraw_reader - generate models from IDRAW Postscript files
DESCRIPTION
The idraw_reader class interprets a subset of the information in an IDRAW PostScript file and generates a model
contained in a display_data object. Polygons, polylines,
ellipses, rectangles, open and closed bezier splines, and
grouped objects are understood. Note that the idraw_reader
object understands tokens inserted in a PostScript file
generated by IDRAW. It does not interpret PostScript. This
class obsoletes the idraw_modeller and idraw_data classes.
SUPERCLASS
new_modeller
INSTANCE VARIABLES
filename
is the name of the IDRAW PostScript file to interpret.
MESSAGES
read! reads the named file and builds a display_data
object.
EXAMPLE
idraw_modeller new: "friend_plane_data"
filename= "plane.idraw" ;
display_all new: "friend_s_plane"
data_in=friend_plane_data ;
actor new: plane
modeller=friend_s_plane ;
renderer new: ren
actors=[actor instances?]
render! ;
SEE ALSO
idraw_modeller, idraw_data
Please send comments and suggestions toconsult@rpi.edu