Hi, all<br><br>I am trying to use vtkScalarBarActor to reveal the distance between two surfaces. I read the example at <br><br><a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/ScalarBarActor">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/ScalarBarActor</a><br>
<br>However, the bottom and the top of the bar have the same color. Thus it cannot accurately reveal if the distance is the largest or smallest.<br><br>My question is, how can I change the color of the ends of the bar?<br>
<br>Many thanks.<br><br>Best wishes<br>Wenlong<br>