View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0007059ParaViewBugpublic2008-05-20 09:132016-08-12 09:57
ReporterBerk Geveci 
Assigned ToUtkarsh Ayachit 
PrioritynormalSeverityminorReproducibilitysometimes
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0007059: XMLPPolyDataWriter produces bad output when writing in parallel - no cells
DescriptionWhen writing out the output of the programmable filter (no cells, just points) in parallel, XMLPPolyDataWriter produces wrong output - some of the vtp files do not have any points. See the script in "Steps To Reproduce"
Steps To Reproduceimport paraview
import paraview.vtk

input=self.GetInput()
output=self.GetOutput()
pts=vtk.vtkPoints()
output.SetPoints(pts)
print "testing"
print output
iterator=input.NewIterator()
iterator.VisitOnlyLeavesOn()

usedIds=[]
firstTime=1;
while (not iterator.IsDoneWithTraversal()):
       set=iterator.GetCurrentDataObject()
       iterator.GoToNextItem()

       # copy arrays from input dataset to output dataset
       if (firstTime):
               output.GetPointData().CopyStructure(set.GetPointData())
               firstTime=0;
               print output

       array=set.GetPointData().GetArray("Fragment Id")
       if (array):
               for i in xrange(0,array.GetNumberOfTuples()):
                       id=array.GetComponent(i,0)
                       if usedIds.count(id)==0:
                               usedIds.append(id)
                               # copy point values to output polydaya
                               output.GetPoints().InsertNextPoint(set.GetPoint(i))
                               output.GetPointData().InsertNextTuple(i,set.GetPointData())
TagsNo tags attached.
Project
Topic Name
Type
Attached Files

 Relationships

  Notes
(0037575)
Kitware Robot (administrator)
2016-08-12 09:57

Resolving issue as `moved`.

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

 Issue History
Date Modified Username Field Change
2008-05-20 09:13 Berk Geveci New Issue
2009-02-17 16:28 Ken Moreland Status backlog => tabled
2009-02-17 16:28 Ken Moreland Assigned To => Utkarsh Ayachit
2009-05-13 13:46 Utkarsh Ayachit Target Version => 3.6
2009-08-25 18:43 Utkarsh Ayachit Category => Bug
2009-08-25 18:43 Utkarsh Ayachit Target Version 3.6 => 3.8
2016-08-12 09:57 Kitware Robot Note Added: 0037575
2016-08-12 09:57 Kitware Robot Status expired => closed
2016-08-12 09:57 Kitware Robot Resolution open => moved


Copyright © 2000 - 2018 MantisBT Team