[vtkusers] vtkCubeAxesActor2D - Hide behind a 3D object

Shashwath T.R. trshash at gmail.com
Fri Mar 18 05:26:19 EDT 2011


Hi Bill,

In general, 2D actors are painted as an overlay, *after* everything else has
been painted. They're always visible by definition.

I think you want the 3D version for your problem:
http://www.vtk.org/doc/nightly/html/classvtkCubeAxesActor.html

Regards,
Shash

On Fri, Mar 18, 2011 at 2:20 PM, Bill Chivas <billno123 at hotmail.com> wrote:

>  In the description says:
> "To use this object you must define a bounding box and the camera used to
> render the vtkCubeAxesActor2D<http://www.vtk.org/doc/nightly/html/classvtkCubeAxesActor2D.html>.
> *The camera is used to control the scaling and position of the
> vtkCubeAxesActor2D<http://www.vtk.org/doc/nightly/html/classvtkCubeAxesActor2D.html>so that it fits in the viewport and always remains visible
> *."
>
> How can i set the camera so it is does NOT remain always visible?
>
>
> ------------------------------
> From: billno123 at hotmail.com
> To: vtkusers at vtk.org
> Date: Thu, 17 Mar 2011 15:13:59 +0000
> Subject: [vtkusers] vtkCubeAxesActor2D - Hide behind a 3D object
>
>
> Hello all,
>
> 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?
>
>
> _______________________________________________ Powered by www.kitware.comVisit 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 Follow
> this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110318/6616f45e/attachment.htm>


More information about the vtkusers mailing list