<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>i am trying to draw a vector field, which is made 
from vtkMergeFields</FONT></DIV>
<DIV><FONT face=Arial size=2>heres a piece of my code</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV><FONT face=Arial size=2>
<DIV><BR>vtkMergeFields mf<BR>&nbsp;&nbsp; mf SetInput [data 
GetOutput]<BR>&nbsp;&nbsp; mf SetOutputField merged POINT_DATA<BR>&nbsp;&nbsp; 
mf SetNumberOfComponents 3<BR>&nbsp;&nbsp; mf Merge 0 U 0<BR>&nbsp;&nbsp; mf 
Merge 1 V 0<BR>&nbsp;&nbsp; mf Merge 2 W 0</DIV>
<DIV>&nbsp;</DIV>
<DIV>[[mf GetOutput] GetPointData] SetActiveVectors merged</DIV>
<DIV>&nbsp;</DIV>
<DIV>vtkHedgeHog hhog<BR>&nbsp;hhog SetInput [mf GetOutput]<BR>&nbsp;hhog 
SetScaleFactor 1.0<BR>vtkPolyDataMapper hhogMapper<BR>&nbsp;hhogMapper SetInput 
[hhog GetOutput]<BR>vtkActor hhogActor<BR>&nbsp;hhogActor SetMapper 
hhogMapper<BR>ren1 AddActor hhogActor</DIV>
<DIV>&nbsp;</DIV>
<DIV>data that is fed into vtkMergeFields is gnereated from the following:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;vtkExtractRectilinearGrid&nbsp;data<BR>&nbsp;&nbsp;data SetInput 
[interpdata GetOutput]<BR>&nbsp;&nbsp;data SetSampleRate 2 2 
2<BR>&nbsp;&nbsp;data Update</DIV>
<DIV>&nbsp;</DIV>
<DIV>interpdata is generated from 6 rectilineradataset using the following</DIV>
<DIV>the rectilineardata set has 7 SCALAR fields, the 1st 3 are U, V, and 
W</DIV>
<DIV>which are teh ones i am trying to combine to form a vector field</DIV>
<DIV>&nbsp;</DIV>
<DIV>vtkInterpolateDataSetAttributes interpdata<BR>&nbsp;interpdata SetT 
6.0</DIV>
<DIV>&nbsp;</DIV>
<DIV>interpadata AddInput [ ...] </DIV>
<DIV>...</DIV>
<DIV>...</DIV>
<DIV>&nbsp;</DIV>
<DIV>the error when running the above code is:</DIV>
<DIV>no vector data to input..............</DIV>
<DIV>&nbsp;</DIV>
<DIV>any help or suggenstion would be great</DIV>
<DIV>&nbsp;</DIV>
<DIV>thanks in advance</FONT></DIV></BODY></HTML>