<div class="gmail_quote">On Tue, Oct 13, 2009 at 5:06 PM, David Gobbi <span dir="ltr">&lt;<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi David,<div><br></div><div>That example is very misleading.  The vtkCamera and the most vtkInteractorStyles do nothing with 2D actors.  The vtkActor2D uses the &quot;display&quot; coordinate system, but for displaying data, you almost always want to use the &quot;world&quot; coordinate system that vtkActor and vtkCamera use.</div>

<div><br></div><div>So: even with 2D data, you should use vtkActor, not vtkActor2D.  That way the vtkCamera can control the view, just set camera-&gt;ParallelProjectionOn() so that it will display a &quot;flat&quot; projection rather than a perspective projection.  Interactor styles like the vtkInteractorStyleRubberBand2D are specifically designed for use with 2D data.  But you must use vtkActor for your data, don&#39;t use vtkActor2D.</div>

<div><br></div><div>    David</div><div></div></blockquote><div><br>Haha - the &quot;misleading-ness&quot; is what I am trying to sort through and remove with these examples :)<br><br>vtkActor2D has to be around for something right? What would one use it for?<br>
<br>If you simply set the camera to parallel projection, you can still rotate &quot;out of plane&quot; which makes the whole thing not really seem like 2D any more. That&#39;s what I thought this Actor2D was going to - provide a more 2D &quot;feel&quot;. Is there nothing that does this (excluding simply not using the rotate buttons in the 3d view)?<br>
<br clear="all">Thanks,<br><br>David<br></div></div>