Hi everyone,<br><br>I have a question about the usage of vtkParametricSpline and vtkParametricSource. What I want to do is use Qt to draw a spline through some selected points on my image. I think the combination of vtkParametricSpline and vtkParametricFunctionSource can do what I want to achieve.
<br><br>Now, I acquire the control points coordinates through the mouse events and these are integers. What I would like to do is calculate the spline using these values. I noticed that the documentation for the vtkParametricSpline mentions:
<br>"This family of 1D splines is quaranteed to be parameterized in the interval [0,1]. Attempting to evaluate outside this interval will cause the parameter u to be clamped in the range [0,1]." <br><br>I was wondering if I could pass the screen coordinates as input points to the spline or does everything has to be normalized between 0 and 1. I think working with integers would be faster and I would like to avoid the unnecessary conversions back and forth...
<br><br>Thanks and cheers,<br><br>Anja