View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001859VTK(No Category)public2005-05-16 16:452016-08-12 09:54
ReporterMathieu Malaterre 
Assigned ToBerk Geveci 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001859: VTK pipeline / Extent broke apps
DescriptionThis script used to work in VTK 4.4:

package require vtk
# Image pipeline
vtkBMPReader reader
reader SetFileName "$VTK_DATA_ROOT/Data/masonry.bmp"
#vtkImageViewer viewer #seems ok
vtkImageViewer2 viewer
viewer SetInput [reader GetOutput]
vtkRenderWindowInteractor iren
viewer SetupInteractor iren
iren Initialize
iren Start
wm withdraw .

Now it returns:

ERROR: In VTK/Filtering/vtkImageData.cxx, line 1475
vtkImageData (0x81ac1a0): GetScalarPointer: Pixel (0, 0, 0) not in memory.
 Current extent= (0, -1, 0, -1, 0, -1)
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0002421)
Mathieu Malaterre (developer)
2005-05-16 16:47

If you replace vtkImageViewer2 with vtkImageViewer the tcl script runs fine.

vtkBMPReader still uses ExecuteInformation/ExecuteData
(0002423)
Mathieu Malaterre (developer)
2005-05-16 17:09

Brad did a research and found out that vtkImageData::GetScalarPointer direclty uses this->Extent without making sure this is up to date
(0036786)
Kitware Robot (administrator)
2016-08-12 09:54

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2016-08-12 09:54 Kitware Robot Note Added: 0036786
2016-08-12 09:54 Kitware Robot Status expired => closed
2016-08-12 09:54 Kitware Robot Resolution open => moved


Copyright © 2000 - 2018 MantisBT Team