[GRASS-dev] GRASS and Paraview
soerengebbert at googlemail.com
Tue Feb 14 15:17:30 EST 2012
2012/2/14 Michael Barton <Michael.Barton at asu.edu>:
> Thanks Markus,
> But I don't quite understand how the bridge works. Do you run it from GRASS or ParaView, both or neither (i.e., from the terminal outside either program)?
The vtk-grass-bridge is a C++ library and must be compiled. I did not
test the compilation on Windows or Mac,
but it should work ..... in theory. The library depends on VTK,
cmake and of course on GRASS GIS 7.
A detailed compilation guide is available here:
Once compiled, the C++ classes can be used together with VTK classes
in GRASS GIS Python modules. Hence, all the shiny data processing
algorithms available in ParaView can be used directly with GRASS GIS
raster, vector and raster3d.
Have a look at the Python examples[3, 4, 5, 6]. Since these modules
are regular GRASS "programs" they must be executed in a grass7 shell.
> Also, I assume it must be compiled. Do you (or someone) know if it has been compiled for Windows and Mac as well as Linux?
> C. Michael Barton
> Visiting Scientist, Integrated Science Program
> National Center for Atmospheric Research &
> University Consortium for Atmospheric Research
> 303-497-2889 (voice)
> Director, Center for Social Dynamics & Complexity
> Professor of Anthropology, School of Human Evolution & Social Change
> Arizona State University
> www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
> On Feb 14, 2012, at 11:21 AM, Markus Neteler wrote:
>> On Tue, Feb 14, 2012 at 7:13 PM, Michael Barton <michael.barton at asu.edu> wrote:
>>> GRASS has r.out.vtk, v.out.vtk, and r3.out.vtk to export GRASS data to
>>> Paraview files.
>>> But how can I read Paraview files back into GRASS?
>> Please see
>> -> Import of VTK data into GRASS
> grass-dev mailing list
> grass-dev at lists.osgeo.org
More information about the grass-dev