[vtkusers] World coordinates of the vtkRenderWindows screen boundaries

David E DeMarle dave.demarle at kitware.com
Wed Jul 23 12:44:47 EDT 2008


Take a look at what vtkAreaPicker::DefineFrustum(0.0,0.0,1.0,1.0,
&Renderer). That method is protected, so you can't call it directly,
but you could borrow the code inside it.
cheers,
Dave DeMarle

On Wed, Jul 23, 2008 at 12:38 PM, Sarah Macumber
<S.Macumber at questreliability.com> wrote:
> Hello all,
>
> I am looking for a way to determine the camera's viewable extents in world coordinates, which I need to know to buffer data.
>
> I cannot view all my data at once, so it is broken up into sections along the axis.  I place some data at (0,0) and then pan / zoom around and would like to know what new range of data I am now looking at in the event that I may need to load some more data into my buffer.  This happens when someone would pan left or right.  The camera will tell you where its center is but I am looking for a way to determine what data range it is viewing in world coordinates, as in how much of the X / Y / Z axis am I seeing?  Is this something that I could acomplish with vtkSelectVisiblePoints <http://www.vtk.org/doc/nightly/html/classvtkSelectVisiblePoints.html>  ?
>
> Thanks in advance,
> Sarah
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



More information about the vtkusers mailing list