[GRASS-dev] 3D Vector to Voxel
Soeren Gebbert
soerengebbert at googlemail.com
Wed Sep 30 08:26:10 EDT 2009
Hello Ben,
2009/9/30 Benjamin Ducke <benjamin.ducke at oxfordarch.co.uk>:
> 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? ;)
The grass vector to VTK polydata writer is right on its way.
There is already a brand new grass vector writer class in
vtk-grass-bridge svn. :)
When the writer is ready i will provide a VTK Delaunay 2D filter module
for grass vector maps.
And if you ask for, i can provide the VTK and vtkGRASSBridge shared
libraries (compiled on SUSE Linux 11.1),
so you can test the module without compiling VTK and vtkGRASSBridge on
your machine.
Best regards
Soeren
btw:
I can bring an USB stick on 15 Oct. 2009. :D
>
> 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.
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
More information about the grass-dev
mailing list