Bad title. You want to make people understand what this example is about without knowing the API.

Here is an idea:

Find intersections of ROIs with streamlines and calculate  connectivity matrices.