[vtkusers] RE: vtkusers digest,

Baki Onur Gür (ARGE-VESTMAN) baki.gur at vestel.com.tr
Thu Aug 29 07:44:49 EDT 2002


> -----Original Message-----
> From:	vtkusers-request at public.kitware.com
> [SMTP:vtkusers-request at public.kitware.com]
> Sent:	Thursday, August 29, 2002 2:46 PM
> To:	vtkusers at public.kitware.com
> Subject:	vtkusers digest, Vol 1 #1215 - 4 msgs
> 
> Send vtkusers mailing list submissions to
> 	vtkusers at public.kitware.com
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://public.kitware.com/mailman/listinfo/vtkusers
> or, via email, send a message with subject or body 'help' to
> 	vtkusers-request at public.kitware.com
> 
> You can reach the person managing the list at
> 	vtkusers-admin at public.kitware.com
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of vtkusers digest..."
> 
> 
> Today's Topics:
> 
>    1. help (=?iso-8859-9?Q?Baki_Onur_G=FCr_=28ARGE-VESTMAN=29?=)
>    2. Re: parallel library (Jeff Lee)
>    3. changing transfer functions interactively ? (Steffen Oeltze)
>    4. RE: vtk and Java and VJ# (Bob Palank)
> 
> --__--__--
> 
> Message: 1
> From: =?iso-8859-9?Q?Baki_Onur_G=FCr_=28ARGE-VESTMAN=29?=
> <baki.gur at vestel.com.tr>
> To: vtkusers at public.kitware.com
> Date: Thu, 29 Aug 2002 13:35:10 +0300
> Subject: [vtkusers] help
> 
> 
> 
> > -----Original Message-----
> > From:	vtkusers-request at public.kitware.com
> > [SMTP:vtkusers-request at public.kitware.com]
> > Sent:	Thursday, August 29, 2002 1:38 PM
> > To:	vtkusers at public.kitware.com
> > Subject:	vtkusers digest, Vol 1 #1214 - 6 msgs
> > 
> > Send vtkusers mailing list submissions to
> > 	vtkusers at public.kitware.com
> > 
> > To subscribe or unsubscribe via the World Wide Web, visit
> > 	http://public.kitware.com/mailman/listinfo/vtkusers
> > or, via email, send a message with subject or body 'help' to
> > 	vtkusers-request at public.kitware.com
> > 
> > You can reach the person managing the list at
> > 	vtkusers-admin at public.kitware.com
> > 
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of vtkusers digest..."
> > 
> > 
> > Today's Topics:
> > 
> >    1. UnsatisfiedLinkError java +unix+solaris (Kumar, Preethish M (MED))
> >    2. Re: Re: Re: Re: Building VTK with Kylix bc++ (Stefan Bruckner)
> >    3. Antw: [vtkusers] 'Undefined Reference' while compiling? (Gregory
> > Bleiker)
> >    4. vtkRnendererCollection problem with java (Simon Chatelain)
> >    5. About vtkDataObjectToDataSetFilter (Guangning Pei)
> >    6. Re: Re: Re: Re: Re: Building VTK with Kylix bc++ (John
> Biddiscombe)
> > 
> > -- __--__-- 
> > 
> > Message: 1
> > From: "Kumar, Preethish M (MED)" <PreethishK at geind.ge.com>
> > To: vtkusers at public.kitware.com
> > Date: Thu, 29 Aug 2002 09:36:14 +0530
> > Subject: [vtkusers] UnsatisfiedLinkError java +unix+solaris
> > 
> > hai,
> > 
> >    i installed the vtk with --with-java and --with-shared option and
> > make.everything went fine.after that i set LD_LIBRARY_PATH to every *.so
> > file generated and compiled  and ran Regression.java. i got the
> following
> > unsatisfied link error.can any one help.thank u in advance
> > 
> > 
> > Exception in thread "main" java.lang.UnsatisfiedLinkError: no vtkJava in
> > java.library.path
> >         at java.lang.Throwable.fillInStackTrace(Native Method)
> >         at java.lang.Throwable.fillInStackTrace(Compiled Code)
> >         at java.lang.Throwable.<init>(Compiled Code)
> >         at java.lang.Error.<init>(Error.java:50)
> >         at java.lang.LinkageError.<init>(LinkageError.java:43)
> >         at
> > java.lang.UnsatisfiedLinkError.<init>(UnsatisfiedLinkError.java:42)
> >         at java.lang.ClassLoader.loadLibrary(Compiled Code)
> >         at java.lang.Runtime.loadLibrary0(Runtime.java:473)
> >         at java.lang.System.loadLibrary(System.java:778)
> >         at <Unloaded Method>
> > 
> > 
> > "THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
> > ADDRESSEE and may contain confidential and privileged information.
> > If the reader of this message is not the intended recipient,
> > you are notified that any dissemination, distribution or copy of this 
> > communication is strictly Prohibited. 
> > If you have received this message by error, please notify us 
> > immediately, return the original mail to the sender and delete the 
> > message from your system."
> > 
> > 
> > -- __--__-- 
> > 
> > Message: 2
> > From: Stefan Bruckner <stefan.bruckner at chello.at>
> > To: vtkusers at public.kitware.com
> > Date: 29 Aug 2002 07:13:32 +0200
> > Subject: [vtkusers] Re: Re: Re: Re: Building VTK with Kylix bc++
> > 
> > Thanks for you help, I have managed to build VTK with Kylix (which also
> > involved some source changes, because bc++ handles some things very
> > differently than "usual" UNIX compilers ... additionally the command
> > line syntax of the compiler is so much different from what cmake expects
> > that manually editing the generated makefiles was the only solution I
> > found).
> > 
> > However, since several other issues have arisen I have found that
> > integrating VTK and Kylix is probably not feasable at the moment ... 
> > 
> > For other users who want to try this, I suggest to wait till bc++ and
> > gcc produce ABI compatible libraries (which might take some time) ...
> > 
> > Thanks again for your support!
> > 
> > --
> > Stefan Bruckner
> > 
> > 
> > Am Mit, 2002-08-28 um 15.19 schrieb William A. Hoffman:
> > > This does not look like any of those problems.
> > > It looks like:
> > > 
> > > bcc++ mkg3states.o -L/usr/src/packages/SOURCES/VTK/bin -lpthread -ldl
> > > -lm -Wl,-rpath,/usr/src/packages/SOURCES/VTK/bin  -o
> > > /usr/src/packages/SOURCES/VTK/bin/mkg3states
> > > 
> > > Is trying to compile a .cpp file and not create an executable like one
> > > would expect.
> > > 
> > > Can you try building an executable from the command line?
> > > 
> > > Start with the above command, and start removing things until it
> works.
> > > Does this work:
> > > bcc++ mkg3states.o -o mkg3states
> > > 
> > > What on the command line is causing it to fail?
> > > 
> > > -Bill
> > > 
> > > 
> > > At 11:55 PM 8/27/2002 +0200, Stefan Bruckner wrote:
> > > >I have tried the -tD flag for building shared libraries and the -VC
> > flag
> > > >for position independent code, but when I build I always get:
> > > >
> > > >Borland C++ 5.7 Open Edition Copyright (c) 1987, 2002 Borland
> > > >/usr/src/packages/SOURCES/VTK/Utilities/tiff/mkg3states.c:
> > > >Warning W8065
> /usr/src/packages/SOURCES/VTK/Utilities/tiff/mkg3states.c
> > > >383: Call to function 'getopt' with no prototype in function main
> > > >bc++   mkg3states.o  -L/usr/src/packages/SOURCES/VTK/bin -lpthread
> -ldl
> > > >-lm -Wl,-rpath,/usr/src/packages/SOURCES/VTK/bin  -o
> > > >/usr/src/packages/SOURCES/VTK/bin/mkg3states
> > > >Borland C++ 5.7 Open Edition Copyright (c) 1987, 2002 Borland
> > > >Error E2194: Could not find file
> > > >'/usr/src/packages/SOURCES/VTK/bin/mkg3states.cpp'
> > > 
> > 
> > 
> > 
> > -- __--__-- 
> > 
> > Message: 3
> > Date: Thu, 29 Aug 2002 08:58:31 +0200
> > From: "Gregory Bleiker" <gregory.bleiker at phonak.ch>
> > To: <bertvansesamstraat at hotmail.com>, <vtkusers at public.kitware.com>
> > Subject: Antw: [vtkusers] 'Undefined Reference' while compiling?
> > 
> > Hi Bert and all
> > This is a rather annoying situation and there has been a few posts
> earlier
> > =
> > on revering to similar problems. Maybe a tutorial can be found
> somewhere?
> > =
> > Anyway, compiling and (especially) linking the VTK stuff is not as
> simple
> > =
> > as it looks. In your case, you include the vtkCommon library first and =
> > that's why you will get the link errors. Including the libs in the =
> > following way will probably help:
> > 
> > -lvtkIO  -lvtkRendering  -lvtkGraphics -IvtkImaging  -lvtkjpeg -lvtkpng
> =
> > -lvtkzlib -lvtkFiltering -lvtkCommon -lopengl32
> > 
> > BUT: It is probably the best idea to use CMake to generate the makefile
> =
> > for you (see page 31 of VTK User's Guide). This approach is good, but
> gets
> > =
> > you into a bit of trouble if you want to use the GNU autoconf/libtool =
> > approach as you will have to if you want to use FOX, for example. If =
> > anybody can tell me how to get past that rock I would highly appreciate
> =
> > it.
> > 
> > Hope this helps
> > Gregi
> > 
> > 
> > 
> > -- __--__-- 
> > 
> > Message: 4
> > From: "Simon Chatelain" <simon.chatelain at epfl.ch>
> > To: "vtkmailinlist" <vtkusers at public.kitware.com>
> > Date: Thu, 29 Aug 2002 09:23:00 +0200
> > Subject: [vtkusers] vtkRnendererCollection problem with java
> > 
> > Hello,
> > 
> > I have an java/VTK application. I'm using jdk 1.4.0 and VTK 4.0.
> > In my application, i have a vtkRenderWindow with some vtkRenderer with
> > different viewport.
> > Like in the vtkPanel class, i check the number of actors in the
> differents
> > renderer.
> > 
> > I try with two different methods:
> > 1)
> > 
> > 	vtkRendererCollection rcoll = this.rw.GetRenderers();
> > 	rcoll.InitTraversal();
> > 
> > 	int nbren = rcoll.GetNumberOfItems();
> > 	int nbActor = 0;
> > 	for (int i=0;i<nbren;i++)
> > 	{
> > 		vtkRenderer ren = rcoll.GetNextItem();
> > 		nbActor += ren.VisibleActorCount();
> > 	}
> > 	return nbActor;
> > 
> > this methods create (often but not always) the following exception:
> > 
> > 	An unexpected exception has been detected in native code outside the
> > VM.
> > 	Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at
> > PC=0xAE3E4B0
> > 	Function=vtkCollection::GetNumberOfItems+0x0
> > 	Library=C:\WINDOWS\System32\vtkCommon.dll
> > 
> > 	Current Java thread:
> >         at vtk.vtkCollection.GetNumberOfItems_8(Native Method)
> >         at vtk.vtkCollection.GetNumberOfItems(vtkCollection.java:44)
> >         at VTKPanel.visibleActor(VTKPanel.java:53)
> >         - locked <02FF16F0> (a VTKPanel)
> >         at VTKPanel.Render(VTKPanel.java:105)
> >         - locked <02FF16F0> (a VTKPanel)
> >         at vtk.vtkPanel.paint(vtkPanel.java:51)
> >         at sun.awt.RepaintArea.paint(RepaintArea.java:180)
> >         at
> > sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:260) ...
> > 
> > I try with an another method :
> > 2)
> > 	vtkRendererCollection rcoll = this.rw.GetRenderers();
> > 	rcoll.InitTraversal();
> > 	vtkRenderer ren = rcoll.GetNextItem();
> > 
> > 	int nbActor = 0;
> > 	while (ren != null)
> > 	{
> > 		nbActor += ren.VisibleActorCount();
> > 		ren = rcoll.GetNextItem();
> > 	}
> > 
> > this methods create (often but not always) the following exception:
> > 
> > 	An unexpected exception has been detected in native code outside the
> > VM.
> > 	Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at
> > PC=0xB65A3E6
> > 	Function=Java_vtk_vtkRendererCollection_GetNextItem_13+0x16
> > 	Library=C:\WINDOWS\system32\vtkRenderingJava.dll
> > 
> > 	Current Java thread:
> > 	 at vtk.vtkRendererCollection.GetNextItem_3(Native Method)
> > 	 at
> > vtk.vtkRendererCollection.GetNextItem(vtkRendererCollection.java:24)
> > 	 at VTKPanel.visibleActor(VTKPanel.java:56)
> > 	 - locked <02FFE3C0> (a VTKPanel)
> > 	 at VTKPanel.Render(VTKPanel.java:104)
> > 	 - locked <02FFE3C0> (a VTKPanel)
> > 	 at vtk.vtkPanel.paint(vtkPanel.java:51)
> > 	 at sun.awt.RepaintArea.paint(RepaintArea.java:180) ...
> > 
> > This exception occurs only on during the second call to GetNextItem().
> > 
> > Can someone help ?
> > 
> > Thanks.
> > 
> > 
> > -- __--__-- 
> > 
> > Message: 5
> > Date: Thu, 29 Aug 2002 11:57:36 +0200
> > From: Guangning Pei <im01_peg at nada.kth.se>
> > To: vtkusers at public.kitware.com
> > Subject: [vtkusers] About vtkDataObjectToDataSetFilter
> > 
> > Hi all,
> > I am a beginner of vtk. Follow the demo of finance.tcl, I use
> > vtkProgramDataObjectSource to create Data object, then use
> > vtkDataObjectToDataSetFilter to create the points and
> > vtkFieldDataToAttributeDataFilter to assign the scalar.
> > After I change the axis component by "set xAxis xxx", I found I can't
> > just use commands " do2ds SetPointComponent 0 $xAxis 0 ..."! The
> > dataobject has been destroyed! I have to create another
> > vtkDataObjectToDataSetFilter or create the vtkProgramDataObjectSource
> > again!
> > Can anyone tell me if there is a convenience way to do it? or there is
> > other filters I should use instead of vtkDataObjectToDataSetFilter?
> > Thanks a lot!
> > Regards/Grand
> > 
> > 
> > -- __--__-- 
> > 
> > Message: 6
> > Reply-To: "John Biddiscombe" <jbiddiscombe at skippingmouse.co.uk>
> > From: "John Biddiscombe" <jbiddiscombe at skippingmouse.co.uk>
> > To: "Stefan Bruckner" <stefan.bruckner at chello.at>,
> > 	<vtkusers at public.kitware.com>
> > Subject: Re: [vtkusers] Re: Re: Re: Re: Building VTK with Kylix bc++
> > Date: Thu, 29 Aug 2002 11:05:35 +0100
> > 
> > 
> > > However, since several other issues have arisen I have found that
> > > integrating VTK and Kylix is probably not feasable at the moment
> ...=20
> > 
> > Could you please elaborate? as a BCB6 user who's been working with vtk =
> > for many years, I can't see why Kylix is going to be ruled out. What =
> > problems do you refer to
> > 
> > > For other users who want to try this, I suggest to wait till bc++ and
> > > gcc produce ABI compatible libraries (which might take some time) ...
> > 
> > Whats ABI?
> > 
> > thanks
> > 
> > JB
> > 
> > 
> > 
> > 
> > -- __--__-- 
> > 
> > _______________________________________________
> > vtkusers mailing list
> > vtkusers at public.kitware.com
> > http://public.kitware.com/mailman/listinfo/vtkusers
> > 
> > 
> > End of vtkusers Digest
> 
> --__--__--
> 
> Message: 2
> Date: Thu, 29 Aug 2002 06:56:51 -0400
> From: Jeff Lee <jeff at cdnorthamerica.com>
> Organization: Computational Dynamics North America
> To: lisong at vrac.iastate.edu
> Cc: vtkusers at public.kitware.com
> Subject: Re: [vtkusers] parallel library
> 
> It looks like you linked libvtkParallel with lam mpi and you need 
> another lam lib to resolve these references.
> -Jeff
> 
> Song Li wrote:
> 
> > Hi, Gurus,
> >
> > When I compile my application on linux, if use "-lvtkParallel" during 
> > linking,  the screen output looks like below. Does
> > anybody know what should I do to make so many phrase known by the 
> > compiler ? Thanks a lot!!!!
> >
> > Error message:
> >
> -------------------------------------------------------------------------
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `al_append'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `rw'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `lam_deregister_object'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `nsend'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `dsend'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `lam_trpoint'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `lam_rtrnamepub'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `mrev4'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `blktype'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `lam_kexit'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `ah_free'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `lam_ksigretry'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `lam_rtrnamedel'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `getnodeid'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `rpdoom'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `al_next'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `lam_rtrnameget'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `getrent'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `getntype'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `lam_ksigsetretry'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `argvfree'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `lam_errorstr'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `getroute'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `getnodes'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `kenter'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `lam_ksignal'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `lam_register_objects'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `bfselect'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `lpattach'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `ldogetlinks'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `al_free'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `al_delete'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `kexit'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `nrecv'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `microsleep'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `ah_init'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `bfrecv'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `show_help'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `next_prime'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `stoi'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `kinit'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `sfh_sock_accept_tmout'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `sfh_sock_open_srv_inet_stm'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `_kio'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `ttime'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `ah_find'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `al_insert'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `al_init'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `ah_insert'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `bfiprobe'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `ah_delete'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `sfh_sock_set_buf_size'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `ah_expand'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `al_find'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `getorigin'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `lam_rtrnamesweep'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `_lam_signal'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `sfh_sock_open_clt_inet_stm'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `rpstate'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `tprintf'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `kpause'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `ah_next'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `rev8'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `argvadd'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `bfiselect'
> > /home/users/lisong/vtk/linux/VTK/bin/libvtkParallel.so: undefined 
> > reference to `lam_rtrstore'
> >
> >-- 
> >Song Li
> >VRAC(Virtual Reality Application Center),Iowa State University
> >Email: lisong at vrac.iastate.edu
> >Homepage: http://www.vrac.iastate.edu/~lison
> <http://www.vrac.iastate.edu/%7Elisong>
> >
> 
> 
> --__--__--
> 
> Message: 3
> Date: Thu, 29 Aug 2002 13:13:08 +0200
> From: Steffen Oeltze <Steffen.Oeltze at Student.Uni-Magdeburg.DE>
> To: VTK users <vtkusers at public.kitware.com>
> Subject: [vtkusers] changing transfer functions interactively ?
> 
> Dear VTK-users,
> 
> I've written a program that renders a volume using ray-casting. I'd like 
> to enable the user
> to change the transfer functions for opacity and color interactively by 
> using sliders. Has
> anybody an idea or a source code sample ? Or is there maybe a better way 
> than using
> sliders ?
> 
> Regards,
> Steffen
> 
> 
> --__--__--
> 
> Message: 4
> From: "Bob Palank" <bob at stlcc.org>
> To: <vtkusers at public.kitware.com>
> Subject: RE: [vtkusers] vtk and Java and VJ#
> Date: Thu, 29 Aug 2002 06:44:14 -0500
> 
> This is a multi-part message in MIME format.
> 
> ------=_NextPart_000_0020_01C24F27.7D2C2880
> Content-Type: text/plain;
> 	charset="iso-8859-1"
> Content-Transfer-Encoding: 7bit
> 
> Can anyone shed light on this ?
> I'm attempting to use Microsoft's VJ# (java code)with vtk40 running under
> XP.
> 
> I downloaded the dlls from the vtk website and did not rebuild them, nor
> did
> I rebuild the vtk.jar.
> 
> MSDN support asks :
> 
> Are the DLLs native Win32/COM Dlls or are they containing embedded .class
> &
> resource files (Like is possible using the JExeGen tool of VJ6).
> 
> If the DLLs are native Win32 Dlls being accessed through JNI, then this is
> not supported in Visual J#. You will have to move to using P/Invoke or COM
> inter-op services of .NET Fx.
> 
> If on the other hand, these DLLs contain embedded .class/resource files,
> then you need to convert the classes to managed assemblies before using in
> VJ# app. For this you can use the VJ# binary converter tool (JbImp.exe).
> When using JbImp.exe - please confirm that there are no legal restrictions
> from the vendor of the .class files on doing a binary conversion. Note,
> that
> JbImp does not support extracting embedded .class files in Win32 Dlls. The
> tool must be run on the original .class files on which JExeGen (or similar
> tool) was run.
> Regarding the behaviour of System.loadLibrary, we follow the same
> semantics
> as the Win32 LoadLibrary API. If a path is specified then the DLL is
> looked
> for in that path. If no path is specified then the search heuristics of
> the
> Win32 LoadLibrary API is followed. The MSDN documentation for Win32
> LoadLibrary API has these heuristics.
> 
> -----Original Message-----
> From: vtkusers-admin at public.kitware.com
> [mailto:vtkusers-admin at public.kitware.com]On Behalf Of Bob Palank
> Sent: Tuesday, August 20, 2002 4:14 PM
> To: vtkusers at public.kitware.com
> Subject: [vtkusers] vtk and Java
> 
> 
> Running in Borland JBuilder 60 - Java under XP Pro
> 
> 1. I Rebuild the project and the build succeeds.
> 2. Project runs fine when the lines below are commented out.
>      // vtkConeSource cone = new vtkConeSource();
>      // cone.SetHeight( 3.0 );
>      // cone.SetRadius( 1.0 );
>      // cone.SetResolution( 10 );
> 3. when // vtkConeSource cone = new vtkConeSource(); is uncommented, the
> build fails with the following error.
> "cone02.java": Error #: 300 : class vtkConeSource not found in class
> cone02.cone02 at line 27, column 6
> 
> 4. I thought the import vtk.*; and System.loadLibrary() should get me
> beyond
> this point, but I must be missing something!
> 
> TIA
>   Bob Palank
> 
> Fortunately, I had this running before I did a system rebuild!
> The tutorial code follows.
> 
> 
> 
>  =============================================================
> Java Code follows:
> //                                  Source vtk Tutorial Step 1.
> 
> //
> // This example creates a polygonal model of a cone, and then rendered it
> to
> // the screen. It willrotate the cone 360 degrees and then exit. The basic
> // setup of source -> mapper -> actor -> renderer -> renderwindow is
> // typical of most VTK programs.
> //
> 
> package cone02;
> import vtk.*;  // be sure to add a Path to d:\windows\system32 for vtk.jar
> 
> public class cone02 {
>   static {
>     System.loadLibrary("vtkCommonJava");
>     System.loadLibrary("vtkFilteringJava");
>     System.loadLibrary("vtkIOJava");
>     System.loadLibrary("vtkImagingJava");
>     System.loadLibrary("vtkGraphicsJava");
>     System.loadLibrary("vtkRenderingJava");
>     /* ======================================================
>     ======================================================= */
> }
> 
>   public static void main(String[] args) {
> 
>      // vtkConeSource cone = new vtkConeSource();
>      // cone.SetHeight( 3.0 );
>      // cone.SetRadius( 1.0 );
>      // cone.SetResolution( 10 );
> 
> 
> 
>     System.out.println("20Aug02  Pass 05");
> 
>   }
> }
> 
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
> 
> 
> ------=_NextPart_000_0020_01C24F27.7D2C2880
> Content-Type: text/html;
> 	charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD><TITLE></TITLE>
> <META http-equiv=3DContent-Type content=3D"text/html; =
> charset=3Diso-8859-1">
> <META content=3D"MSHTML 6.00.2716.2200" name=3DGENERATOR></HEAD>
> <BODY>
> <P><FONT size=3D2><FONT face=3D"Courier New">Can anyone shed light on =
> this ?<BR>I'm=20
> attempting to use Microsoft's VJ# (java code)with vtk40 running under=20
> XP.</FONT></FONT></P>
> <P><FONT size=3D2><FONT face=3D"Courier New">I downloaded the dlls from =
> the vtk=20
> website and did not rebuild them, nor did I rebuild the vtk.jar. =
> <BR><BR>MSDN=20
> support asks :<BR><BR>Are the <STRONG>DLLs native Win32/COM =
> Dlls</STRONG> or are=20
> they containing embedded .class &amp;<BR>resource files (Like is =
> possible using=20
> the JExeGen tool of VJ6).<BR><BR>If the DLLs are native Win32 Dlls being =
> 
> accessed through JNI, then this is<BR>not supported in Visual J#. You =
> will have=20
> to move to using P/Invoke or COM<BR>inter-op services of .NET =
> Fx.<BR><BR>If on=20
> the other hand, these DLLs contain embedded .class/resource =
> files,<BR>then you=20
> need to convert the classes to managed assemblies before using in<BR>VJ# =
> app.=20
> For this you can use the VJ# binary converter tool (JbImp.exe).<BR>When =
> using=20
> JbImp.exe - please confirm that there are no legal restrictions<BR>from =
> the=20
> vendor of the .class files on doing a binary conversion. Note, =
> that<BR>JbImp=20
> does not support extracting embedded .class files in Win32 Dlls. =
> The<BR>tool=20
> must be run on the original .class files on which JExeGen (or =
> similar<BR>tool)=20
> was run.<BR>Regarding the behaviour of System.loadLibrary, we follow the =
> same=20
> semantics<BR>as the Win32 LoadLibrary API. If a path is specified then =
> the DLL=20
> is looked<BR>for in that path. If no path is specified then the search=20
> heuristics of the<BR>Win32 LoadLibrary API is followed. The MSDN =
> documentation=20
> for Win32<BR>LoadLibrary API has these heuristics.<BR><BR>-----Original=20
> Message-----<BR>From: vtkusers-admin at public.kitware.com<BR>[</FONT><A=20
> href=3D"mailto:vtkusers-admin at public.kitware.com"><FONT=20
> face=3D"Courier =
> New">mailto:vtkusers-admin at public.kitware.com</FONT></A><FONT=20
> face=3D"Courier New">]On Behalf Of Bob Palank<BR>Sent: Tuesday, August =
> 20, 2002=20
> 4:14 PM<BR>To: vtkusers at public.kitware.com<BR>Subject: [vtkusers] vtk =
> and=20
> Java<BR><BR><BR>Running in Borland JBuilder 60 - Java under XP =
> Pro<BR><BR>1. I=20
> Rebuild the project and the build succeeds.<BR>2. Project runs fine when =
> the=20
> lines below are commented out.<BR>&nbsp;&nbsp;&nbsp;&nbsp; // =
> vtkConeSource cone=20
> =3D new vtkConeSource();<BR>&nbsp;&nbsp;&nbsp;&nbsp; // cone.SetHeight( =
> 3.0=20
> );<BR>&nbsp;&nbsp;&nbsp;&nbsp; // cone.SetRadius( 1.0=20
> );<BR>&nbsp;&nbsp;&nbsp;&nbsp; // cone.SetResolution( 10 );<BR>3. when =
> //=20
> vtkConeSource cone =3D new vtkConeSource(); is uncommented, the<BR>build =
> fails=20
> with the following error.<BR>"cone02.java": Error #: 300 : class =
> vtkConeSource=20
> not found in class<BR>cone02.cone02 at line 27, column 6<BR><BR>4. I =
> thought the=20
> import vtk.*; and System.loadLibrary() should get me beyond<BR>this =
> point, but I=20
> must be missing something!<BR><BR>TIA<BR>&nbsp; Bob =
> Palank<BR><BR>Fortunately, I=20
> had this running before I did a system rebuild!<BR>The tutorial code=20
> follows.<BR><BR><BR><BR>&nbsp;=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3
> D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3
> D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<BR>Java=20
> Code=20
> follows:<BR>//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
> ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
> Source vtk Tutorial Step 1.<BR><BR>//<BR>// This example creates a =
> polygonal=20
> model of a cone, and then rendered it to<BR>// the screen. It willrotate =
> the=20
> cone 360 degrees and then exit. The basic<BR>// setup of source -&gt; =
> mapper=20
> -&gt; actor -&gt; renderer -&gt; renderwindow is<BR>// typical of most =
> VTK=20
> programs.<BR>//<BR><BR>package cone02;<BR>import vtk.*;&nbsp; // be sure =
> to add=20
> a Path to d:\windows\system32 for vtk.jar<BR><BR>public class cone02 =
> {<BR>&nbsp;=20
> static {<BR>&nbsp;&nbsp;&nbsp;=20
> System.loadLibrary("vtkCommonJava");<BR>&nbsp;&nbsp;&nbsp;=20
> System.loadLibrary("vtkFilteringJava");<BR>&nbsp;&nbsp;&nbsp;=20
> System.loadLibrary("vtkIOJava");<BR>&nbsp;&nbsp;&nbsp;=20
> System.loadLibrary("vtkImagingJava");<BR>&nbsp;&nbsp;&nbsp;=20
> System.loadLibrary("vtkGraphicsJava");<BR>&nbsp;&nbsp;&nbsp;=20
> System.loadLibrary("vtkRenderingJava");<BR>&nbsp;&nbsp;&nbsp; /*=20
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3
> D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3
> D=
> =3D=3D=3D=3D<BR>&nbsp;&nbsp;&nbsp;=20
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3
> D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3
> D=
> =3D=3D=3D=3D=3D */<BR>}<BR><BR>&nbsp;=20
> public static void main(String[] args) {<BR><BR>&nbsp;&nbsp;&nbsp;&nbsp; =
> //=20
> vtkConeSource cone =3D new vtkConeSource();<BR>&nbsp;&nbsp;&nbsp;&nbsp; =
> //=20
> cone.SetHeight( 3.0 );<BR>&nbsp;&nbsp;&nbsp;&nbsp; // cone.SetRadius( =
> 1.0=20
> );<BR>&nbsp;&nbsp;&nbsp;&nbsp; // cone.SetResolution( 10=20
> );<BR><BR><BR><BR>&nbsp;&nbsp;&nbsp; System.out.println("20Aug02&nbsp; =
> Pass=20
> 05");<BR><BR>&nbsp;=20
> }<BR>}<BR><BR>_______________________________________________<BR>This is =
> the=20
> private VTK discussion list.<BR>Please keep messages on-topic. Check the =
> FAQ at:=20
> &lt;</FONT><A href=3D"http://public.kitware.com/cgi-bin/vtkfaq"=20
> target=3D_blank><FONT=20
> face=3D"Courier =
> New">http://public.kitware.com/cgi-bin/vtkfaq</FONT></A><FONT=20
> face=3D"Courier New">&gt;<BR>Follow this link to=20
> subscribe/unsubscribe:<BR></FONT><A=20
> href=3D"http://public.kitware.com/mailman/listinfo/vtkusers" =
> target=3D_blank><FONT=20
> face=3D"Courier =
> New">http://public.kitware.com/mailman/listinfo/vtkusers</FONT></A></FONT=
> ><FONT=20
> face=3D"Courier New"> </FONT></P></BODY></HTML>
> 
> ------=_NextPart_000_0020_01C24F27.7D2C2880--
> 
> 
> 
> --__--__--
> 
> _______________________________________________
> vtkusers mailing list
> vtkusers at public.kitware.com
> http://public.kitware.com/mailman/listinfo/vtkusers
> 
> 
> End of vtkusers Digest



More information about the vtkusers mailing list