MantisBT - VTK | |||||
| View Issue Details | |||||
| 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 | ||||
| Project | |||||
| Type | |||||
| 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. | ||||
| Steps To Reproduce | |||||
| 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. | ||||
| Relationships | |||||
| Attached Files | |||||
| 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 | ||
| Notes | |||||
|
|
|||||
|
|
||||