Group And Apply | |
---|---|
This example contains code which shows how to perform some of the most common tasks when writing a custom Dynamics operator. It takes each input object and attaches some data to it. It also puts each object into a group. | |
DOP_GroupAndApply.C DOP_GroupAndApply.h |
Creates a Dynamics operator which accepts one object stream as input and any number of data inputs. For each object it evaluates a parameter that specifies which data input should be attached to the object. It also puts each object into a group based on the same requested data index. |
The script will compile the sample source code. By default, everything is installed in your home directory.