In vtk 5, you have only 17 "kits" (vtkRendering, vtkIO, vtkInfoVis etc) to choose from. So you can't easily get the really small library you seek. You could of course rip things out from the source code and its cmakelists.txt files manually but that is tedious. <div>
<br></div><div>Vtk 6 is designed to do what you want. It will have a much finer granularity, with more than 100 "modules" to choose from and better documented dependencies among them. So I suggest you star with git master and try what will become vtk 6.<span></span><div>
<br>On Saturday, June 23, 2012, Sathish wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Dear Brieda,<br>
<br>
Thanks for your response. According to your suggestion I need to add
all the dll files to jar. But I expect only dlls that required by my
application. Consider the requirement is only for a single platform.<br>
<br>
For example, I am using vtkCanvas, vtkDICOMImageReader,
vtkPiecewiseFunction and few other classes in my program. But now I
need all the VTK DLLs should be in the library path. Because they
are linked each other. But what I am expecting is, to build the VTK
with less classes and generate Java wrapper only for those classes.
<br>
<br>
<b>I just want the compact version of VTK with selected classes </b>(Customized
compilation).<br>
<br>
By this I can reduce wrapper size and avoid whole VTK compilation. <br>
<br>
Hope now you can clearly understand my requirements.<br>
<br>
--<br>
Sathish<br>
<br>
On Friday 22 June 2012 06:12 PM, Lubos Brieda wrote:
<blockquote type="cite">
<div style="font-size:10pt;font-family:arial,helvetica,sans-serif">
<div><span><font>Sathish, you can include the VTK
wrapper the DLLs in your jar file and deploy them on
loading. I have done this repeatedly in the past. The only
caveat is that you need to include DLLs for all the
platforms where your Java program is expected to be run.</font></span></div>
<div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><br>
</div>
<div style="font-size:10pt;font-family:arial,helvetica,sans-serif">
<div style="font-size:12pt;font-family:'times new roman','new york',times,serif">
<div dir="ltr"> <font face="Arial">
<hr size="1"> <b><span style="font-weight:bold">From:</span></b>
Sathish <a href="javascript:_e({}, 'cvml', 'kingvsk@aol.com');" target="_blank"><kingvsk@aol.com></a><br>
<b><span style="font-weight:bold">To:</span></b>
<a href="javascript:_e({}, 'cvml', 'vtkusers@vtk.org');" target="_blank">vtkusers@vtk.org</a> <br>
<b><span style="font-weight:bold">Sent:</span></b>
Friday, June 22, 2012 8:33 AM<br>
<b><span style="font-weight:bold">Subject:</span></b>
[vtkusers] Is it possible to generate the VTK Java
Wrapper ans dynamic libraries with minimal classes?<br>
</font> </div>
<br>
Hi all...<br>
<br>
Is it possible to generate the VTK Java Wrapper and dynamic
libraries with minimal classes?<br>
Anybody tried or have any ideas?<br>
<br>
Regards,<br>
Sathish<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at:
<a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
<br>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote></div></div><br><br>-- <br>David E DeMarle<br>Kitware, Inc.<br>R&D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909<br>