<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-2022-jp">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=139262022-31032003><FONT face=Arial color=#0000ff size=2>Hello 
there,</FONT></SPAN></DIV>
<DIV><SPAN class=139262022-31032003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=139262022-31032003><FONT face=Arial color=#0000ff size=2>The 
following is C++ source code about how to use 
vtkMultiProcessController,</FONT></SPAN></DIV>
<DIV><SPAN class=139262022-31032003><FONT face=Arial color=#0000ff size=2>Could 
you please help me to find out the corresponding JAVA API for these 
methods?</FONT></SPAN></DIV>
<DIV><SPAN class=139262022-31032003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=139262022-31032003><FONT face=Arial color=#0000ff size=2>&nbsp; 
vtkMultiProcessController *controller;</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=139262022-31032003><FONT face=Arial color=#0000ff size=2>&nbsp; 
controller = vtkMultiProcessController();</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV><SPAN class=139262022-31032003><FONT face=Arial color=#0000ff size=2>&nbsp; 
controller.Initialize(&amp;argc, 
&amp;argv);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
-------&gt; What is java API for this funciton?<BR>&nbsp; 
controller.SetNumberOfProcesses(2);<BR>&nbsp; controller.SetMultipleMethod(0, 
process_b, NULL); -----&gt; what is Java API for this 
funciton?</FONT></SPAN></DIV>
<DIV><SPAN class=139262022-31032003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=139262022-31032003><FONT face=Arial color=#0000ff size=2>In 
addition, process_b is defined in C++ as below</FONT></SPAN></DIV>
<DIV><SPAN class=139262022-31032003><FONT face=Arial color=#0000ff size=2>void 
process_a(vtkMultiProcessController *controller, void *vtkNotUsed(arg) 
)</FONT></SPAN></DIV>
<DIV><SPAN class=139262022-31032003><FONT face=Arial color=#0000ff size=2>How do 
I define a corresponding function is Java?</FONT></SPAN></DIV>
<DIV><SPAN class=139262022-31032003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=139262022-31032003><FONT face=Arial color=#0000ff size=2>Thanks 
in advance!</FONT></SPAN></DIV>
<DIV><SPAN class=139262022-31032003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=139262022-31032003><FONT face=Arial color=#0000ff 
size=2>Henry</DIV>
<DIV><BR>&nbsp; </FONT></SPAN></DIV></BODY></HTML>