[vtkusers] How to draw a cylinder along Z- axis
Gib Bogle
g.bogle at auckland.ac.nz
Tue Sep 10 05:33:55 EDT 2013
You need to rotate about the x axis. If you are using an actor,
actor->RotateWXYZ(90.,1.,0.,0.)
On 10/09/2013 9:08 p.m., noopurp123 wrote:
> By default, vtkCylinderSource draws a cylinder along Y-axis. How do I draw a
> cylinder along Z-axis?
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/How-to-draw-a-cylinder-along-Z-axis-tp5723360.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list