View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009614VTK(No Category)public2009-09-29 07:282013-09-30 07:47
Reporterxabi riobe 
Assigned ToDave DeMarle 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformwindowsOSXPOS Version
Product Version 
Target VersionFixed in Version6.0.0 
Summary0009614: vtkVolumeTextureMapper3D::UpdateVolumes(...) calls Modified() method too early
DescriptionThe 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.
Steps To Reproducecreate 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
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0017816)
xabi riobe (reporter)
2009-09-29 07:54

The VTK version is 5.4.2, vtkVolumeTextureMapper3D.cxx revision 1.13
(0030908)
Jean-Christophe Fillion-Robin (manager)
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 (administrator)
2013-07-22 18:15

If the bug is still present in 6.0.0, please reopen this report.
(0031658)
xabi riobe (reporter)
2013-09-30 07:46

Fixed in 6.0.0

 Issue History
Date Modified Username Field Change
2009-09-29 07:28 xabi riobe New Issue
2009-09-29 07:54 xabi riobe Note Added: 0017816
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2012-03-07 03:52 xabi riobe Status expired => backlog
2012-03-07 03:52 xabi riobe Resolution open => reopened
2013-06-05 15:23 Jean-Christophe Fillion-Robin Note Added: 0030908
2013-07-22 18:15 Dave DeMarle Note Added: 0031193
2013-07-22 18:15 Dave DeMarle Status backlog => expired
2013-07-22 18:15 Dave DeMarle Resolution reopened => open
2013-07-22 18:15 Dave DeMarle Assigned To => Dave DeMarle
2013-09-30 07:46 xabi riobe Note Added: 0031658
2013-09-30 07:47 xabi riobe Status expired => closed
2013-09-30 07:47 xabi riobe Resolution open => fixed
2013-09-30 07:47 xabi riobe Fixed in Version => 6.0.0


Copyright © 2000 - 2018 MantisBT Team