<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.3502.5390" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi All,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>finally i found a solution for my
problem, although i'm not <!--StartFragment -->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. </FONT></DIV>
<DIV><FONT face=Arial size=2>after putting</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2> else {<BR>
output->SetFieldData(fd);<BR> }</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>as third option on the end of the execute() -
checks, the merging works fine again. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>maybe this is helpful for someone
who experience similar problems.</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Hi All,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2>here is the problem:</FONT></DIV>
<DIV><FONT face=Arial size=2>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 :</FONT></DIV>
<DIV><FONT face=Arial size=2>
vtkDataSetReader/vtkDataObjectReader -> vtkMergeDataObjectFilter->
FieldDataToAttributeDataFilter</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>that worked fine. with vtk4.2 i allways get the
error message: </FONT></DIV>
<DIV><FONT face=Arial size=2>
vtkFieldDataToAttributeDataFilter (0x0182EDB0): Can't find array/component
requested<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>please tell me, if you have any ideas what
the problem could be. Thanks!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>PS: i use VS++ 6.0 on Windows2000</FONT><FONT
face=Arial size=2></DIV></BLOCKQUOTE></FONT></BODY></HTML>