| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0006268 | VTK | (No Category) | public | 2008-01-23 12:13 | 2016-08-12 09:54 | ||||
| Reporter | Jerome Robert | ||||||||
| Assigned To | Kitware Robot | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | closed | Resolution | moved | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0006268: Size of vtkCanvas is not properly set | ||||||||
| Description | If you do this JFrame frame = new JFrame(); vtkCanvas canvas = new vtkCanvas(); frame.add(canvas, BorderLayout.CENTER); frame.setVisible(true); frame.setSize(800,600); the underlying vtkRenderWindowInteractor size is not properly set and picking occures at random position. I get this error with vtkCanvas.java revision 1.9 and vtkPanel.java revision 1.17. | ||||||||
| Additional Information | A workaround is to disable the windowset test in the vtkCanvas class like this: final vtkCanvas canvas = new vtkCanvas() { @Override public void setSize(int x, int y) { super.setSize(x, y); Lock(); rw.SetSize(x,y); iren.SetSize(x, y); iren.ConfigureEvent(); UnLock(); } }; | ||||||||
| Tags | No tags attached. | ||||||||
| Project | |||||||||
| Type | |||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0036945) 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-01-23 12:13 | Jerome Robert | New Issue | |
| 2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
| 2016-08-12 09:54 | Kitware Robot | Note Added: 0036945 | |
| 2016-08-12 09:54 | Kitware Robot | Status | expired => closed |
| 2016-08-12 09:54 | Kitware Robot | Resolution | open => moved |
| 2016-08-12 09:54 | Kitware Robot | Assigned To | => Kitware Robot |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |