<html>
The vtkScalarBarActor is not limited to the range 0 to 1. Did you
set the ScalarRange of vtkElevationFilter? It defaults to the range
0 to 1, so if you didn't set it to something else, that would explain the
range of your scalar bar actor.<br>
<br>
- Amy<br>
<br>
At 11:14 AM 8/15/2001 +1000, Andrew J. P. Maclean wrote:<br>
<br>
<blockquote type=cite cite><font face="arial" size=2>Does the scalar bar
actor only have a range of 0 to 1? Whatever I do, I can only get a range
of 0 to 1. In contrast if I use vtkAxes, the dimensions of the object are
reflected correctly. Why does vtkaxes work in the expected fashion and
the Scalar Bar actor doesn t? I am using vtkElevationFilter and then
feeding the scalar range from this into the lookup table (it always seems
to range from 0 to 1). So I guess it is something to do with the
filtering at this stage. I want the scalar bar to reflect the colours of
a height map on the surface.<br>
</font><br>
<font face="arial" size=2> <br>
</font><br>
<font face="arial" size=2>I looked for examples and found
MultidimensionalSolution.tcl, PropPicker.tcl and ScalarBar.tcl, however
all of these render a scalar bar with a range of 0 to 1. <br>
</font><br>
<font face="arial" size=2> <br>
</font><br>
<font face="arial" size=2>Thanks<br>
</font><br>
<font face="arial" size=2> Andrew<br>
</font><br>
<h3><font face="verdana" size=2 color="#330099"><b>___________________________________________<br>
</b></font>Andrew J. P. Maclean</h3><br>
<br>
<font face="verdana" size=2>Postal:<br>
</font><br>
<font face="verdana" size=2>Australian Centre for Field Robotics<br>
The Rose Street Building J04<br>
The University of Sydney 2006 NSW<br>
AUSTRALIA<br>
</font><br>
<font face="verdana" size=2>Room:<br>
</font><br>
<font face="verdana" size=2>106<br>
</font><br>
<font face="verdana" size=2>Phone:<br>
</font><br>
<font face="verdana" size=2>+61 2 9351 3283<br>
</font><br>
<font face="verdana" size=2>Fax:<br>
</font><br>
<font face="verdana" size=2>+61 2 9351 7474<br>
</font><br>
<font face="verdana" size=2> <br>
</font><br>
<font face="verdana" size=2><a href="http://www.acfr.usyd.edu.au/">http://www.acfr.usyd.edu.au/</a><br>
</font><br>
<font face="verdana" size=2 color="#330099"><b>___________________________________________<br>
</b></font><br>
<font face="Times New Roman, Times"> </font></blockquote></html>