BUG: #3090 Support painting on transformed volumes

Take into account any parent (linear) transforms applied to the
volume when doing painting.  Unify some logic between paint
and other label effects.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21974 3bd1e089-480b-0410-8dfb-8563597acbee