Hello Ben, 2009/9/29 Benjamin Ducke <benjamin.du...@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.
Indeed. > > 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: 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 :) > > How about the OpenGL coordinate precision problem? I guess the problem is still there, i haven't tested it recently. Best regards Soeren > > Beń > > ----- Original Message ----- > From: "Soeren Gebbert" <soerengebb...@googlemail.com> > To: "Benjamin Ducke" <benjamin.du...@oxfordarch.co.uk> > Cc: "GRASS developers list" <grass-dev@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.du...@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@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@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/grass-dev > _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev