[vtkusers] how to make some of my data invisible

Jérôme jerome.velut at gmail.com
Mon Jun 6 02:57:16 EDT 2011


Hi,

I don't know if there is a function for this behaviour, but maybe you can
produce a fake invisibility with a sort of "scale scalar" : set 1 for valid
points, 0 for invalid and scale the glyph according to this scalar.

HTH
Jerome

2011/6/6 pratik <pratik.mallya at gmail.com>

> Hi everyone,
> I am writing a filter which takes one input and one source (it is a
> modified glyph filter). Some of my glyphs may be invalidated by the input,
> in which case i would like to keep them invisible. Is there a way to do this
> without modifiying the polydata instance in which i am storing the source? I
> have found that vtkPolyDataAppend to be a little bit slow, which is why i
> was hoping to simply make the rogue glyph invisible instead.
>
> thanks,
> pratik
> _______________________________________________
> 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/20110606/1b647de5/attachment.htm>


More information about the vtkusers mailing list