Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a flag to disable window autoresizing in ImageViewer #3394

Merged

Conversation

avilleret
Copy link
Contributor

a small update to disable window autoscaling

resizing automatically on each addRGB() call is a big pain when using a constrained window manager (like i3) and also when the image is simply bigger than the screen...
in such case, the frame rate slow down to 1fps due to a loop in vtk SetSize() function here :

https://github.com/Kitware/VTK/blob/v8.2.0/Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx#L1035-L1039

@taketwo taketwo changed the title add a flag to disable window autoresizing Add a flag to disable window autoresizing in ImageViewer Oct 10, 2019
@taketwo taketwo merged commit 8d5a710 into PointCloudLibrary:master Oct 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants