[vtkusers] Thresholding vtkBandedPolyDataContourFilter

Jothybasu K Selvaraj jothybasu at gmail.com
Thu Mar 25 07:15:16 EDT 2010


Simple, turn clipping on!

Jothy

On Wed, Mar 24, 2010 at 4:53 PM, Jothybasu K Selvaraj
<jothybasu at gmail.com>wrote:

> Hi all,
>
> How to set the thresholf of vtkBandedPolyDataContourFilter?
>
> I want to generate values form, let's say 20 to 80, so I set
> GenerateValues(8,20,80).
>
> But the values less than 20 appears to be fully of same colour, I want to
> set this region totally transparent.
>
> I tried, Mapper.setScalarRange(20,80) and also mapper.SetScalarrange(0,8),
> as there may be eight colours.
>
> Whats wrong with this?
>
> Thanks
>
> Jothy
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100325/1c680009/attachment.htm>


More information about the vtkusers mailing list