display_modeller(display) Display display_modeller(display)
NAME
display_modeller - an abstract object that provides
instance variables and methods for its subclasses.
DESCRIPTION
Display_modeller is an abstract class that provides
instances variables and methods for its subclasses. Subclasses of display_modeller are modellers that convert
display_data into rendering primitives. This conversion
essentially involves the creation of the appropriate rendering primitives, and mapping scalar data (if available)
through the lookup_table object.
SUPERCLASS
modeller
INSTANCE VARIABLES
data_in
an input display_data object.
range
a (minimum,maximum) range used to map the scalar
data in the display_data through the lookup_table
object.
scalar_visibility
Boolean flag that controls whether scalar data colors the graphics objects, or whether the actors
color is used to color the object.
mask
A list of (0,1) values that indicate whether the
particular display_data geometric primitive is on
or off.
MESSAGES
data_in= object_name
Set the name of the inpout display_data object. Of
course, any object (such as a display_filter) that
responds to a "data?" message may be used.
data_in?
Get the name of the input display_data object.
range= (min,max)
The minimum/maximum value of range used to map the
scalar data through the lookup_table object. The
range does not have to correspond to the actual
range of the scalar data, other values can be used
to selectively color the object.
range? Get the current range value.
mask= (b1,b2,...,bn)
Mask the geometric entities by setting boolean
flags b1->bn. A nonzero value indicates that the
geometric entity is visible.
mask? Get the current mask.
EXAMPLE
Display modeller is not meant to be instantiated.
SEE ALSO
modeller, display_surface, display_lines, display_data,
display_filter, data_outline
Please send comments and suggestions toconsult@rpi.edu