View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015758VTK(No Category)public2015-10-06 06:052016-08-12 09:55
ReporterLuc Habert 
Assigned ToKitware Robot 
PriorityhighSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0015758: vtkOpenGLPolyDataMapper2D (OpenGL2, VTK 6.3) update problem with TransformCoordinate
DescriptionAssuming 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.
TagsNo tags attached.
ProjectTBD
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0037418)
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.

 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


Copyright © 2000 - 2018 MantisBT Team