[vtk-developers] Fitting code and it's place in VTK

Blezek, Daniel J (CRD) blezek at crd.ge.com
Mon Sep 10 16:49:27 EDT 2001


Hi all,

  In a recent, and somewhat misguided action, I added a method to vtkPolyLine to fit an ellipse to
the points comprising the line.  I've subsequently removed the code, because it in adventently
contained some "Numerical Recipes in C" code, and couldn't be used in VTK without a bunch of
problems.  I'd like to (re)open two issues;

1) where is the proper place for code that fits lines, circles, ellipses, etc to points go?
  - A filter could create an array of implicit coefficients for a general conic
  - vtkMath
  - in a class like vtkPolyLine

2) where/when/who would like to put some numerical code into VTK 4.0, in a similar way that png,
zlib, and jpeg were bundled?
  - this would eliminate the "Numerical Recipes in C" debacle that I just went through
  - would give VTK uses a great deal more power to do things

Thanks,
-dan



More information about the vtk-developers mailing list