next up previous
Next: Drawing IVL Objects Up: The IVL Language Previous: Creating New IVL

Creating New IVL Objects

Graphical objects are instanced by assigning a new identifier to a class name. For example,

a = Cone; b = AsciiText

where the `;' is required only if two commands are to be specified on the same line.

Objects of user-defined classes are actually references to a single scene graph read locally from a file or over the net from a URL. These graphs could be very large such as a high resolution model of a building or a city block.

The AsciiText class requires that you assign its string attribute to the actual text you want to display.

b.string = "something to say"

Timothy F. Rohaly
Terence J. Parr
Mon Sep 11 11:59:26 EDT 1995