[vtkusers] vtkFieldDataToAttributeDataFilter with vtk4.2 -->Bug in vtkMergeDataObjectFilter?

joseph mccoy j.mccoy at gmx.de
Wed Aug 20 04:22:52 EDT 2003


Hi All,

finally i found a solution for my problem, although i'm not quite sure if it is a good one. in vtk4.0 the vtkMergeDataObjectFilter checked three kind of outputfileds: VTK_CELL_DATA_FIELD, VTK_POINT_DATA_FIELD and VTK_DATA_OBJECT_FIELD. in newer versions, it doesn't check for data_object_field any more, therefore my fielddata wasn't recognized. 
after putting

  else  {
     output->SetFieldData(fd);
 }

as third option on the end of the execute() - checks, the merging works fine again. 

maybe this is helpful for someone who experience similar problems.



  Hi  All,

  i allready posted this question some time ago, but nobody answerd it. so i stepped once more through the faq's, the doc's and the vtk- sourcecode, but still i don't find an answer. so i'm posting it again, maybe someone can help me now.
  here is the problem:
  i have a geometry, stored in one unstructured grid data-file, and a lot of scalar attributes, stored in different fielddata - files. with vtk4.0 i was able to merge the geometry with one of the attribute files using :
      vtkDataSetReader/vtkDataObjectReader -> vtkMergeDataObjectFilter-> FieldDataToAttributeDataFilter

  that worked fine. with vtk4.2 i allways get the error message: 
      vtkFieldDataToAttributeDataFilter (0x0182EDB0): Can't find array/component requested

  please tell me, if you have any ideas what the problem could be. Thanks!
   
  PS: i use VS++ 6.0 on Windows2000
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20030820/d6e60177/attachment.htm>


More information about the vtkusers mailing list