Q: What is the sense in vtkGlyph3D, if it does not support custom-made source objects?

Malcolm Drummond mdrummon at csir.co.za
Fri Oct 24 13:09:02 EDT 2014


Hi Mirco

You could use vtkProgrammableGlyphFilter. There's a demo progGlyphs.tcl in the graphics directory

>>> Mirco Müller <mirco at pool.informatik.rwth-aachen.de> 03/31 4:20 PM >>>
Greetings vtkusers-list!

    For the last couple of weeks I have been trying almost everything I
can think of to force vtkGlyph3D to use a two-colored line as glyph for
some vector values attached to some points. But the original colors
(gradient from blue to white) I set for the line (this is a vtkPolyData)
are always overridden by vtkGlyph3D. I simply cannot prevent vtkGlyph3D
to do a "color-by-scalar/vector/scale" sort of thing.

    I do not want vtkGlyph3D to act like this. Is there really no other
way than to customize the class vtkGlyph3D myself?

Thanks in advance for your time and kind advice!

Best regards...

Mirco

--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------


--------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at public.kitware.com>. For help, send message body containing
"info vtkusers" to the same address.
--------------------------------------------------------------------



More information about the vtkusers mailing list