[vtkusers] Magnify Glass

Karthik Krishnan karthik.krishnan at kitware.com
Thu Jan 28 10:04:07 EST 2010


There is a full fledged application that does this : Slicer. It puts
the magnified part in a separate render window.

There are other not-directly but similar examples in VTK. See the
vtkAxesActor for instance. It creates an overlay renderer and places
the axes prop on a corner of the render window. It shares the same
camera of course deliberately so as to have the orientation reflect
that of the scene, but you needn't.

--
karthik

On Thu, Jan 28, 2010 at 9:59 AM, Gerrick Bivins
<gbivins at objectreservoir.com> wrote:
> Is there an example/test of this somewhere?
> Gerrick
>
> On Thu, Jan 28, 2010 at 7:02 AM, Karthik Krishnan
> <karthik.krishnan at kitware.com> wrote:
>>
>> yes.. the typical way is to display a zoomed version the image, using
>> a second camera on a corner of the renderwindow, usiing a separate
>> overlay renderer, or to display it on a separate smaller render
>> window.
>>
>> Having a hovered region over the scene itself will just slow the
>> rendering of the scene itself down as you move the cursor and is
>> usually not practical.
>>
>> --
>> karthik
>>
>> On Thu, Jan 28, 2010 at 7:52 AM, Kenneth Porter <shiva at sewingwitch.com>
>> wrote:
>> > --On Wednesday, January 27, 2010 11:17 PM -0800 circass
>> > <circass at gmail.com>
>> > wrote:
>> >
>> >> how can i make a magnify glass ?
>> >
>> > Sounds like you want a second camera.
>> >
>> >
>> > _______________________________________________
>> > 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
>> >
>> _______________________________________________
>> 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
>
>



More information about the vtkusers mailing list