Moving handle in vtkSphereWidget2 does not update HandleDirection
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
When using a vtkSphereWidget2, users can move a handle about the surface of a sphere. The user is given two interface methods to query the state of the handle: GetHandlePosition() and GetHandleDirection(). However, GetHandleDirection() does not return an up-to-date values because the underlying attribute, vtkSphereWidget2::HandleDirection, does not get updated when the handle is manipulated by the user.
This can be fixed by replacing this line  in vtkSphereRepresentation.cxx with:
The above method appropriately updates both the handle's position and direction attributes.