a renderable object that contains data plus attributes
macro AltObject {
group &in {
GDxform_templ &xform;
method render;
};
DefaultProps+OPort Props;
DefaultModes+OPort Modes {
mode = { GD_NO_POINTS, GD_NO_LINES, GD_NO_SURF,
GD_NO_VOLUME, GD_BOUNDS };
};
DefaultObject+OPort Obj {
input => in;
props => Props;
modes => Modes;
};
olink obj => Obj;
};
AltObject is a renderable object that contains the data to be rendered and other subobjects that contain the attributes that control how the data is rendered.
This object is connected to the GD objects's alternate object input port. It controls the properties and modes that are used to render the alternate object when it is enabled. AltObject is included in the DataObject macro.
DefaultProps to control color, material, line attributes, and geometrical attributes.
DefaultModes to control point, line, surface, volume, and bounds rendering modes.
DefaultObject to control visibility, pickability, caching, transform mode, surface conversion, and image display attributes.
See DataObject .