Change API to tool to require caller to create SegmentString etc.
Separate AlternateColorPaintingQGPI