On 16 October 2010 21:25, Bill Lorensen <span dir="ltr">&lt;<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

You can use the vtkTransformPolyDataFilter<br>
<div><div></div><div class="h5"><br></div></div></blockquote><div><br>That will make a copy of the points and then adjust all the values, right?<br><br>There is quite a lot of points to plot, I was hoping to use an approach that wouldn&#39;t involve using more memory.<br>

<br>Earlier, I tried this approach:<br>vtkTransform * flipform = vtkTransform::New();<br>flipform-&gt;Identity();<br>flipform-&gt;Scale(1,1,-1);<br>actor_flip-&gt;SetUserMatrix( flipform-&gt;GetMatrix() );<br><br>And that worked find *except* that all of the surfaces look dark, as if they are facing away from the camera.<br>

<br>I looked around and tried adding vtkReverseSense to the chain, but that didn&#39;t make any difference at all.<br><br>Should I be able to use SetUserMatrix?<br><br><br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div><div class="h5">
On Sat, Oct 16, 2010 at 9:06 AM, Paul Harris &lt;<a href="mailto:harris.pc@gmail.com">harris.pc@gmail.com</a>&gt; wrote:<br>
&gt; The models themselves.   Flipping the ViewUp seems to be the same as turning<br>
&gt; the monitor upside down, but that is not the result I want.<br>
&gt; The problem is that Z in model coordinates is &quot;downwards&quot;, but vtk seems to<br>
&gt; insist that Z is &quot;upwards&quot;.<br>
&gt; This problem is not just for Z either,<br>
&gt; I also have the situation where in some circumstances, the Y should point<br>
&gt; the other way.   ie, Y means South rather than North.<br>
&gt;<br>
&gt;<br>
&gt; On 16 October 2010 03:32, Bill Lorensen &lt;<a href="mailto:bill.lorensen@gmail.com">bill.lorensen@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Do you want the models flipped, or just the view of the models?<br>
&gt;&gt;<br>
&gt;&gt; If it is the latter, you can set the ViewUp of the camera to 0,0,-1.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Fri, Oct 15, 2010 at 3:17 PM, Paul Harris &lt;<a href="mailto:harris.pc@gmail.com">harris.pc@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; Hi all,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I have a VTK scene with some vtkPolyDataMappers and actors, plus an<br>
&gt;&gt; &gt; orientation widget.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I want to change the fundamental direction of the Z axis, so that it<br>
&gt;&gt; &gt; points<br>
&gt;&gt; &gt; down rather than up.  I want all of the models, the orientation widget,<br>
&gt;&gt; &gt; etc<br>
&gt;&gt; &gt; to flip, so that they point down instead of up.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I&#39;ve tried lots of things but have gotten nowhere...<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; how do I make this happen?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; thanks<br>
&gt;&gt; &gt; Paul<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Visit other Kitware open-source projects at<br>
&gt;&gt; &gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Please keep messages on-topic and check the VTK FAQ at:<br>
&gt;&gt; &gt; <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt; &gt; <a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br>