[vtk-developers] [VTK 0013068]: GPU Volume Mapper does not update when the underlying volume is marked modified
Mantis Bug Tracker
mantis at public.kitware.com
Tue Apr 10 07:05:11 EDT 2012
The following issue has been SUBMITTED.
======================================================================
http://vtk.org/Bug/view.php?id=13068
======================================================================
Reported By: T.R.Shashwath
Assigned To:
======================================================================
Project: VTK
Issue ID: 13068
Category: (No Category)
Reproducibility: have not tried
Severity: minor
Priority: normal
Status: backlog
Project: Release
Type: incorrect functionality
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 2012-04-10 07:05 EDT
Last Modified: 2012-04-10 07:05 EDT
======================================================================
Summary: GPU Volume Mapper does not update when the
underlying volume is marked modified
Description:
When a volume (vtkImageData) is set as input to the GPU volume mapper, and the
volume is later modified (and marked using the Modified() method), the mapper
does not update itself.
The update happens only when the color transfer function set to the volume is
marked modified.
Other mappers (like vtkFixedPointVolumeRayCastMapper) do not exhibit this
behaviour.
This bug is also present in the 5.10 branch. A sample application is attached.
Run the sample application, and press 'l' to trigger the expected functionality.
In the event handler, the image's scalars are modified (set to a constant value
of 1000). If you press 'Ctrl+l', the color transfer function is marked modified.
Expected behaviour from the sample application: Pressing 'l' should turn the
volume black.
The behaviour I get: The volume stays white.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2012-04-10 07:05 T.R.Shashwath New Issue
2012-04-10 07:05 T.R.Shashwath File Added: GPUMapperTest.cpp
======================================================================
More information about the vtk-developers
mailing list