Questions tagged [qvtkwidget]

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

QVTKWidget displays a VTK window in a Qt window.

VTK (The Visualization ToolKit) is an software system for 3D computer graphics, image processing, and visualization. It consists of a C++ class library, and several interpreted interface layers including Tcl/Tk, Java, and Python.

Read more here.

110 questions
2
votes
2 answers

Build libQVTK with vtk 6.3 and qt5

Is it possible to build qvtk library (and relatives) with qt5 and vtk 6.3 (or trunk version)? I installed qt5 from the .run installer, everything installed fine, then I built vtk 6.3 from sources enabling VTK_Group_Qt and setting qt paths…
Lake
  • 4,072
  • 26
  • 36
2
votes
2 answers

QVTKWidgetPlugin in QT Creator 5.4

I'm working with QT 5.4 and VTK 6.2 but I have some problems with QVTKWidgetPlugin. Specifically, I can see the QVTKWidget option in QT Designer but I don't see it in QT Creator when I work with the file .ui. I copied QVTKWidgetPlugin.dll in…
bigz90
  • 89
  • 1
  • 10
2
votes
1 answer

How to rotate and place points on VTK object

I have seen how I can place points on a VTK object using seed widget from : http://www.vtk.org/Wiki/VTK/Examples/Cxx/Widgets/vtkSeedWidget I have also seen how I can rotate an object from :…
user2816456
  • 569
  • 2
  • 5
  • 15
2
votes
1 answer

Unable to find VTK 6.1 libraries when building QT5.4 project

I have installed VTK 6.1 on Ubuntu 14.04. The header files can be found at : /usr/local/include/vtk-6.1 and the libraries can be found at : /usr/local/lib. However, when I try to include VTK into my QT5.4 project .pro file with: INCLUDEPATH +=…
user2816456
  • 569
  • 2
  • 5
  • 15
2
votes
1 answer

QT & VTK Interaction Style

I am using VTK as qvtkwidget to display 3D objects in QT. I know I can change its interaction style by making my own modified interaction style. I wanna rotate and move an object by right click and holding left click respectively. And tried to make…
user3734823
  • 99
  • 1
  • 1
  • 10
1
vote
1 answer

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 the surface. this is my code: threshold =…
HadyKh
  • 43
  • 7
1
vote
0 answers

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 is that when I run the program, the QVTKWidget…
AMMT
  • 11
  • 2
1
vote
1 answer

PCL viewer inside QtCreator widget with VTK and QVTKOpenGLStereoWidget

I need to make a graphical window with a Qt widget that allows to represent inside it a point cloud that I have previously loaded using the PLC library. Here's what I have so far that doesn't work (I based it on tutorials and this answer). I'm…
1
vote
1 answer

How to disable VTK's hotkey in Python-VTK

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 InterfactionStyle or my…
Naomi
  • 45
  • 6
1
vote
0 answers

vtkplotlib set opacity/transparency in QtFigure

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 method: ModelViewer.background_color =…
marxcell
  • 69
  • 6
1
vote
1 answer

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, pan, hovering. When i tested identical chart show…
minsu
  • 81
  • 5
1
vote
0 answers

Disable "q" Onchar() vtkInteractorStyleSwitch

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 window. As far as i understand all i need to do is implement my…
1
vote
0 answers

'QVTKWidget.h' file not found

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 from…
Yaya_T
  • 11
  • 3
1
vote
1 answer

Problems in using vtkCubeAxesActor() instance. (Number representing, and contamination)

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 axes as well? Q2. In background, "contaminated"…
neural
  • 21
  • 1
  • 4
1
vote
0 answers

VTK not clearing previous frame and filling background

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 and is not part of the issue #include…
Alessi 42
  • 1,112
  • 11
  • 26