background preloader

VTK - The Visualization Toolkit

VTK - The Visualization Toolkit
Related:  Plotting in Python

www.win.tue.nl/~wstahw/2Z860/college1/vtk.html Overview example Datasets polygonal dataset structured dataset unstructured dataset vtk.Field A field is defined on a discrete nx x ny x nz grid. vtk.ScalarField A field that can handle scalars: for each grid point (i,j,k) a scalar can be set. class ScalarField extends Field { public ScalarField(String name, int nx, int ny, int nz); public double getScalar(int i, int j, int k); public void setScalar(int i, int j, int k, double value); } vtk.ColorField A field that can handle colors: for each grid point (i,j,k) a color value can be set. class ColorField extends Field { public ColorField(String name, int nx, int ny, int nz); public double[] getColor(int i, int j, int k); public void setColor(int i, int j, int k, double r, double g, double b, double alpha); } vtk.VectorField A field that can handle vectors: for each grid point (i,j,k) a vector value can be set. vtk.Dataset A dataset is a collection of points combined with a collection of fields. vtk.PolygonalDatatset vtk.StructuredDataset links

News CEI-EnSight Python Wrapping - KitwarePublic From KitwarePublic This section describes how to wrap ITK classes for being used from Python. Python will need to be installed along with the Python development headers (Python.h). If you need to specify a specific Python version or a custom location of the headers, the following CMake configuration variables can be modified: Step 2: Turn on Python wrapping in the ITK configuration Turn ON the CMake configuration ITK_WRAP_PYTHON. Step 3: Select the pixel types and dimensions to build You can choose what pixel types and dimensions to build into the wrapped interface. For the dimensions to support, set the CMake configuration variable ITK_WRAP_DIMS. The pixel types to support are boolean variables in the pattern ITK_WRAP_<pixel type>. ITK_WRAP_float ITK_WRAP_rgb_unsigned_char ITK_WRAP_vector_double ITK_WRAP_complex_double

Signal and Image Processing Library The Signal and Image Processing Library is a free collection of general-purpose, optimized C++ routines and classes for signal and image processing along with utility classes to aid image and video file manipulation. These routines are typically used in computationally intensive real-time applications, where optimal execution speed is critical. The library also provides efficient implementations for the most common datatypes used in signal and image processing applications. Function Categories in the Library Pointwise operations Pointwise transformation, normalization and thresholding Spectral processing Spectral processing based on the Fast Fourier Transform (FFT) and inverse FFT Linear filtering Convolution, correlation, FIR and IIR filtering Nonlinear filtering Minimum, maximum, median, alpha trimmed mean, OS filtering Binary morphology Erosion, dilation, opening, closing, hit-and-miss, convex hull, skeleton, hole filling, pruning, thickening, thinning, object reconstruction, object shifting

Visvis_basics - visvis - A short introduction to visvis - The object oriented approach to visualization. Introduction Visvis is a pure Python library for visualization of 1D to 4D data in an object oriented way. Essentially, visvis is an object oriented layer of Python on top of OpenGl, thereby combining the power of OpenGl with the usability of Python. A Matlab-like interface in the form of a set of functions allows easy creation of objects (e.g. plot(), imshow(), volshow(), surf()). Visvis shares quite a bit of functionality with both Matplotlib and Mayavi. Object oriented design Visvis has a strong object oriented design and employs a parental structure. An important wibject is the Axes class: it represents a scene in "world coordinates", that is looked upon with one of the different camera types, and can be interacted with with the mouse. Multiple world-objects (or Wobjects) can easily be inserted in the scene by making them a child of the axes object. All Wibjects and Wobjects have various properties that can be modified to change their behavior and appearance. Naming conventions

VPython OpenGL Pandore What is Pandore? Pandore is a standardized library of image processing operators. The current version contains image processing operators that operate on grayscale, color and multispectral, 1D, 2D and 3D images. The library provides: a set of executable operators; a C++ programming environment. Who is concerned with Pandore? Pandore is mainly dedicated to image processing experts because the use of the library needs skills on image processing operations and on the way to combine them to perform real world image processing applications. How does Pandore work? The library is a set of executable programs performing directly on image files. Permission to use, copy, modify, and distribute code and its documentation for any purpose, without fee, and without a written agreement is hereby granted. Systems: WINDOWS 95/97/NT/XP/2000/VISTA, UNIX, LINUX, MACOS X, CYGWINLanguage: C++ Download area: Sources and binaries.

glumpy - Fast OpenGL numpy visualization glumpy is a small python library for the rapid vizualization of numpy arrays, (mainly two dimensional) that has been designed with efficiency in mind. If you want to draw nice figures for inclusion in a scientific article, you’d better use matplotlib. If you want to have a sense of what’s going on in your simulation while it is running, then maybe glumpy can help you. Dependencies glumpy is made on top of PyOpenGL ( and since glumpy is dedicated to numpy visualization, you obviously need numpy ( Some demos require matplotlib ( and scipy ( as well but this is optional. Finally, atb demos require the AntTweakBar library available from Mailing lists The main forum for glumpy discussion is the glumpy-users mailing list. Example usage demo-simple.py import numpy, glumpy glumpy.show() Histrogram-like display: Simple mesh viewer:

PyQtGraph - Scientific Graphics and GUI Library for Python Processing.org Python 3D Software A small collection (94 packages) of pointers to Python software for working in three dimensions "Open Source" of some type Batch converter from CAD files to Acrobat 3D-PDF Site is in German. Don't know what type of CAD documents are being converted. Unknown Pygame GUI Library compatible with OpenGL Derived from a number of PyWeek entries, provides buttons, list-controls, layout tools, file dialogs, and other assorted "GUI" bits for use with Pygame-based games. GUI for editing files for the Yafray raytracer XML-editing GUI for tweaking Yafray data-files. 3D Modeler with Python scripting support Full-featured tool with a rather non-standard interface (for those accustomed to main-line tools such as 3DSMax or Maya). Editor for BZFlag game files 2D Rendering engine for a variety of back-ends including OpenGL Kiva and Chaco were, at one point, part of SciPy, but they appear to have been dropped at some point. Free-for-non-commercial Molecular modelling framework Small GLUT + OpenGL C-python library

Related:  Data Visualization