If you want your objects not to be colored<br>
by scalar values, you can use<br>
<br>
virtual void vtkMapper::ScalarVisibilityOff&nbsp; ( )&nbsp; [virtual] <br>
&nbsp;&nbsp; Turn on/off flag to control whether scalar data is used to color objects. <br>
&nbsp;<br>
<br>
hope this helps,<br>
yianis<br><br><div><span class="gmail_quote">On 7/8/05, <b class="gmail_sendername">Jeremy Stout</b> &lt;<a href="mailto:stout.jeremy@gmail.com">stout.jeremy@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Is there a function where I can turn off the active scalar for a<br>vtkDataSet? I am writing a program where the user needs to have the<br>ability to set it and then turn it off. I've tried passing null to<br>SetActiveScalars, but that only results in the program crashing.
<br><br>Jeremy Stout<br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ
</a><br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></blockquote></div><br>