[GRASS-dev] 3D Vector to Voxel
soerengebbert at googlemail.com
Tue Sep 29 11:38:12 EDT 2009
2009/9/29 Benjamin Ducke <benjamin.ducke at oxfordarch.co.uk>:
> That looks really useful. There is probably a myriad of other
> classes in VTK that could be used by GRASS modules, too.
> I guess the best way would be to write some add-on
> modules that depend on VTK and the GRASS bridge and
> expose some VTK classes to the GRASS CLI.
> However, then I would have to learn C++ ;)
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:
On command line call within the nc dataset:
python r.gauss.smooth input=lsat5_1987_10 output=test --o
Thats all :)
> How about the OpenGL coordinate precision problem?
I guess the problem is still there, i haven't tested it recently.
> ----- 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 :
> or the vtkImplicitModeller class:
> Booth classes convert arbitrary datasets to a voxel representations.
> I have just committed a grass vector topology reader to the vtkGRASSBridge
> Maybe you can now create voxel representations of 3d grass vector
> data, using GRAS, VTK and vtkGRASSBridge?
> Best regards
>> maybe someone would like to look at possibilities for integrating
>> this into GRASS?
>> 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
> 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
More information about the grass-dev