Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
38 views

Transparency in PyQt widgets & VTK

I have a few widgets such as a QLabel and QPushbuttons hovering over a VTK scene like below. As you can see, when I add a border-radius to the them, the remaining area around the labels or buttons is ...
Rishi Aithal's user avatar
1 vote
0 answers
69 views

PyQT5 VTK Mouse Button Event Mismatch

I am using PyQT5 and VTK for displaying information, and have been using observers to register mouse click events through the interactor style. For some reason, when multiple buttons are clicked, the ...
Adam's user avatar
  • 49
0 votes
0 answers
192 views

VTK Render Window and QThread synchronization Issue

I am currently working on developing a utility for visualizing data collection. I have created a PyQt5 GUI, and I am using the vtk library to visualize live data from an external source. My current ...
JCrypp's user avatar
  • 1
4 votes
1 answer
1k views

PyQt5 + VTK - wglMakeCurrent failed error

Minimum working example: from sys import exit from PyQt5.QtWidgets import QApplication, QMainWindow, QWidget, QHBoxLayout, QLabel, QFrame from vtk.qt.QVTKRenderWindowInteractor import ...
vardonir's user avatar
  • 165
0 votes
1 answer
948 views

pyqt5 and vtk object integration

i would like to embed the glb file to pyqt gui with vtk python library. I wrote pieces of code but it does not embed the sketch to the pyqt gui. Everytime there have been placing in the second windows ...
phzdjz's user avatar
  • 99
1 vote
1 answer
303 views

Problem with VTK Chart interaction with PyQt

I'm trying to Draw VTK ChartXY using QVTKRenderWindowInteractor because my program is designed to use PyQt. Problem is, showing chart is good but, i can't interact with the chart for example, zoom, ...
minsu's user avatar
  • 91
0 votes
2 answers
512 views

Python & VTK & PyQt5: How to screenshot vtk render in def __init__?

What have I done: Create a app with PyQt5 and VTK, I add 2 VTK render in 2 QTWidget. In each VTK render, I read a .stl file and show it. I add a function screen_shot, it can screen shot VTK render ...
Zhengfei Xin's user avatar
0 votes
2 answers
2k views

VTK and PyQt5 : How to refresh display after changing radius value with slider

I'm trying to write a python code with VTK and PyQt5 which display a VTK Sphere customizable by the user with sliders. The conception of the windows and the widgets is ok, the problem is when I change ...
S.Gradit's user avatar
  • 180
3 votes
2 answers
754 views

VTKWidget in Qt is not updated as expected

I would like to display a 3D-Animation in my Qt5-Gui. Everything works as expected, but unfortunately the scene is not getting updated when I don't interact with the vtkWidget. In other words: When I ...
cakelover's user avatar
  • 177
0 votes
1 answer
1k views

Using vtkResliceImageViewer or vtkImageViewer2 with Python3+PyQt5

I've written working example for vtkImageViewer: But any image isn't rendered with vtkImageViewer2 or vtkResliceImageViewer. Have found example based on PyQt4+Python2.7 but wasn't able to get ...
MykolaSharhan's user avatar