[GRASS-dev] Voxel support in vtk-grass-bridge
Soeren Gebbert
soerengebbert at googlemail.com
Tue Aug 24 18:37:41 EDT 2010
Hello,
JFYI, i have added voxel support to the vtk-grass-bridge[1]. Now,
besides of raster and vector data, grass voxel data can be accessed
from C++, Python and Java using a simple object oriented approach.
It is possible to read grass voxel data directly as vtkImage data and
to write vtkImage data as grass voxel data. Hence all vtkImage
filtering classes can be used to process gis grass voxel data, here an
example module which reads and writes grass voxel data and uses the
vtkImageGaussianSmooth class from VTK to process the data:
http://code.google.com/p/vtk-grass-bridge/source/browse/trunk/Modules/Python/r3.gauss.smooth.py
Because of grass vector read and write support in vtk-grass-bridge,
any kind of grass vector data can be converted into grass voxel data
using VTK filtering classes.
The vtk-grass-bridge is still under developing and not stable, but
ready for experiments with grass and VTK.
Good night and good luck
Soeren
[1] http://code.google.com/p/vtk-grass-bridge
More information about the grass-dev
mailing list