<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1255">
<META content="MSHTML 6.00.2900.2523" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Times New Roman">Hi,</FONT></DIV>
<DIV><FONT face="Times New Roman"></FONT> </DIV>
<DIV><FONT face="Times New Roman">In the "good old" vtk3 days :), we used to tie
a mesh to its results by the command:</FONT></DIV>
<DIV><FONT face="Times New Roman"></FONT> </DIV>
<DIV><FONT face="Times New Roman"> set f [[AttrReader
GetOutput] GetFieldData]<BR> [[UGreader GetOutput]
GetPointData] SetFieldData $f</FONT></DIV>
<DIV><FONT face="Times New Roman"></FONT> </DIV>
<DIV><FONT face="Times New Roman">where UGreader and AttrReader were the
appropriate readers, and all the scalars and vectors of the field were
there..<BR></FONT></DIV>
<DIV><FONT face="Times New Roman">afterwards I used a
vtkFieldDataToAttributeDataFilter for displaying the contours a vectors on the
deformed mesh with the following methods:</DIV></FONT>
<DIV><FONT face="Times New Roman">obj1 SetScalarComponent 0 $name
$index</FONT></DIV>
<DIV><FONT face="Times New Roman">or</FONT></DIV>
<DIV><FONT face="Times New Roman">obj2 SetVectorComponent 0 $name
$ind1</FONT></DIV>
<DIV><FONT face="Times New Roman">and everything went fine.</FONT></DIV>
<DIV><FONT face="Times New Roman"></FONT> </DIV>
<DIV><FONT face="Times New Roman">Now I'm trying to use VTK4.2 to do
it.</FONT></DIV>
<DIV><FONT face="Times New Roman">My questions are (in tcl):</FONT></DIV>
<DIV><FONT face="Times New Roman">1. how do I attach a scalar component (out of
the field) to a wrapped geometry (e.g. create contours according to one of the
components of a stress field)?</FONT></DIV>
<DIV><FONT face="Times New Roman">2. how do I do it for a partial mesh (after
thresholding and not the whole mesh)?</FONT></DIV>
<DIV><FONT face="Times New Roman">3. is there somewhere an example that shows,
in tcl, how to use: FieldData, Threshold, contours and vectors
display?</FONT></DIV>
<DIV><FONT face="Times New Roman"></FONT> </DIV>
<DIV><FONT face="Times New Roman">Thanks,</FONT></DIV>
<DIV><FONT face="Times New Roman"></FONT> </DIV>
<DIV><FONT face="Times New Roman">Gil Lecker<BR></DIV></FONT></BODY></HTML>