Hi Bill,<div><br></div><div>In general, 2D actors are painted as an overlay, <i>after</i> everything else has been painted. They're always visible by definition.</div><div><br></div><div>I think you want the 3D version for your problem: <a href="http://www.vtk.org/doc/nightly/html/classvtkCubeAxesActor.html">http://www.vtk.org/doc/nightly/html/classvtkCubeAxesActor.html</a></div>
<div><br></div><div>Regards,</div><div>Shash<br><div><br><div class="gmail_quote">On Fri, Mar 18, 2011 at 2:20 PM, Bill Chivas <span dir="ltr"><<a href="mailto:billno123@hotmail.com">billno123@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
In the description says:<br>"To use this object you must define a bounding box and the camera used to render the <a href="http://www.vtk.org/doc/nightly/html/classvtkCubeAxesActor2D.html" title="create a 2D plot of a bounding box edges - used for navigation" target="_blank">vtkCubeAxesActor2D</a>. <b>The camera is used to control the scaling and position of the <a href="http://www.vtk.org/doc/nightly/html/classvtkCubeAxesActor2D.html" title="create a 2D plot of a bounding box edges - used for navigation" target="_blank">vtkCubeAxesActor2D</a> so that it fits in the viewport and always remains visible</b>."<br>
<br>How can i set the camera so it is does NOT remain always visible?<br><br><br><hr>From: <a href="mailto:billno123@hotmail.com" target="_blank">billno123@hotmail.com</a><br>To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><br>
Date: Thu, 17 Mar 2011 15:13:59 +0000<br>Subject: [vtkusers] vtkCubeAxesActor2D - Hide behind a 3D object<div class="im"><br><br>
Hello all,<br><br>i use the vtkCubeAxesActor2D class to show the axis. Is there a way so that the axis are not visible (which makes sense) when they are behind of the object?<br><br>
<br></div>_______________________________________________
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a> </div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div></div>