[vtkusers] Set orientation of a clipped cone
kenichiro yoshimi
rccm.kyoshimi at gmail.com
Thu Nov 29 19:14:50 EST 2018
Hi,
The SetOrientation function is used to rotate the actor in degrees. So
you need to specify the rotation degrees instead of an orientation
vector.
Regards
2018年11月30日(金) 6:27 Gib Bogle <g.bogle at auckland.ac.nz>:
>
> I want to be able to render many clipped cones. I've been playing with the capclip.cxx example, changing from sphereSource to coneSource. The clipActor created can be given position, and scaled, but I can't see how to set its orientation. It does have a member function setOrientation(double a[3]), but when I invoke this with a = (0,1,0) nothing happens (the default orientation of the cone is (1,0,0)).
>
> Is it possible to set the orientation of an actor that uses a mapper created from a clipped polydata?
>
>
> Thanks
>
> Gib
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list