View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0015966 | VTK | (No Category) | public | 2016-01-31 04:31 | 2016-08-12 09:55 | ||||
Reporter | gary_jia | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | 6.3.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0015966: vtkInteractorStyleTrackballCamera changed after timer added | ||||||||
Description | When I use the vtkInteractorStyleTrackballCamera, the object movement will stop when the mouse freezes ( with mouse button still down). After I added a timer, the object keep moving even when the mouse stop moving. Only after I release the mouse button, the movement stops. reproduction code: #!/usr/bin/env python import vtk class vtkTimerCallback(): def __init__(self): self.timer_count = 0 def execute(self,obj,event): print(self.timer_count) self.timer_count += 1 src = vtk.vtkCubeSource() mapper = vtk.vtkPolyDataMapper() mapper.SetInputConnection(src.GetOutputPort()) actor = vtk.vtkActor() actor.SetMapper(mapper) main_render = vtk.vtkRenderer() main_render.AddActor(actor) renWin = vtk.vtkRenderWindow() renWin.AddRenderer(main_render) iren = vtk.vtkRenderWindowInteractor() iren.SetRenderWindow(renWin) iren.SetInteractorStyle(vtk.vtkInteractorStyleTrackballCamera()) iren.Initialize() cb = vtkTimerCallback() cb.actor = actor iren.AddObserver('TimerEvent', cb.execute) timerId = iren.CreateRepeatingTimer(50); iren.Start() reference post: http://vtk.1045678.n5.nabble.com/interaction-problem-after-timer-added-td5736076.html [^] | ||||||||
Tags | No tags attached. | ||||||||
Project | TBD | ||||||||
Type | incorrect functionality | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0037450) Kitware Robot (administrator) 2016-08-12 09:55 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2016-01-31 04:31 | gary_jia | New Issue | |
2016-08-12 09:55 | Kitware Robot | Note Added: 0037450 | |
2016-08-12 09:55 | Kitware Robot | Status | backlog => closed |
2016-08-12 09:55 | Kitware Robot | Resolution | open => moved |
2016-08-12 09:55 | Kitware Robot | Assigned To | => Kitware Robot |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |