<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=big5">


<META content="MSHTML 5.50.4807.2300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=199543113-11112002><FONT face=Arial color=#0000ff size=2>I this 
particular case, vtkIdType* is a pointer to an array of integers.&nbsp; The 
wrapping mechanism isn't sophisticated enough to cast a native Java/Tcl/Python 
array to a C array, and so it skips the wrapping of that function.&nbsp; Often 
there will be a helper function to assist&nbsp;to do the equivalent of such 
a&nbsp;method from a scripted language.</FONT></SPAN></DIV>
<DIV><SPAN class=199543113-11112002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=199543113-11112002><FONT face=Arial color=#0000ff 
size=2>-dan</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<P><FONT face=Arial size=2>--</FONT> <BR><FONT face=Arial size=2>Daniel Blezek, 
Ph.D.</FONT> <BR><FONT face=Arial size=2>blezek@crd.ge.com</FONT> <BR><FONT 
face=Arial size=2>Visualization and Computer Vision Lab, Imaging 
Technologies</FONT> <BR><FONT face=Arial size=2>GE Global Research Center</FONT> 
</P>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Maybe 
  [mailto:maybe@caece.net]<BR><B>Sent:</B> Saturday, November 09, 2002 11:32 
  AM<BR><B>To:</B> vtkusers@public.kitware.com<BR><B>Subject:</B> [vtkusers] A 
  Problem of VTK Java Wrapping<BR><BR></FONT></DIV>
  <DIV><FONT size=2>&nbsp;&nbsp;&nbsp; I am a new hand of VTK and I use VTK by 
  Java wrapping. I found that vtk java wrapping</FONT></DIV>
  <DIV><FONT size=2>lacks some class functions, for example :</FONT></DIV>
  <DIV><FONT size=2></FONT>&nbsp;</DIV>
  <DIV><FONT size=2>vtkIdType vtkCellArray::InsertNextCell(vtkIdType npts, 
  vtkIdType* pts)</FONT></DIV>
  <DIV><FONT size=2></FONT>&nbsp;</DIV>
  <DIV><FONT size=2>Java wrapping seems to avoid functions including array 
  pointers (vtkIdType* pts).</FONT></DIV>
  <DIV><FONT size=2>How do I solve this problem, and&nbsp;is 
  this&nbsp;a&nbsp;critical&nbsp;problem ?</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT size=2></FONT>&nbsp;</DIV>
  <DIV><FONT size=2></FONT>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>