[vtkusers] flipping the scene:(Parity Transform)
Bill Lorensen
wlorens1 at nycap.rr.com
Wed Dec 13 18:18:33 EST 2000
Bob,
You can use vtkPolyDataTransform, folllowed by a vtkReverseSense
Bill
At 04:13 PM 12/13/00 -0500, Fletcher, Bob (GEAE) wrote:
>I have a scene with many actors. I need to flip the whole scene around,
>replacing z with -z. (Parity Transform).
>
>I tried
>myactor SetScale 1 1 -1
>
>The geometry looks ok, but it's all rendered flat black. Without the
>Setscale it's colored by it's scalar value. Is this some kind of normal
>vector problem?
>
>I can setScale -1 -1 1, and the colors are ok, but of course it doesn't
>change my geometry!
>
>Is there a better approach? This seemed simplest. Is ther a Left
>handed/righthanded corrdinate system flag hiding someplace?
>
>Any thoughts?
>
>Bob.
>
>
>
>
>_______________________________________________
>This is the private VTK discussion list.
>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers
More information about the vtkusers
mailing list