[vtkusers] Turning off the active scalar

Yianis Nikolaou yianisn at gmail.com
Wed Jul 13 05:40:59 EDT 2005


If you want your objects not to be colored
by scalar values, you can use

virtual void vtkMapper::ScalarVisibilityOff ( ) [virtual] 
Turn on/off flag to control whether scalar data is used to color objects. 


hope this helps,
yianis

On 7/8/05, Jeremy Stout <stout.jeremy at gmail.com> wrote:
> 
> Is there a function where I can turn off the active scalar for a
> vtkDataSet? I am writing a program where the user needs to have the
> ability to set it and then turn it off. I've tried passing null to
> SetActiveScalars, but that only results in the program crashing.
> 
> Jeremy Stout
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: 
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20050713/53be9f64/attachment.htm>


More information about the vtkusers mailing list