MantisBT - VTK | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0015758 | VTK | (No Category) | public | 2015-10-06 06:05 | 2016-08-12 09:55 |
| Reporter | Luc Habert | ||||
| Assigned To | Kitware Robot | ||||
| Priority | high | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Project | TBD | ||||
| Type | incorrect functionality | ||||
| Summary | 0015758: vtkOpenGLPolyDataMapper2D (OpenGL2, VTK 6.3) update problem with TransformCoordinate | ||||
| Description | Assuming we have: vtkNew<vtkPolyDataMapper2D> m; vtkNew<vtkCoordinate> coord; coord->SetCoordinateSystemToWorld(); m->SetTransformCoordinate(coord.GetPointer()); Then use m with a 2D actor to display a polydata. The first render is fine. Now, rotate the view. The polydata rendered by m should rotate along, but it does not. A simple solution is to call UpdateVBO more often. Of course, it is wasteful, but the old opengl backend did no better, so I think it would be acceptable. For instance, adding || (this->TransformCoordinate && this->VBOUpdateTime < viewport->GetMTime()) to the condition governing whether UpdateVBO is called seems to solve the problem in my case. A better solution would be to not manually transform points and reflect the TransformCoordinate into the opengl matrix, but of course it is more work. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2015-10-06 06:05 | Luc Habert | New Issue | |||
| 2016-08-12 09:55 | Kitware Robot | Note Added: 0037418 | |||
| 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 | ||
| Notes | |||||
|
|
|||||
|
|
||||