<div dir="ltr">For VTK 5, you were on the right path of patching the source of VTK directly so your class can be taken as a first citizen.<div><br></div><div>Don't have much more information, you should try it out...</div>
<div><br></div><div>Seb</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 19, 2014 at 6:55 PM, Emptystack <span dir="ltr"><<a href="mailto:wulihouxiaoshuai@163.com" target="_blank">wulihouxiaoshuai@163.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What I have forgotten to say is I am using 5.10.1(very sorry), and the vtk<br>
module structure(module.cmake) belongs to VTK 6. So I have tried to add my<br>
class(.Cxx,.h) which is derived from vtkImageAlgorithm to the<br>
VTK5.10.1/Imageing directory, and modified the CmakeLists in the<br>
directory(Adding the .Cxx to KIT_SRCS), then I build the whole VTK.<br>
unfortunately,I cannot found my class in the build directory. Does the<br>
official website have detailed description of adding class to VTK source<br>
tree?<br>
Many thanks!<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/vtklocal-Java-wrap-tp5728245p5728298.html" target="_blank">http://vtk.1045678.n5.nabble.com/vtklocal-Java-wrap-tp5728245p5728298.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the VTK - Users mailing list archive at Nabble.com.<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://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div>