[vtk-developers] Crossing library boundaries

David Gobbi david.gobbi at gmail.com
Wed Sep 15 14:19:08 EDT 2010


On Wed, Sep 15, 2010 at 12:04 PM, David Doria <daviddoria+vtk at gmail.com> wrote:
>
> Jim, if David Gobbi is right and we can move vtkLandmarkTransform to Common
> then it would be fine to allow vtkArrowSource to accept a Point1 and Point2,
> right?

If you need to generate a transform from two points, then you
shouldn't be use vtkLandmarkTransform.   There are far more efficient
ways of doing it.  See the code in vtkConeSource for setting the
Direction of the cone, for instance.  I recommend that you write code
similar to that, instead of using vtkLandmarkTransform.

> David G, if we don't hear any screaming would you volunteer to verify my
> commit of moving vtkLandmarkTransform to Common (to github) before we push
> to VTK master?

Well, I'm still not sure if it belongs in Common or if it belongs in
Filtering.  I only want it to be moved once.

  - David



More information about the vtk-developers mailing list