<<<<<<<<<<<<<<<<<

vogle_modeller(vogle) Vogle vogle_modeller(vogle)

NAME

vogle_modeller - abstract class for geometric rendering primitive classes in VOGLE

DESCRIPTION

The vogle_modeller class is an abstract class for VOGLE rendering primitive objects (vogle_points, vogle_lines, vogle_polygon, etc.). It provides methods for primitive initialization and rendering such as initializing the object's color.

SUPERCLASS

object

INSTANCE VARIABLES

property The name of the property object defining the appearance of the geometry.

build_time The time the primitive last received new data (via an open!).

MESSAGES

property[=?] Set/get the name of the property object.

build_time[=?] Set/get the value of build_time.

update_build_time! Set the objects build_time variable to the present time.

open! Send new data to rendering primitive. Prints warning - should be implemented by subclass.

primitive! Sends initialize! to itself and then renders geometry (through vogle callobj() function).

load: A convenience message to perform an open! followed by primitive!.

initialize! Set the object's color specified in the property instance variable. Since VOGLE only allows for 8 colors, this routine maps the specified RGB triplet to the table index with the closest color. Any geometry rendered after this message will inherit this color. This message is always sent by the primitive method before the geometry is rendered.

mtime? Overrides inherited method to get modified time by

returning maximum of its own modified time and its property's modified time.

SEE ALSO

renderer, vogle, property, vogle_points, vogle_lines, vogle_polygon, vogle_indexed_polygon, vogle_tmesh


Please send comments and suggestions to
consult@rpi.edu