[vtkusers] About vtk&fltk
John Durkin
jrd5084 at psu.edu
Thu Jun 11 14:18:55 EDT 2009
Tom,
I did, I'm using the following lines of code.
flrwi = new vtkFlRenderWindowInteractor(5,5,290,260,NULL);
vtkInteractorStyleSwitch *inStyle = vtkInteractorStyleSwitch::New();
inStyle->SetCurrentStyleToTrackballCamera();
flrwi->SetInteractorStyle(inStyle);
This gives me the trackball but I still cannot zoom.
-John
On Thu, Jun 11, 2009 at 2:13 PM, Tom<binbin0112 at gmail.com> wrote:
> Hi,
> u'll need vtkInteractorStyleImage or vtkInteractorStyle to add into ur
> vtkFlRenderWindowInteractor.
> check these two in vtk documents.
>
> good luck...
>
> Tom
>
> 2009/6/11 John Durkin <jrd5084 at psu.edu>
>>
>> Tom,
>>
>> If you're familiar with vtkFlRenderWindowInteractor, would you know
>> why I can't zoom using the mouse scroll? Also If I don't change to
>> toggle mode I get this error in the vtkOutputwindow:
>>
>> ERROR: In ..\..\VTK\Rendering\vtkInteractorStyle.cxx, line 392
>> vtkInteractorStyleJoystickCamera (03BC0848): Timer start failed
>>
>> Thanks,
>>
>> John Durkin
>>
>> On Thu, Jun 11, 2009 at 1:40 PM, John Durkin<jrd5084 at psu.edu> wrote:
>> > thanks tom
>> >
>> > On Thu, Jun 11, 2009 at 12:11 PM, Tom<binbin0112 at gmail.com> wrote:
>> >> Hey,
>> >> U can check this web site
>> >> http://cpbotha.net/software/vtkflrenderwindowinteractor/
>> >> and this website has one example for VTK&FLTK
>> >> Besides, u'll need FLTK document
>> >> http://www.fltk.org/doc-1.3/index.html
>> >> good luck..
>> >>
>> >> Tom
>> >>
>> >
>
>
>
More information about the vtkusers
mailing list