matt_bali | 24 Jun 2012 05:34

Arbitrary vtk object to PolyDataMapper

Hi,

I'm very new to Mayavi and confused about various objects and their structure.
Documentation and docstrings is great, thanks. Without it I couldn't even start

I want to convert object to PolyDataMapper because I want to get color lookup table information which seems
lost when saving object as OBJ (Wavefront)

For example I made tvtk.ImageData object, but simply passing it to tvtk.PolyDataMapper as argument in a
hope to get converted object is not possible: "AttributeError: 'ImageData' object has no attribute 'IsA'"
So I guess I'm doing it wrong, and thought to ask for help

Thanks

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

Gmane