[vtkusers] Getting new points after spline fitting
funwithgiri at gmail.com
Tue Sep 18 18:59:01 EDT 2012
I am new to VTK, and I need a little help from y'all.
I basically have an ordered set of 3D points stored as vtkPoints. I
basically want to filter the outliers, and fit the inliers into a smooth
I haven't figured out how to filter the outliers. But, I am fitting the
curves to a kochanek spline and am able to see the output displayed in the
But, I am not sure how to get the new set of points back as vtkPoints for
This is what I have.
vtkSmartPointer<vtkPoints> points =
/* Do something and populate the points */
vtkSmartPointer<vtkKochanekSpline> kxSpline =
vtkSmartPointer<vtkKochanekSpline> kySpline =
vtkSmartPointer<vtkKochanekSpline> kzSpline =
vtkSmartPointer<vtkParametricFunctionSource> functionSource1 =
I would like to get the new spline fitted bunch of points back into
'points' or some other similar collection. Any idea how I should go about
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers