[vtkusers] positioning a cylinder

Mark Wyszomierski markww at gmail.com
Fri Mar 30 15:12:03 EDT 2007


Hi,

I have two points in VTK space, is there an easy way to construct a
cylinder so that its two endpoints touch the two points? Something
like:

cylinder->SetEndpoint1(x,y,z);
cylinder->SetEndpoint2(x,y,z);

Thanks,
Mark



More information about the vtkusers mailing list