<br><font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">I am [still] having problems with creating a surface/ carpet plot correctly in java with vtk4.2. </font>
<br>
<br><font size=2 face="sans-serif">Is there an example of, or can anyone tell me how to:</font>
<br>
<br><font size=2 face="sans-serif">1. programatically create a vtkImage (or similar data container) to contain x y and z values from an array (x.length == y.length ==z.length). I can only find examples of doing this from a file.</font>
<br>
<br><font size=2 face="sans-serif">2. use the vtkWarpScalar filter to create a carpet plot distorting the X-Y surface by the Z-Values.</font>
<br>
<br><font size=2 face="sans-serif">I am sure this must be fairly easy,but whichever way I try to construct the data I get an error from the vtkWarpScalar Filter saying there are no Scalars to warp by.</font>
<br>
<br><font size=2 face="sans-serif">The only way I have been able to get an output is by using the vtkSurfaceReconstructionFIlter with a contourFilter and a programatically created polyData but this appears to "spread" the edges of my dataset and requires preprocessing of the data to scale the Z values.</font>
<br>
<br><font size=2 face="sans-serif">Please help, I am totally stuck on this and its the last bit I need to finish my app.</font>
<br>
<br><font size=2 face="sans-serif">Richard<br>
<br>
This message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this message by anyone else is unauthorized and strictly prohibited. If you have received this message in error, please inform the sender immediately.<br>
<br>
TESSELLA Richard.Bridge@tessella.com<br>
__/__/__/ Tessella Support Services plc<br>
__/__/__/ 3 Vineyard Chambers, ABINGDON, OX14 3PX, England<br>
__/__/__/ Tel: (44)(0)1235-555511 Fax: (44)(0)1235-553301<br>
www.tessella.com<br>
Registered in England No. 1466429<br>
</font>