<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4913.1100" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN
class=171360501-23042002>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=171360501-23042002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=171360501-23042002>I'm looking for
advice or demo code to make a terrain-height array into a 3D histogram array,
similar to simple spreadsheet displays of arays of data.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=171360501-23042002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=171360501-23042002>I have a 2
dimensional array of data, call it a landscape or terrain for ease of
description, although it's really just a 2D matrix of numbers. The array
has scalar height item at each point of the (regular) array. I've got code
to display this as a synthetic "terrain", coloured by height from a LUT,
using a chain of vtkStructuredPointsReader ->
vtkStructuredPointsGeometryFilter -> vtkWarpScalar -> vtkCastToConcrete
-.vtkPolyDataNormals -> vtkPolyDataMapper, with LUT feeding into
mapper. I can put glyphs (like squares) at the data points and warp them to
the right height, colour them with a LUT etc.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=171360501-23042002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=171360501-23042002>I'm just having a
headache trying to use a cube glyph, and warp it's height to the correct value
to make a 3D histogram. The extra "dimension" of warping the size ratehr than
position of the glyph is defeating me. Any tips appreciated.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=171360501-23042002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=171360501-23042002>Thanks,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=171360501-23042002>Greg.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=171360501-23042002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=171360501-23042002></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=171360501-23042002></SPAN></FONT><FONT
face=Arial size=2><EM>Greg Edwards,</EM></FONT> <BR><I><FONT face=Arial
size=2>Simulation Group,</FONT> <FONT face=Arial size=2>Electronic</FONT> <FONT
face=Arial size=2>Systems Division, Tenix Defence</FONT> <FONT face=Arial
size=2>Pty Ltd</FONT><FONT face=Arial size=2>, </FONT></I><BR><I><FONT
face=Arial size=2>100 Arthur St, North Sydney, NSW, 2060.</FONT></I>
<BR><I><FONT face=Arial size=2>+ 61 2 9963 9600 sw, 9963 9725 desk, 9964 0988
fax, 0419 570 546 mobile</FONT></I> <BR><I><FONT face=Arial
size=2>greg.edwards@tenix.com</FONT></I> </DIV>
<DIV> </DIV></BODY></HTML>