Set orientation of a clipped cone

Gib Bogle <[email protected]>
Newsgroups gmane.comp.lib.vtk.user
Message-ID <[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
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.