<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3157" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2>Both importers have GetRenderer methods which give
access to renderer. From that you can retrieve vtkActorCollection. Traverse the
collection to retrieve each actor. From actor you can retrieve its mapper (some
polydata mapper) and from mapper get its input which will be the polydata mesh.
I have not use this with vtkVRMLImporter but with vtk3DSImporter.</FONT></DIV>
<DIV><FONT face=Arial size=2>Vidyadhar</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=shriram.uc@gmail.com href="mailto:shriram.uc@gmail.com">Shriram
Iyer</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=vtkusers@vtk.org
href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, September 06, 2007 4:45
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [vtkusers] Loading VRML file
into a vtkActor</DIV>
<DIV><BR></DIV>Hi All,<BR><BR>I tried out the vtkVRMLImporter test. I want to
be able to load a VRML file, change its visibility, and move it around. Is
there a way to get the output of the importer into a polydatamapper and then
into an actor? I tried doing this with 3DS files too using vtk3DSImporter but
was unsuccessful. <BR><BR>Any help would be greatly
appreciated.<BR><BR>Shriram<BR></BLOCKQUOTE></BODY></HTML>