View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010414VTK(No Category)public2010-03-12 11:472016-08-12 09:55
ReporterDavid Doria 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0010414: vtkVoxelModeller produces VTK_BIT array, should produce VTK_INT
DescriptionIf you try to write the output of vtkVoxelModeller with a vtkXMLImageDataWriter (like this: http://www.vtk.org/Wiki/VTK/Examples/VoxelModeller [^]), it complains that VTK_BIT is not supported. I have converted all instances of vtkBitArray and VTK_BIT with vtkIntArray and VTK_INT, respectively, and it now works as expected.

Can we commit this?
TagsNo tags attached.
Project
Type
Attached Filescxx file icon vtkVoxelModeller.cxx [^] (10,520 bytes) 2010-03-12 11:47
cxx file icon vtkVoxelModeller2.cxx [^] (10,751 bytes) 2010-03-15 11:39

 Relationships

  Notes
(0019884)
David Doria (reporter)
2010-03-15 11:39

Per Will's recommendation, I changed VTK_INT to VTK_UNSIGNED_CHAR and verified that it still works (opened the resulting vti file in Paraview).

Long term, we should change vtkXMLImageDataWriter to support VTK_BIT.
(0023967)
David Doria (reporter)
2010-12-14 14:58

From the mailing list:

"
Perhaps vtkVoxelModeller should have a new method;
SetOutputScalarTypeToxxx where the default would be Bit. Then it might
be a more useful class, It should also probably have
SetForegroundValue and SetBackgroundValue methods.

Bill
"
(0037153)
Kitware Robot (administrator)
2016-08-12 09:55

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
2010-03-12 11:47 David Doria New Issue
2010-03-12 11:47 David Doria File Added: vtkVoxelModeller.cxx
2010-03-15 11:39 David Doria File Added: vtkVoxelModeller2.cxx
2010-03-15 11:39 David Doria Note Added: 0019884
2010-12-14 14:58 David Doria Note Added: 0023967
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2016-08-12 09:55 Kitware Robot Note Added: 0037153
2016-08-12 09:55 Kitware Robot Status expired => closed
2016-08-12 09:55 Kitware Robot Resolution open => moved
2016-08-12 09:55 Kitware Robot Assigned To => Kitware Robot


Copyright © 2000 - 2018 MantisBT Team