<!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. 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. Often
there will be a helper function to assist to do the equivalent of such
a method from a scripted language.</FONT></SPAN></DIV>
<DIV><SPAN class=199543113-11112002><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=199543113-11112002><FONT face=Arial color=#0000ff
size=2>-dan</FONT></SPAN></DIV>
<DIV> </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> 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> </DIV>
<DIV><FONT size=2>vtkIdType vtkCellArray::InsertNextCell(vtkIdType npts,
vtkIdType* pts)</FONT></DIV>
<DIV><FONT size=2></FONT> </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 is
this a critical problem ?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV></BLOCKQUOTE></BODY></HTML>