<DIV>Hi All,<BR>I am new to vtk and have the follownig:<BR>I have an OOGL file and would like to read it into vtk<BR>and then save it as ppm. would someone please show me<BR>an example.&nbsp; much appreciated.<BR>Jacob<BR><BR><BR><B><I>vtkusers-request@vtk.org</I></B> wrote:
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Send vtkusers mailing list submissions to<BR>vtkusers@vtk.org<BR><BR>To subscribe or unsubscribe via the World Wide Web, visit<BR>http://www.vtk.org/mailman/listinfo/vtkusers<BR>or, via email, send a message with subject or body 'help' to<BR>vtkusers-request@vtk.org<BR><BR>You can reach the person managing the list at<BR>vtkusers-owner@vtk.org<BR><BR>When replying, please edit your Subject line so it is more specific<BR>than "Re: Contents of vtkusers digest..."<BR><BR><BR>Today's Topics:<BR><BR>1. A couple questions about vtkPanel and vtk3DSImporter<BR>(Terry Jordan)<BR>2. Re: Odd linking errors when using the IO library with C++<BR>(Mathieu Malaterre)<BR><BR><BR>----------------------------------------------------------------------<BR><BR>Message: 1<BR>Date: Fri, 24 Sep 2004 10:59:57 -0400<BR>From: "Terry Jordan" <TERRY.JORDAN@RE.NETL.DOE.GOV><BR>Subject: [vtkusers] A couple
 questions about vtkPanel and<BR>vtk3DSImporter<BR>To: <VTKUSERS@VTK.ORG><BR>Message-ID: <S153FE44.038@CO.MGN.NETL.DOE.GOV><BR>Content-Type: text/plain; charset=US-ASCII<BR><BR>I am writing a java applications with a vtkPanel in which a<BR>vtk3DSImporter is rendered.<BR><BR>Questions:<BR>1) Does vtk3DSImporter support texture maps? If so how can it be done?<BR><BR>2) I want to remove 3DS models from my vtkPanel. How can this be done?<BR><BR>A snippet of my code:<BR><BR>renderPanel = new vtkPanel();<BR>the3dsImporter = new vtk3DSImporter();<BR>the3dsImporter.ComputeNormalsOn();<BR>the3dsImporter.SetRenderWindow<BR>renderPanel.GetRenderWindow());<BR>the3dsImporter.SetFileName(filename.3ds);<BR>the3dsImporter.Read();<BR><BR>Thanks in advance.<BR><BR>Terry E. Jordan Jr.<BR>Computer Engineer/Computer Scientist<BR>REM Engineering Services<BR>Morgantown, WV 26505<BR><BR><BR>------------------------------<BR><BR>Message: 2<BR>Date: Fri, 24 Sep 2004 11:06:20 -0400<BR>From: Mathieu Malaterre
 <MATHIEU.MALATERRE@KITWARE.COM><BR>Subject: Re: [vtkusers] Odd linking errors when using the IO library<BR>with C++<BR>To: Morten Stakkeland <STAKKELA@STUDENT.MATNAT.UIO.NO>, vtkusers<BR><VTKUSERS@VTK.ORG><BR>Message-ID: &lt;415437EC.7010001@kitware.com&gt;<BR>Content-Type: text/plain; charset=us-ascii; format=flowed<BR><BR>Morten,<BR><BR>Are you using cmake? If so:<BR><BR>FIND_PACKAGE(VTK)<BR>IF (VTK_FOUND)<BR>INCLUDE (${VTK_USE_FILE})<BR>ENDIF (VTK_FOUND)<BR><BR><BR>ADD_EXECUTABLE(tiff tiff.cxx )<BR>TARGET_LINK_LIBRARIES (tiff<BR>vtkIO<BR>)<BR><BR>HTH<BR>Mathieu<BR><BR><BR><BR>Morten Stakkeland wrote:<BR>&gt; Thanks. Pretty easy when you know how to do it ;-D<BR>&gt; <BR>&gt; Morten<BR>&gt; <BR>&gt; On Fri, 24 Sep 2004, Mathieu Malaterre wrote:<BR>&gt; <BR>&gt; <BR>&gt;&gt;Morten,<BR>&gt;&gt;<BR>&gt;&gt; You need to link your exe to vtkIO.<BR>&gt;&gt;<BR>&gt;&gt;HTH<BR>&gt;&gt;Mathieu<BR>&gt;&gt;<BR>&gt;&gt;Morten Stakkeland
 wrote:<BR>&gt;&gt;<BR>&gt;&gt;&gt;Hi,<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;I am trying to set up VTK 4.2 in a cygwin environment in windows XP (for<BR>&gt;&gt;&gt;the first time). Everything seems to work perfectly, except when I try<BR>&gt;&gt;&gt;importing any class from the IO-library. For instance when trying to<BR>&gt;&gt;&gt;compile the following code:<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;#include<VTKTIFFREADER.H><BR>&gt;&gt;&gt;int main()<BR>&gt;&gt;&gt;{<BR>&gt;&gt;&gt; vtkTIFFReader* test=vtkTIFFReader::New();<BR>&gt;&gt;&gt;}<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;I get the following output:<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;$ make<BR>&gt;&gt;&gt;Building dependencies cmake.check_depends...<BR>&gt;&gt;&gt;-- Loading VTK CMake commands<BR>&gt;&gt;&gt;-- Loading VTK CMake commands - done<BR>&gt;&gt;&gt;Building object file MarFrame.o...<BR>&gt;&gt;&gt;Building executable /cygdrive/p/visual/mar_envir/MarFrame.exe...<BR>&gt;&gt;&gt;MarFrame.o(.text+0x1f):MarFrame.cpp: undefined reference
 to<BR>&gt;&gt;&gt;`__imp___ZN13vtkTIFFReader3NewEv'<BR>&gt;&gt;&gt;collect2: ld returned 1 exit status<BR>&gt;&gt;&gt;make[1]: *** [/cygdrive/p/visual/mar_envir/MarFrame.exe] Error 1<BR>&gt;&gt;&gt;make: *** [default_target] Error 2<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;The same linking error appears whenever I try to instantiate a class from<BR>&gt;&gt;&gt;the IO library. Any help would be appreciated...<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;Regards,<BR>&gt;&gt;&gt;Morten<BR>&gt;&gt;&gt;_______________________________________________<BR>&gt;&gt;&gt;This is the private VTK discussion list.<BR>&gt;&gt;&gt;Please keep messages on-topic. Check the FAQ at: <HTTP: vtkfaq cgi-bin public.kitware.com><BR>&gt;&gt;&gt;Follow this link to subscribe/unsubscribe:<BR>&gt;&gt;&gt;http://www.vtk.org/mailman/listinfo/vtkusers<BR>&gt;&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;
 <BR><BR><BR><BR><BR><BR>------------------------------<BR><BR>_______________________________________________<BR>vtkusers mailing list<BR>vtkusers@vtk.org<BR>http://www.vtk.org/mailman/listinfo/vtkusers<BR><BR><BR>End of vtkusers Digest, Vol 5, Issue 62<BR>***************************************<BR></BLOCKQUOTE></DIV><p>
                <hr size=1>Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/mail_us/taglines/aac/*http://promotions.yahoo.com/new_mail/static/ease.html">Yahoo! Mail Address AutoComplete</a> - You start. We finish.