MantisBT - ParaView
View Issue Details
0009453ParaViewBugpublic2009-08-26 06:492009-09-22 22:06
Bart Janssens 
Zhanping Liu 
highmajoralways
closedfixed 
Development 
3.6.2 
0009453: vtkConvexPointSet::EvaluatePosition does not correctly set the interpolation weights
When plotting over a line that encounters vtkConvexPointSet cells, the Plot Over Line filter gives incorrect results. This is caused by incorrect weights being set by vtkConvexPointSet::EvaluatePosition, where the weights relative to all sub-tetrahedra are set, instead of just the closest one. This results in a set of weights that can not give correct interpolation results in filters like Plot Over Line.

A patch to fix this is attached.
No tags attached.
diff vtkConvexPointSet-weights.diff (1,721) 2009-08-26 06:49
https://www.vtk.org/Bug/file/7424/vtkConvexPointSet-weights.diff
Issue History
2009-08-26 06:49Bart JanssensNew Issue
2009-08-26 06:49Bart JanssensFile Added: vtkConvexPointSet-weights.diff
2009-09-17 10:42Zhanping LiuAssigned To => Zhanping Liu
2009-09-17 10:42Zhanping LiuStatusbacklog => tabled
2009-09-21 15:45Alan ScottNote Added: 0017682
2009-09-21 15:45Alan ScottPrioritynormal => high
2009-09-21 15:45Alan ScottTarget Version => 3.6.2
2009-09-22 15:06Zhanping LiuNote Added: 0017708
2009-09-22 15:07Zhanping LiuStatustabled => @80@
2009-09-22 22:01Alan ScottNote Added: 0017718
2009-09-22 22:01Alan ScottStatus@80@ => @20@
2009-09-22 22:01Alan ScottResolutionopen => reopened
2009-09-22 22:06Alan ScottNote Added: 0017720
2009-09-22 22:06Alan ScottStatus@20@ => closed
2009-09-22 22:06Alan ScottResolutionreopened => fixed

Notes
(0017682)
Alan Scott   
2009-09-21 15:45   
This needs to get into the 3.6.2 version, unless the patch doesn't work and this bug ends up not being easy to fix.
(0017708)
Zhanping Liu   
2009-09-22 15:06   
The patch was verified and was applied to vtkConvexPointSet.cxx. Note that this bug is related to bug 0009550. In addition, a bug with EvaluateLocation() was fixed.

Thanks go to Bart Janssens.

new revision: 1.7; previous revision: 1.6
(0017718)
Alan Scott   
2009-09-22 22:01   
Need to get rid of a print statement - it says "Executing with:" ...
(0017720)
Alan Scott   
2009-09-22 22:06   
My bad. My comment was placed on the wrong bug.

I don't really know how to test this, so since Bart wrote the patch, and Zhanping applied the patch (I assume looked at it), I am marking it fixed. If this isn't the case, please re-open it.