[vtkusers] Threshold in a volume

Jothy jothybasu at gmail.com
Wed Jul 14 06:08:31 EDT 2010


Try vtkPolyDataMapper()->SetScalarRange(yourMin,YourMax).


Jothy

On Wed, Jul 14, 2010 at 11:05 AM, Iliana García Resines <
iliana_lancing at hotmail.com> wrote:

>  Hello,
>
> I would like to know which is the best way of doing the following thing: I
> have a colored volume, with its values going from 0 to 100. I would like to
>  given a float parameter, hide all the points with value below this
> parameter, and keep showing the rest of the points. I guess there is some
> way in VTK to do this, but I wonder if it is a vtk procedure itself, or
> maybe some flag in the mapper I am using.
>
> Does someone knows how to perform this? I am using a vtkPolyDataMapper,
> which makes use of an own-defined Lookup Table.
>
> Thanks in advance
>
>
> ------------------------------
> Disfruta de Hotmail y Messenger en tu móvil con YOIGO. ¿A qué esperas?<http://serviciosmoviles.es.msn.com/messenger/yoigo.aspx>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK 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/20100714/3095a81b/attachment.htm>


More information about the vtkusers mailing list