<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font size="-1">Hello all,<br>
      I created a pipeline that seems to make sense to me, but always my
      polyDataComplete is empty. Any ideas why this code doesn't work?
      The only vtkPointToCellData example on the web that I can find
      uses blow.vtk, which doesn't exist on my 6.0.0 installation
      anywhere. The polyData variable gets correctly populated with the
      points and their scalars below.<br>
      <br>
              // Create a new, empty polyData<br>
              polyData = new vtkPolyData();<br>
                      <br>
              // populate the polyData points<br>
              polyData.SetPoints(points);<br>
      <br>
              // populate the polyData scalars<br>
              polyData.GetPointData().SetScalars(colorsScalars);<br>
      <br>
              vtkPointDataToCellData polyDataCreateCells = new
      vtkPointDataToCellData();<br>
              polyDataCreateCells.SetInputData(polyData);<br>
              polyDataCreateCells.PassPointDataOn();<br>
      <br>
              // Create new polyData, retrieve completed polyData from
      polyDataCreateCells<br>
              vtkPolyData polyDataComplete = new vtkPolyData();<br>
              polyDataComplete =
      polyDataCreateCells.GetPolyDataOutput();<br>
      <br>
              vtkPolyDataMapper polyMapper = new vtkPolyDataMapper();<br>
              polyMapper.SetInputData(polyDataComplete);<br>
              polyMapper.ScalarVisibilityOn();<br>
              polyMapper.SetScalarRange(scalarMin, scalarMax);<br>
              polyMapper.Update();<br>
              <br>
              vtkActor polyActor = new vtkActor();<br>
              polyActor.SetMapper(polyMapper);<br>
              polyActor.GetProperty().SetColor(1.0, 1.0, 1.0);<br>
      <br>
      // ...Usual render stuff...<br>
      <br>
      Thanks,<br>
      Jim</font><br>
  </body>
</html>