Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
49 views

I am using pyQT5 and VTK to render meshes and select points. I have a custom interactor that I use to intercept the QT events and perform operations. For my application, I want to allow the user to ...
Adam's user avatar
  • 49
1 vote
0 answers
110 views

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
281 views

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
136 views

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
381 views

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
728 views

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
291 views

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
  • 113
5 votes
1 answer
2k views

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
  • 185
2 votes
1 answer
490 views

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
  • 7,253
0 votes
0 answers
487 views

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
109 views

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
627 views

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
1 vote
1 answer
517 views

My C++ program in Visual call QVTKOpenGLNativeWidget and works fine in Release mode. However, when I change to Debug mode it fails to build which seems yo be related to Qt5Core. Note that Qt5Core.dll ...
Adam's user avatar
  • 11
0 votes
1 answer
547 views

I'm trying to visualize a vtk unstructuredgrid mesh. In order to get the coordinate of a point of my mesh I use the vtk interactor. I'm able to get the point coordinate by selecting the point using ...
Adam's user avatar
  • 11
0 votes
1 answer
405 views

We have written a program as you can see in image: program_image. We added spheres on the object to get information about the place. Now the problem is, although we can place them with no issue, we ...
slefsmteem's user avatar
2 votes
1 answer
493 views

I want to disable some VTK hotkeys, in the Python version. While there exist answers here for C++ (and maybe js), it does not seem to work with the Python version. I tried overloading OnKeyPress on my ...
Naomi's user avatar
  • 85
0 votes
1 answer
1k views

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
0 answers
243 views

i want to use the vtkplotlib library to display different 3d models and i want to set the opacity in the background of the widget to 0. I just know how to set the normal background color with the ...
marxcell's user avatar
1 vote
1 answer
350 views

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

So i'm try to create my own custom interactor style inheriting from the vtkInteractorStyleSwitch. This issue im having is that im trying to disable the "q" shortcut for closing the vtk ...
mike citrin's user avatar
1 vote
0 answers
2k views

I installed PCL 1.8.0 on Ubuntu 18.04 but I encountered an error while installing a repo. [ 88%] Building CXX object CMakeFiles/tviewer.dir/tviewer/tviewer_widget/tviewer_widget.cpp.o In file included ...
Yaya_T's user avatar
  • 11
0 votes
1 answer
448 views

I'm integrating vtk with qt, i have vtkWindowToImageFilter with input set to vtkGenericOpenGLRenderWindow, how come i extract the image foreground only? vtkWindowToImageFilter *w2if = ...
Error's user avatar
  • 830
0 votes
1 answer
1k views

I m using Qt5.15 in Ubuntu 20.04. I want to use PCL to visualise point cloud data. To get PCL runnig with Qt, VTK library is also required. So in my system I have PCL 1.10 and VTK 7.1.1. I have taken ...
surajj4837's user avatar
0 votes
1 answer
221 views

I'm currently working on the conversion of a project initially made under python, allowing to modify the visualization of a .vtk file with a Qt interface essentially made of sliders. The project under ...
S.Gradit's user avatar
  • 190
2 votes
1 answer
644 views

The env is VTK-8.0 ITK-5.2 QT-5.12 This error occurs when I compile this cmake file: cmake_minimum_required(VERSION 3.3 FATAL_ERROR) project(QtDICOMViewer) find_package(VTK REQUIRED) #find_package(...
hhz's user avatar
  • 143
0 votes
0 answers
718 views

When I used vtk in qt creator firstly, I came into this trouble. And I cannot solve it now, asking for some help. I followed this website https://csuzhangxc.gitbooks.io/vtk-simple-tutorial/content/...
YueMingyu's user avatar
1 vote
1 answer
515 views

I have three questions. Q1. In the picture above, only X axis displays actual numbers(:300,400,etc.) but Z axis just shows ratio number accompanying 'Z(x10^3)'. How can I show actual numbers for Y,Z ...
neural's user avatar
  • 31
2 votes
0 answers
1k views

I'm trying to load and display point clouds through a Qt+PCL configuration. I managed to load and display a smaller point cloud (~60 thousand points), but could't display a larger one (~3 million ...
MarcosDiaz's user avatar
0 votes
1 answer
326 views

my dev enviroment is QT 5.14.2, PCL 1.9, VTK 8.2.0. this is my initial code: // Set up the QVTK window vtkSmartPointer<vtkGenericOpenGLRenderWindow> renderWindow = vtkSmartPointer<...
OYounGY's user avatar
0 votes
2 answers
267 views

When I compile the vtk-master with vs 2015(update 1) and QT5, I see an error as: Error C2039 'Frame': is not a member of 'QGL Widget' GUI Support Qt Open GL C:\VTK\SOURCE\source\GUISupport\...
Jaafar Nasrabadi's user avatar
1 vote
0 answers
457 views

I've installed VTK 8.2.0 with CMake for use with QT but when trying to run some VTK examples I have some issues shown below: Note: The colour banding issues in the image is from the gif compression ...
Alessi 42's user avatar
  • 1,192
0 votes
0 answers
76 views

My objective is to display OBJ files into QWidget. The code I have used to work previously. vtkSmartPointer<vtkOBJImporter> importer = vtkSmartPointer<vtkOBJImporter>::New(); ...
Neel Basu's user avatar
  • 13k
0 votes
2 answers
561 views

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 and ...
Zhengfei Xin's user avatar
1 vote
1 answer
596 views

I'm using vtkPropPicker with QVTKWidget, but it is not working: pick position is always (0,0,0) and actor is NULL when clicking on the white sphere. Clicking on the empty region however returns ...
fferri's user avatar
  • 19.1k
0 votes
1 answer
257 views

When I try QVTKWidget, there are warning messages that told me donot use it. So I change to QVTKOpenGLWidget. But there are problems with this widget, it doesnot display properly. See the picture. ...
Laine's user avatar
  • 189
1 vote
1 answer
85 views

I am new to Qt and ROS. I am working on Qt Creator 4.8.0. I have created a catkin workspace in Qt and a mainwindow was created. And I am trying to add QVTKWidget to the mainwindow. It was successfully ...
miaa's user avatar
  • 21
1 vote
1 answer
357 views

I'm trying to overlay text on an image in vtk when a certain button is clicked. I use a vtkTextActor, vtkTextRepresentation, and vtkTextWidget to achieve this. Here is my code: // set up actor ...
Lambda1010's user avatar
1 vote
2 answers
2k views

I'm trying to find out the 3D points of a point cloud which are inside a 3D Box. I'm able to get the points inside 3D box by the below logic, only when the 3d box is align with the axis, but on ...
Sayan Bera's user avatar
0 votes
2 answers
2k views

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
  • 190
0 votes
1 answer
693 views

I'm using pcl and vtk library with Qt for point cloud visualization. My setup is as the below link http://unanancyowen.com/en/pcl-with-qt/ Now when we slice points ie, press 'x' and select a region ...
Sayan Bera's user avatar
3 votes
2 answers
822 views

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

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
-1 votes
1 answer
3k views

When i create a qt gui vtk application by Cmake,then i run it with vs 2017.It appears fllowing warning.Any counld tell me how could i cancel this warning?Thank you a lot.enter image description here
andyfan's user avatar
  • 29
0 votes
1 answer
982 views

I try to display a 3D volume (https://midas3.kitware.com/midas/item/34776) using VTK and Qt using a QVTKOpenGLWidget. I can display and interact with axes, sphere, cones... but the 3D volume does not ...
ordepedro's user avatar
0 votes
1 answer
275 views

As I have reported here when I try to render the cone example by: from paraview.simple import * cone = Cone() Show(cone) Render() I get a non responding window: My version of Python is: Python 2.7....
Foad S. Farimani's user avatar
2 votes
1 answer
1k views

How can I hide vtkOutputWindow? No suppress by GlobalWarningDisplayOff() or redirect output to file but only hide. (And show again after some time via something like vtkOutputWindow::GetInstance()->...
Bleach's user avatar
  • 156
1 vote
1 answer
202 views

Is there a way to add error bars to scatter plot data using VTK? I am currently plotting point data using the C++ API; there is uncertainty associated with the data I am trying to plot which I would ...
murray's user avatar
  • 36
1 vote
1 answer
547 views

I am using PCL viewer (which uses VTK) for visualizing a 3D point cloud generated by SLAM algorithm. I am trying to render the view of point cloud as seen by the robot at a given pose (position and ...
spacemanspiff's user avatar
0 votes
0 answers
26 views

I am trying to integrate a VTK render window in a Qt GUI. Using QtCreator/Designer, I added an openGLWidget to the MainWindow and promoted it to QVTKOpenGLWidget. When I try to compile, the compiler ...
ChrisZ's user avatar
  • 1
1 vote
1 answer
1k views

Referring to This example: https://lorensen.github.io/VTKExamples/site/Cxx/Utilities/Animation/ I made a small change in the callback function, to stop it after certain number of timer count. #...
Harsh Kumar Narula's user avatar