[GRASS-dev] 3D Vector to Voxel

Benjamin Ducke benjamin.ducke at oxfordarch.co.uk
Wed Sep 30 08:08:49 EDT 2009


That looks very straight-forward. I don't know Python
either, though.
Could you write a little example script that runs the 
VTK Delaunay 2D filter on a GRASS points map, as well? ;)

Ben

----- Original Message -----
From: "Soeren Gebbert" <soerengebbert at googlemail.com>
To: "Benjamin Ducke" <benjamin.ducke at oxfordarch.co.uk>
Cc: "GRASS developers list" <grass-dev at lists.osgeo.org>
Sent: Tuesday, September 29, 2009 5:38:12 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
Subject: Re: [GRASS-dev] 3D Vector to Voxel


You don't need to learn C++. You can use Python or Java to connect
grass, vtkGRASSBridge and VTK.
And even TCL/TK if im going crazy and support the vtkTckTkWrapper. ;)

A simple Python example which will work right out of the box:

http://code.google.com/p/vtk-grass-bridge/source/browse/trunk/Examples/r.gauss.smooth

On command line call within the nc dataset:

python r.gauss.smooth input=lsat5_1987_10 output=test --o

Thats all :)

> Beń
>
> ----- Original Message -----
> From: "Soeren Gebbert" <soerengebbert at googlemail.com>
> To: "Benjamin Ducke" <benjamin.ducke at oxfordarch.co.uk>
> Cc: "GRASS developers list" <grass-dev at lists.osgeo.org>
> Sent: Tuesday, September 29, 2009 2:49:53 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
> Subject: Re: [GRASS-dev] 3D Vector to Voxel
>
> Hello Ben,
>
> 2009/9/21 Benjamin Ducke <benjamin.ducke at oxfordarch.co.uk>:
>> Hi all,
>>
>> I just saw a little GPL'd sofwtare that may provide a base for
>> a v.to.r3 module that could actually cast arbitrary vector geometries
>> to a voxel grid:
>
> Have a look at the vtkVoxelModeller class :
> http://www.vtk.org/doc/release/5.4/html/a01861.html
>
> or the vtkImplicitModeller class:
> http://www.vtk.org/doc/release/5.4/html/a00859.html
>
> Booth classes convert arbitrary datasets to a voxel representations.
>
> I have just committed a grass vector topology reader to the vtkGRASSBridge
> repository.
> Maybe you can now create voxel representations of 3d grass vector
> data, using GRAS, VTK and vtkGRASSBridge?
>
> Best regards
> Soeren
>
>>
>> http://www.cs.princeton.edu/~min/binvox/
>>
>> maybe someone would like to look at possibilities for integrating
>> this into GRASS?
>>
>> Best,
>>
>> Ben
>>
>>
>> ------
>> Files attached to this email may be in ISO 26300 format (OASIS Open Document Format). If you have difficulty opening them, please visit http://iso26300.info for more information.
>>
>> _______________________________________________
>> grass-dev mailing list
>> grass-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-dev
>>
>
>
>
> ------
> Files attached to this email may be in ISO 26300 format (OASIS Open Document Format). If you have difficulty opening them, please visit http://iso26300.info for more information.
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>



------
Files attached to this email may be in ISO 26300 format (OASIS Open Document Format). If you have difficulty opening them, please visit http://iso26300.info for more information.



More information about the grass-dev mailing list