MantisBT - VTK
View Issue Details
0009614VTK(No Category)public2009-09-29 07:282013-09-30 07:47
xabi riobe 
Dave DeMarle 
normalminoralways
closedfixed 
windowsXP
 
6.0.0 
0009614: vtkVolumeTextureMapper3D::UpdateVolumes(...) calls Modified() method too early
The calls to:
  this->SavedTextureInput = input;
  this->SavedTextureMTime.Modified();

should be placed at the end of the method instead of the begining, because at line 1103: input->GetPointData()->GetScalars()->GetRange(scalarRange, components-1);
will modify the input->GetMTime() return value, so if we enter again in UpdateVolumes() the computations will be done without need of it.

This is needed since revision 1.80 of vtkDataArray.cxx because the method vtkDataArray::ComputeRange modify the MTime, wich was not the case before.
create a pipeline using vtkVolumeTextureMapper3D and call the method Render() twice: the method UpdateVolumes will perform its computations twice instead of returning 0 the second time
No tags attached.
Issue History
2009-09-29 07:28xabi riobeNew Issue
2009-09-29 07:54xabi riobeNote Added: 0017816
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2012-03-07 03:52xabi riobeStatusexpired => backlog
2012-03-07 03:52xabi riobeResolutionopen => reopened
2013-06-05 15:23Jean-Christophe Fillion-RobinNote Added: 0030908
2013-07-22 18:15Dave DeMarleNote Added: 0031193
2013-07-22 18:15Dave DeMarleStatusbacklog => expired
2013-07-22 18:15Dave DeMarleResolutionreopened => open
2013-07-22 18:15Dave DeMarleAssigned To => Dave DeMarle
2013-09-30 07:46xabi riobeNote Added: 0031658
2013-09-30 07:47xabi riobeStatusexpired => closed
2013-09-30 07:47xabi riobeResolutionopen => fixed
2013-09-30 07:47xabi riobeFixed in Version => 6.0.0

Notes
(0017816)
xabi riobe   
2009-09-29 07:54   
The VTK version is 5.4.2, vtkVolumeTextureMapper3D.cxx revision 1.13
(0030908)
Jean-Christophe Fillion-Robin   
2013-06-05 15:23   
Does the problem still occur with VTK 5.10 ? VTK 6 ?

Would be great if you could submit a patch using Gerrit. For more details see http://www.vtk.org/Wiki/VTK/Git/Develop [^]

Thanks
Jc
(0031193)
Dave DeMarle   
2013-07-22 18:15   
If the bug is still present in 6.0.0, please reopen this report.
(0031658)
xabi riobe   
2013-09-30 07:46   
Fixed in 6.0.0