Re: Set orientation of a clipped cone

kenichiro yoshimi <[email protected]>
Newsgroups gmane.comp.lib.vtk.user
Message-ID <CAHDyfPAfHFR+5P9mZ8q37vEB3E0C=8Siukxe5bODrpp2DkDx0A@mail.gmail.com>
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 <[email protected]>:
>
> 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
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.