| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0003897 | VTK | (No Category) | public | 2006-10-07 08:18 | 2016-08-12 09:54 | ||||
| Reporter | kdsfinger | ||||||||
| Assigned To | Karthik Krishnan | ||||||||
| Priority | urgent | Severity | major | Reproducibility | always | ||||
| Status | closed | Resolution | moved | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0003897: vtkRenderWindowInteractor only can add one observer | ||||||||
| Description | I found this bug in the Insight/InsightApplications/LiverTumorSegmentation/ImageSliceViewer.cpp Althought it is used in itk, it's a vtk program. In the function void ImageSliceViewer ::SetInteractor( vtkRenderWindowInteractor * interactor ) { m_RenderWindow->SetInteractor( interactor ); vtkInteractorStyleImage * interactorStyle = vtkInteractorStyleImage::New(); interactor->SetInteractorStyle( interactorStyle ); interactorStyle->Delete(); interactor->AddObserver( ::vtkCommand::LeftButtonPressEvent, m_InteractorObserver ); interactor->AddObserver( ::vtkCommand::LeftButtonReleaseEvent, m_InteractorObserver ); interactor->AddObserver( ::vtkCommand::MouseMoveEvent, m_InteractorObserver ); } The interactor only accept the first added observer and neglect the rest. In the above case, only the LeftButtonPressEvent is observed. If I switch the sequence such that the LeftButtonReleaseEvent is added before LeftButtonPressEvent, the LeftButtonReleaseEvent will be observed while the LeftButtonPressEvent is not. | ||||||||
| Tags | No tags attached. | ||||||||
| Project | |||||||||
| Type | |||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0036890) Kitware Robot (administrator) 2016-08-12 09:54 |
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 |
| 2008-02-06 10:46 | Jeff Baumes | Assigned To | Will Schroeder => Karthik Krishnan |
| 2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
| 2016-08-12 09:54 | Kitware Robot | Note Added: 0036890 | |
| 2016-08-12 09:54 | Kitware Robot | Status | expired => closed |
| 2016-08-12 09:54 | Kitware Robot | Resolution | open => moved |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |