vtkTransformInterpolator SetInterpolationType bug
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
When setting the interpolation type to INTERPOLATION_TYPE_LINEAR the vtkTransformInterpolator class is not interpolating anymore.
This problem is because in the InitializeInterpolation() method the number of components for PositionInterpolator and ScaleInterpolator is set before setting the interpolation type.
When constructed with the default interpolation type (INTERPOLATION_TYPE_LINEAR) this does not happen because when setting the interpolation type of the 3 interpolators (vtkTransformInterpolator: lines 330-333) it is not changed because of the verifications inside the set methods of the objects (example vtkTupleInterpolator: line 188).
When setting a different interpolation type the number of components to be interpolated is reset to 0. After setting the number of components the interpolation type does not change.