ILNumerics - Technical Computing Tools

High Performance Framework for Visualization

and Computing in Industry and Science

 

tgt

Group Nodes

Group nodes are inner tree nodes in ILNumerics scene graphs. Group nodes are the only nodes that have children. Therefore, the root node for every subtree in the scene is a group node. Also, the parent of any node is a group node.

Group nodes provide flexible options for the access and the management of nodes in its subtree. They serve as convenient base class for most composite visual objects; custom objects should derive from Group.

Several properties of Group can be used to override corresponding settings for all objects within the subtree the group contains. Whole scene parts can be set transparent or invisible, the color can be changed and the whole subscene can be moved, translated, scaled or duplicated.

Group nodes support animations. But this feature lacks documentation and its API is not fixed yet.

This section contains the following topics:

Simple Group Example

The following example shows a predefined surface plot which is enhanced by a transparent rectangle cutting through the surface. The example demonstrates how any visible objects in ILNumerics Visualization Engine can be combined into the same scene arbitrarily. You may decide to add a 2D plot showing the data at the cutting plane. And one may adds interactivity and enabled the user to move the plane with the mouse and to update the 2D plot data dynamically.