View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0014838 | VTK | (No Category) | public | 2014-07-03 03:31 | 2014-07-03 13:06 | ||||
Reporter | Daniel Frese | ||||||||
Assigned To | Berk Geveci | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | no change required | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0014838: vtkImageMapToColors seems not to handle the output info | ||||||||
Description | Basically I use the pipeline vtkImageCanvasSource2D -> vtkImageMapToColors -> vtkImageViewer2. If I visualize the canvas, without passing through the vtkImageMapToColors filter, everything works fine. If I pass through the vtkImageMapToColors filter, I get a blank render window and the error message : “vtkTrivialProducer (00F15A08) : This data object does not contain the requested extent.” I printed out the vtkInformation objects of the canvas’ output port and the the vtkImageMapToColors’ input port, and both outputs showed the correct extents for WHOLE_EXTENT and UPDATE_EXTENT, but wrong values for COMBINED_UPDATE_EXTENT. Moreover, canvas->GetOutput()->Print() gives also the right extents, whereas the output of the the vtkImageMapToColors shows that basically no meta information has been transmitted. A sample code to reproduce the behavior is attached. I used a vtk git snapshot from 2014-03-02, Windows 7, VisualStudio 2008 32 bit. | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Type | incorrect functionality | ||||||||
Attached Files | ![]() | ||||||||
Relationships | |
Relationships |
Notes | |
(0032965) Berk Geveci (administrator) 2014-07-03 13:06 |
This is not a bug. The code needs to be changed to either call Update() on vtkImageMapToColors or to use SetInputConnection() when connecting color and imageViewer. SetInputData() does not setup a pipeline connection and therefore cannot cause a pipeline execution of upstream filters. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2014-07-03 03:31 | Daniel Frese | New Issue | |
2014-07-03 03:31 | Daniel Frese | File Added: bug_reproduction.cpp | |
2014-07-03 13:06 | Berk Geveci | Note Added: 0032965 | |
2014-07-03 13:06 | Berk Geveci | Status | backlog => closed |
2014-07-03 13:06 | Berk Geveci | Assigned To | => Berk Geveci |
2014-07-03 13:06 | Berk Geveci | Resolution | open => no change required |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |