[vtkusers] InfoVis: RubberBand2D zooming?

Eric E. Monson emonson at cs.duke.edu
Fri Jan 16 09:39:10 EST 2009


Some Friday morning magic from the Jeffster -- that solved it! :)

Thanks a lot,
-Eric


On Jan 16, 2009, at 9:28 AM, Jeff Baumes wrote:

> vtkInteractorStyleRubberBand2D assumes the renderer uses parallel
> projection, so won't work on a normal 3D view. Try
> vtkInteractorStyleRubberBand3D, which also includes rotation. Or set
> ParallelProjectionOn in your renderer.
>
> Jeff
>
> On Thu, Jan 15, 2009 at 1:46 PM, Eric E. Monson  
> <emonson at cs.duke.edu> wrote:
>> Hey,
>>
>> I'm having this strange problem that if I view a graph using a
>> GraphLayoutView the interactor works just fine, but if I manually
>> instantiate a vtkInteractorStyleRubberBand2D and set that style for  
>> my
>> RenderWindowInteractor, the rubber band shows up with a left drag,  
>> and I can
>> pan with the middle mouse button, but I can't zoom with either the  
>> scroll
>> wheel or the right mouse button.
>>
>> I can replicate this using the Cone5.py tutorial example by changing
>> TrackballCamera to RubberBand2D, and it does the same thing as with  
>> my
>> graphs. Is there something else that I'm failing to set up properly?
>>
>> (OS X 10.5.6, Carbon, VTK CVS)
>>
>> Thanks,
>> -Eric
>>
>> ------------------------------------------------------
>> Eric E Monson
>> Duke Visualization Technology Group
>>
>>
>>
>> _______________________________________________
>> 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
>>
>
>
>
> -- 
> Jeff Baumes, Ph.D.
> R&D Engineer, Kitware Inc.
> (518) 371-3971 x132
> jeff.baumes at kitware.com




More information about the vtkusers mailing list