Skip to main content

Questions tagged [qvtkwidget]

Use this tag for questions related to `qvtkwidget`, a class of the Visualization ToolKit (VTK) within the Qt Framework.

1 vote
0 answers
41 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
27 views

I want to add buttons on QVTKOpenGLNativeWidget

qt can add buttons to widgets in Windows, but QVTKOpenGLNativeWidget can't. I want to add a fixed button to the QVTKOpenGLNativeWidget. How do I do that I tried it by way of layout QPushButton *...
Noob_programmer's user avatar
0 votes
0 answers
88 views

using vtk on apple silicon m1

i'm trying to run this function using vtk on a mac m1. i think the problem is with my OS and not the code itself since on another OS like windows it works def get_thumbnail(PDF, axis): ## some ...
drMAIN's user avatar
  • 76
0 votes
0 answers
57 views

Try to have a vtkInteractorStyleImage with vtkGenericOpenGLRenderWindow

I'm trying to build an application with Qt and VTK. I want to display a 3D image (DICOM) in a widget like QVTKOpenGLNativeWidget and be able to change slices using the mouse wheel (and other thigs). I ...
MagicLudo's user avatar
0 votes
0 answers
57 views

Why does error occur when placing two QVTKRenderWindowInteractor with vtkContextView in a single window in PyQt5 + VTK?

I want to add two seperate interactive vtkChartXY into a single window in PyQt5 + VTK. The window appears and works correctly. However, when it is closed there are several errors. ...
MG. HU's user avatar
  • 1
0 votes
0 answers
136 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
0 votes
0 answers
78 views

how get output of vtkrenderwindowinteractor() and import it to qopenglwidget python

I want to import my STL file into Qt. The code is written in VTK to obtain and read the STL file, and now I want to transfer it to Qt by using the QtWidgets.QOpenGLWidget class. Finally, I need to add ...
mohammadsadegh jafari's user avatar
0 votes
1 answer
212 views

Calling vtkRenderWindow's Render() but no update when running QT project for a long time

I have a QT project that uses the class called QtVTKViewer. All the QWidgets in the project use QtVTKViewer and added in the stackwidget of QT. The first QWidget allows the user to add and adjust ...
GodfreyA's user avatar
0 votes
1 answer
422 views

Visualize Realtime pointclouds on QT widget

I am trying to visualize pointclouds on my qt widget.Following is a snippet of my code.This code can display the point clouds from a .pcd file. I am looking to visualize real time point clouds on qt ...
Zaid khan's user avatar
1 vote
1 answer
159 views

vtkThresholdPoints how to get the mesh back with a surface not just points

on using the vtkThresholdPoints to threshold a mesh it returns back just the points. I need to get back the mesh with its surface again, not just the points. I need to get the thresholded mesh with ...
HadyKh's user avatar
  • 73
4 votes
1 answer
960 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
  • 145
2 votes
1 answer
324 views

PyVista: Why does the callback only draw the 3d entities and not the 2d one on the second time?

I have a question and hope that you can help me. I put together a small MCVE below. When you click the button for the first time, you can see that the 3d data (add_mesh, add_points) and 2d data (chart....
Joe's user avatar
  • 6,963
0 votes
0 answers
401 views

Migration from vtk8.2 to vtk9.1 for qt application

I have a qt5.12 application with vtk8.2 which uses QVTKWidget. Now I want to use vtk9.1 instead of vtk8.2. But vtk9.1 does not support QVTKWidget anymore. So, I just changed it into ...
Leo Abalckin's user avatar
1 vote
0 answers
93 views

QVTKWidget is transparent

I am just a beginner in both Qt and PCL. I am trying to display PCL viewer in the main Qt GUI Window. When I use PCL viewer, it shows up in the separate window. I also try with QVTKWidget.The problem ...
AMMT's user avatar
  • 11
0 votes
1 answer
483 views

Vedo Plotter in Qt - Mouse Click Event not registering at the correct position

I have tried several different things about the mouse clicks not registering correctly in my Qt mainwindow. When using only my QHD monitor, the program worked just fine (video). However, when using my ...
Daniel Jiang's user avatar

15 30 50 per page
1
2 3 4 5
8