a renderable object that contains only attributes
macro GroupObject {
imlink child_objs;
DefaultDatamap Datamap;
DefaultProps+OPort Props {
inherit = 0;
};
DefaultModes+OPort Modes;
DefaultPickInfo+OPort PickInfo;
DefaultObject+OPort Top{
objects => child_objs;
dmap => Datamap;
props => Props;
modes => Modes;
xform => in.xform;
pick_info => PickInfo;
};
olink obj => Top;
};
GroupObject is a renderable object that contains other subobjects that have the attributes that control how the rendering is done. Unlike DataObject, GroupObject does not include data. Instead, it is meant to be a node in the rendering hierarchy that groups other DataObjects together and supplies common attributes from them.
This object is connected directly to one of the Graphics Display Kit viewers (for example, SimpleViewer3D) or to another DataObject or to GroupObject. A GroupObject is included in all the standard viewers in the Graphics Display Kit.
GroupObject combines the following:
DefaultDatamap to convert scalar node or cell data to RGB color values. By default, the datamap's minimum and maximum values are 0 and 255, respectively. This datamap is inherited by any children objects if they do not have their own datamaps.
DefaultProps to control color, material, line attribute, and geometrical attributes.
DefaultModes to control point, line, surface, volume, and bounds rendering modes.
DefaultPickInfo to contain information when this object is picked.
DefaultObject to control visibility, pickability, caching, transform mode, surface conversion, and image display attributes.
Optionally one or more objects to be children of this object. Multilevel object hierarchies can be built in this manner.
The renderable object that can be connected directly to a Graphics Display Kit viewer.
Any of the following viewers in Libraries.Main.Viewers: SimpleViewer3D, Viewer3D, SimpleViewer2D, Viewer2D, SimpleViewer and Viewer.