[vtkusers] splines

dean.inglis at camris.ca dean.inglis at camris.ca
Fri Sep 9 21:01:38 EDT 2005


you didn't define any points:

 //Generate the polyline for the spline.
 spline_points = vtkPoints::New();
 spline_points->SetNumberOfPoints( static_cast<vtkIdType>(numberOfOutputPoints) );

you need to also do:

spline_points->SetPoint(i,somethingX,somethingY,somethingZ);

or,

double somethingXYZ[3];
spline_points->SetPoint(i,somethingXYZ);

Dean





More information about the vtkusers mailing list