<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hello!</DIV>
<DIV> </DIV>
<DIV>I've got to read a vtk file, that is in the form of an unstructuredGrid. The vtk-file looks like this:</DIV>
<DIV> </DIV>
<DIV><FONT color=#737373># vtk DataFile Version 2.0<BR>damBreak3D<BR>ASCII<BR>DATASET UNSTRUCTURED_GRID<BR>POINTS 1331 float</FONT></DIV>
<DIV><FONT color=#737373>...</FONT></DIV>
<DIV><FONT color=#737373>CELLS 1000 9000</FONT></DIV>
<DIV><FONT color=#737373>...</FONT></DIV>
<DIV><FONT color=#737373>CELL_TYPES 1000</FONT></DIV>
<DIV><FONT color=#737373>...</FONT></DIV>
<DIV><FONT color=#737373>CELL_DATA 1000<BR>FIELD attributes 2<BR>cellID 1 1000 int</FONT></DIV>
<DIV><FONT color=#737373>...</FONT></DIV>
<DIV><FONT color=#737373>alpha1 1 1000 float</FONT></DIV>
<DIV><FONT color=#737373>...</FONT></DIV>
<DIV><FONT color=#737373>POINT_DATA 1331<BR>FIELD attributes 1<BR>alpha1 1 1331 float</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>with the "..." standing for values. Now I read the file into a</DIV>
<DIV> </DIV>
<DIV><FONT style="BACKGROUND-COLOR: #ffffff" color=#7f7f00>vtkUnstructuredGridReader *reader;</FONT></DIV>
<DIV> </DIV>
<DIV>then I put the output of that Reader into a</DIV>
<DIV> </DIV>
<DIV><FONT color=#7f7f00>vtkUnstructuredGrid *grid;</FONT></DIV>
<DIV> </DIV>
<DIV>then put the output of that into a</DIV>
<DIV> </DIV>
<DIV><FONT color=#7f7f00>vtkGeometryFilter *geoFil;</FONT></DIV>
<DIV><FONT color=#7f7f00></FONT> </DIV>
<DIV><FONT color=#000000>then put that output into a</FONT></DIV>
<DIV><FONT color=#7f7f00></FONT> </DIV>
<DIV><FONT color=#7f7f00>vtkPolyData *polyDat;</FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=#000000>and now I want to access the values of the "alpha1". I can't manage to get to them via methods of the vtkPolyData. Does someone know how to access them?</FONT></DIV>
<DIV> </DIV>
<DIV>Greets</DIV>
<DIV>Dmitri</DIV></td></tr></table><br>