View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006237VTK(No Category)public2008-01-12 16:372016-08-12 09:54
ReporterAlexandru Paler 
Assigned ToWill Schroeder 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0006237: vtkTransformInterpolator SetInterpolationType bug
DescriptionWhen 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.
Additional InformationThe solution is to move:
lines 325-326
this->PositionInterpolator->SetNumberOfComponents(3);
this->ScaleInterpolator->SetNumberOfComponents(3);

before line 346:
TransformListIterator iter = this->TransformList->begin();
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0036941)
Kitware Robot (administrator)
2016-08-12 09:54

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2008-01-12 16:37 Alexandru Paler New Issue
2008-02-06 09:36 Jeff Baumes Status backlog => tabled
2008-02-06 09:36 Jeff Baumes Assigned To => Will Schroeder
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2016-08-12 09:54 Kitware Robot Note Added: 0036941
2016-08-12 09:54 Kitware Robot Status expired => closed
2016-08-12 09:54 Kitware Robot Resolution open => moved


Copyright © 2000 - 2018 MantisBT Team