<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:tahoma, new york, times, serif;font-size:12pt"><DIV>
<DIV id=result_box dir=ltr>I have the following heading of an archive vtk:</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>#VTK DataFile Version 3.0</DIV>
<DIV dir=ltr>PONTOS ESTRUTURADOS</DIV>
<DIV dir=ltr>ASCII</DIV>
<DIV dir=ltr>DATASETSTRUCTURED_POINTS</DIV>
<DIV dir=ltr>DIMENSIONS 950 760</DIV>
<DIV dir=ltr>ORIGEM -87.207390 -55.174244 0</DIV>
<DIV dir=ltr>SPACING 1 1 1 </DIV>
<DIV dir=ltr>CELL_DATA (950-1)*(760-1)</DIV>
<DIV dir=ltr>POINT_DATA 950*760</DIV>
<DIV dir=ltr>Scalars scalars float</DIV>
<DIV dir=ltr>LookUp_Table defoult</DIV>
<DIV dir=ltr>12.5655</DIV>
<DIV dir=ltr>84.5555</DIV>
<DIV dir=ltr>.</DIV>
<DIV dir=ltr>.</DIV>
<DIV dir=ltr>.</DIV>
<DIV dir=ltr>.</DIV>
<DIV dir=ltr><FONT color=#0060bf>//End File</FONT></DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>
<DIV id=result_box dir=ltr>This archive .vtk, I obtain to read using the following functions of the VTK:</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>vtkStructuredPointsReader reader = new vtkStructuredPointsReader ();</DIV>
<DIV dir=ltr>&nbsp;&nbsp;&nbsp; reader.setFileName("\home\mneto\arquivo.vtk");</DIV>
<DIV dir=ltr>&nbsp;&nbsp;&nbsp; reader.Update();</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>vtkImageScale imageScale = new vtkImageScale ();</DIV>
<DIV dir=ltr>&nbsp;&nbsp;&nbsp; imageScale.setInput(reader.getOutPut());</DIV>
<DIV dir=ltr>&nbsp;&nbsp;&nbsp; . </DIV>
<DIV dir=ltr>&nbsp;&nbsp;&nbsp;&nbsp;.</DIV>
<DIV dir=ltr>&nbsp;&nbsp;&nbsp; .</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>vtkImageActor actor = new vtkImageActor ();</DIV>
<DIV dir=ltr>&nbsp;&nbsp;&nbsp; actor.setInput (imageScale.getOutPut);</DIV>
<DIV dir=ltr>&nbsp;&nbsp;&nbsp; .</DIV>
<DIV dir=ltr>&nbsp;&nbsp;&nbsp; .</DIV>
<DIV dir=ltr>&nbsp;&nbsp;&nbsp; .</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr><FONT color=#0000bf>// interaction functions(ren, renWin, ...)</FONT></DIV>
<DIV dir=ltr>&nbsp;&nbsp;&nbsp; .</DIV>
<DIV dir=ltr>&nbsp;&nbsp;&nbsp; .</DIV>
<DIV dir=ltr>&nbsp;&nbsp;&nbsp; .</DIV></DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>
<DIV id=result_box dir=ltr><FONT color=#c00000>My&nbsp;doubts: 
<DIV id=result_box dir=ltr>As I make to place in the code source all the information of heading without I need to read of an archive. The data I have all and the matrix is stored in a vector in my program.</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>
<DIV id=result_box dir=ltr>I find that I have that to use the functions:</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>vtkFloatArray</DIV>
<DIV dir=ltr>vtkStructuredPoints</DIV>
<DIV dir=ltr>vtkImageScale </DIV>
<DIV dir=ltr>vtkImageActor </DIV>
<DIV dir=ltr>(+&nbsp; interaction functions)</DIV></DIV>
<DIV dir=ltr>
<TABLE id=texttable>
<TBODY>
<TR vAlign=top>
<TD id=gap>&nbsp;</TD>
<TD class=almost_half_cell></TD></TR></TBODY></TABLE></DIV></FONT></DIV></DIV></DIV>
<DIV id=result_box dir=ltr><FONT color=#bf005f>But I did not obtain to make to appear the image. </FONT></DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>Somebody can help me?</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>Thank you...</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>Marco A. S. Neto</DIV></div><br>


      Flickr agora em português. Você clica, todo mundo vê. <a href="http://br.rd.yahoo.com/mail/taglines/flickr/*http://www.flickr.com.br/">Saiba mais</a>.
</body></html>