[vtkusers] Manually positioning a cylinder between two points - How to?

David Doria daviddoria+vtk at gmail.com
Mon Jun 14 17:27:19 EDT 2010

On Mon, Jun 14, 2010 at 5:22 PM, Wagner Sales <wsales at gmail.com> wrote:

> Hi all,
> I need to manually position a cylinder between two points in 3D space.
> In fact, aren't exactly a cylinder, but a polydata that's have same
> properties a cylinder haves.

I'm not sure I understand fully.  Do you know a point on each cap of the
cylinder? If so you could use a landmark transform between the two points
you know on the cylinder and the two 3D points. I've done this to orient
things in the past.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100614/ad89c961/attachment.htm>

More information about the vtkusers mailing list