[Opengeoscience-developers] OpenGeoscience branch, colormap, created. 5e6484ef1e665b58f60a5ae0695e0882d23f429c
Dave DeMarle
dave.demarle at kitware.com
Wed May 1 08:21:19 EDT 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "OpenGeoscience".
The branch, colormap has been created
at 5e6484ef1e665b58f60a5ae0695e0882d23f429c (commit)
- Log -----------------------------------------------------------------
http://public.kitware.com/gitweb?p=OpenGeoscience/geoweb.git;a=commitdiff;h=5e6484ef1e665b58f60a5ae0695e0882d23f429c
commit 5e6484ef1e665b58f60a5ae0695e0882d23f429c
Author: Dave DeMarle <dave.demarle at kitware.com>
Date: Tue Apr 30 23:28:31 2013 -0400
Add color map capability to vgl proper.
The attribute storage mode detected by the geojsonreader now
propagates to the geometryFeature, which creates the
appropriate shader, with either a constant color, or interpolated
colors, or interpolated values mapped through a lookup table.
modules/ogsvtk.py | 4 -
modules/vtk_reader.py | 1 +
web/lib/geo/feature.js | 16 +++-
web/lib/vgl/geojsonReader.js | 38 +++++-----
web/lib/vgl/texture.js | 1 -
web/lib/vgl/utils.js | 176 +++++++++++++++++++++++++++++++++++++++++-
web/lib/vgl/vtkUnpack.js | 2 +-
7 files changed, 209 insertions(+), 29 deletions(-)
http://public.kitware.com/gitweb?p=OpenGeoscience/geoweb.git;a=commitdiff;h=688b679b306f351f11413589f99dd03c04eef8b5
commit 688b679b306f351f11413589f99dd03c04eef8b5
Author: Dave DeMarle <dave.demarle at kitware.com>
Date: Tue Apr 30 09:31:22 2013 -0400
add color map
vtkgeojson writer now takes a flag that makes it produce no scalars,
scalars mapped through lookuptable into rgb, or direct scalars.
geojson reader now recognizes which one it is reading
texture.js now has a lookupTable class which maps direct scalars
on points through a table of colors
ogsvtk.py now demonstrates using this to draw by interpolating
scalars across triangles instead of colors.
geoweb.py | 5 +
modules/ogsvtk.py | 523 +++++++++++++++++++++++++++++++++++-------
web/lib/vgl/geojsonReader.js | 170 +++++++-------
web/lib/vgl/texture.js | 114 +++++++++-
4 files changed, 641 insertions(+), 171 deletions(-)
-----------------------------------------------------------------------
hooks/post-receive
--
OpenGeoscience
More information about the Opengeoscience-developers
mailing list