[vtkusers] vtkSurfaceReconstructFilter: error for "no points to reconstruct" ?????

qin zeng qin_in_usa at hotmail.com
Sat Apr 10 16:31:45 EDT 2004


Hi ,all,

I have the following code:
// points is a vtkPoints
// pointsource is vtkProgrammableSource
:
:
:
for (ii =0;ii<=300 ;++ii)
 {
    for (jj = 0 ;jj<=600;jj ++)
    {
     // get x,y,z data here.  
       points->InsertNextPoint (x , y,z);
    }
 }
 pointsource->GetPolyDataOutput()->SetPoints(points);
 surf->SetInput((vtkDataSet *) pointsource->GetPolyDataOutput());
:
:

points are obviously there but why the error "no points to reconstruct"  comes out.


More information about the vtkusers mailing list