[vtkusers] how can I instance a dynamic object like vtkPolydataReader
Jaufre Devosse
jaufre_devosse at yahoo.com
Sun Mar 2 11:01:34 EST 2003
I've made a xml file and include inside a data
object(vtkPolydata). How can I instance a object
vtkPolydataReader dynamicaly from a string which is
the name of the good reader.
example :
<root>
<vtkPolyDataReader>
<data compressed="yes" taille="3920">
.....all data for creating an object...
</data
</vtkPolyDataReader>
</root>
I catch the name of the tag "vtkPolyDataReader". SO,
how can I instance an object vtkPolyDataReader.
I've try
vtkObjectFactory::createInstance("vtkPolyDataReader")
but it seems to fail??
thank for helping me
Jaufre
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
More information about the vtkusers
mailing list