Questions tagged [vtk]

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

VTK supports a wide variety of visualization algorithms including: scalar, vector, tensor, texture, and volumetric methods; and advanced modeling techniques such as: implicit modeling, polygon reduction, mesh smoothing, cutting, contouring, and Delaunay triangulation. VTK has an extensive information visualization framework, has a suite of 3D interaction widgets, supports parallel processing, and integrates with various databases on GUI toolkits such as Qt and Tk. VTK is cross-platform and runs on Linux, Windows, Mac and Unix platforms. Kitware, whose team created and continues to extend the toolkit, offers professional support and consulting services for VTK.

2408 questions
42
votes
3 answers

CMake ExternalProject_Add() and FindPackage()

Is there are proper way to find a library (via FindPackage()) which was built with ExternalProject_Add()? The problem is that CMake cannot find the library at CMake-time because the external library gets build at compile time. I know that it is…
Lars Bilke
  • 4,940
  • 6
  • 45
  • 63
35
votes
7 answers

installing Mayavi with pip - no module named vtk

I want to use Mayavi. Situation I use a MacBook Air, with OSX 10.7.3. I use Python 2.7.2 I have virtualenv installed. But I have not used it for this installation. I've manually installed all it's dependencies, including VTK. For VTK, I followed…
Yasser Souri
  • 1,967
  • 2
  • 19
  • 26
32
votes
1 answer

how to install x11_xt_lib when configure VTK?

when I configure VTK with ccmake command on Ubuntu 14.04, the following error message happens after I press c button. how to install that stuff? CMake Error at Rendering/OpenGL/CMakeLists.txt:304 (message): X11_Xt_LIB could not be found. …
Haven
  • 7,808
  • 5
  • 25
  • 37
24
votes
4 answers

Just how good is VTK?

I have heard some good reviews of the Visualization ToolKit (VTK) from developers. But exactly how powerful is it? For example, can it handle visualization of an entire oil reservoir (in a simulator) with billions of grids points? Most industrial…
Adit Gupta
  • 1,314
  • 1
  • 18
  • 32
23
votes
2 answers

Refreshing a QWidget

I've been having this issue a lot of times. When I modify some properties of a QWidget after the widget.show(), the widget won't update. Most of the time, a mouse click or when the mouse leaves or enters the widget, the widget will be updated.…
Olivier Giniaux
  • 870
  • 2
  • 8
  • 22
21
votes
6 answers

Reading a .vtk file with python

I've been given a legacy format vtk file (I think its an unstructured grid) and I'd like to read it in with python and output a .npy file instead, since I know how to deal with that. The file is a dump from ATHENA and so has density, velocity,…
Ben Jackel
  • 429
  • 1
  • 3
  • 6
20
votes
8 answers

no override found for 'vtkPolyDataMapper'

I'm trying to use vtk in my code, but I'm having problems running an example. I have almost no clue about the reasons since it's the first time I'm using it and I'm not very experienced. I'm using visual studio 2012 and x64 platform. Since I don't…
German Capuano
  • 5,183
  • 6
  • 23
  • 35
20
votes
8 answers

ImportError: No module named vtkCommonPython

I am trying to install Python with VTK on my computer, but when I want to import VTK, I get an error: import vtk Traceback (most recent call last): File "", line 1, in File "C:\vtk\Wrapping\Python\vtk\__init__.py", line 41, in…
user1842222
  • 201
  • 1
  • 2
  • 4
19
votes
3 answers

Where can i find vtk documentation for python?

I am trying to use VTK from python. I tried to find and could not realy find anything on the web which can be used for documentation. I tried looking at the c++ documentation but the methods are very different. Thanks a lot
Shan
  • 18,563
  • 39
  • 97
  • 132
18
votes
5 answers

Installing VTK for Python

I'm trying to install VTK module for python, I am however unsuccesful in doing so. I have downloaded a VTK tar-file, but I'm unable to extract it. I'm capable of extracting other tar-files, so there must be something specific with this file I…
user1991
  • 584
  • 1
  • 4
  • 18
16
votes
4 answers

Mayavi points3d with different size and colors

Is it possible in mayavi to specify individually both the size and the colors of every point? That API is cumbersome to me. points3d(x, y, z...) points3d(x, y, z, s, ...) points3d(x, y, z, f, ...) x, y and z are numpy arrays, or lists, all of the…
linello
  • 8,451
  • 18
  • 63
  • 109
15
votes
4 answers

TVTK Error in Mayavi (Python)

I'm running a Fedora 17 (x64) machine, and I tried installing Mayavi for python via yum install mayavi which worked fine, except every time I write a code where I call a mayavi module (like mlab) : from enthought.mayavi import mlab it yells with…
Kitchi
  • 1,874
  • 4
  • 28
  • 46
15
votes
1 answer

MSB6006: "cmd.exe" exited with code 9009

When I try to build VTK on VS 2010, I get this error error MSB6006: "cmd.exe" exited with code 9009. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 151 6 vtkhdf5 Before this, I build QT successfully from VS…
TahaYusuf
  • 335
  • 3
  • 5
  • 16
14
votes
5 answers

3D/4D graphics with Python and wxPython?

In my day job as a PhD student, I do geological modeling. In my spare time (mainly for fun), I am learning Python and trying to write a simple program to view 3D geocellular models. geological model…
Flux Capacitor
  • 1,215
  • 5
  • 24
  • 40
13
votes
3 answers

CMake VTK_DIR-NOTFOUND

VTK_DIR-NOTFOUND is returned when using CMake. I am using CMake GUI and, as other path errors, I can point then to proper path. However, for VTK doesn't work. I am pointing to directory where VTConfig.cmake file and others are. Also tried with all…
Jaume
  • 3,672
  • 19
  • 60
  • 119
1
2 3
99 100