[vtkusers] Options for VTK.
Amit Tikekar
amitt at tataelxsi.co.in
Mon Jun 23 04:51:16 EDT 2003
Hi,
In addition to VTK, is there any other free library on the net that meets
the following requirements:
1) No pipeline architecture.
2) Portable.
3) Abstracted on Open GL.
4) C/C++ implementation.
5) Tested & reliable.
In case if you have an idea please reply.
Regards
Amit
-----Original Message-----
From: vtkusers-admin at vtk.org [mailto:vtkusers-admin at vtk.org]On Behalf Of
vtkusers-request at vtk.org
Sent: Saturday, June 21, 2003 5:12 PM
To: vtkusers at vtk.org
Subject: vtkusers digest, Vol 1 #1901 - 7 msgs
Send vtkusers mailing list submissions to
vtkusers at vtk.org
To subscribe or unsubscribe via the World Wide Web, visit
http://www.vtk.org/mailman/listinfo/vtkusers
or, via email, send a message with subject or body 'help' to
vtkusers-request at vtk.org
You can reach the person managing the list at
vtkusers-admin at vtk.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of vtkusers digest..."
Today's Topics:
1. RE: Window Flickers. (R K Shyamprakash)
2. Re: Window Flickers. (Jeff Lee)
3. DeepCopy() (Amit Tikekar)
4. STLreadtest.o(.text+0x7): undefined reference to
`vtkSTLReader::New(void)' (Paul McGuinness)
5. Re: STLreadtest.o(.text+0x7): undefined reference to
`vtkSTLReader::New(void)' (Mathieu Malaterre)
6. rendering isosurface and crashing (dsjen at cs.unc.edu)
7. interacting with vtkPanel (java/vtk) (Romain Ollivier)
--__--__--
Message: 1
From: "R K Shyamprakash" <ramakrishna.prakash at quest-global.com>
To: <amitt at tataelxsi.co.in>, <vtkusers at www.vtk.org>
Subject: RE: [vtkusers] Window Flickers.
Date: Fri, 20 Jun 2003 17:54:51 +0530
Hi,
Even I had a similar problemsometime back when I myself built the VTK
4.2 release. When I clicked on the 3d object it used to flicker, it's front
face used toget chopped off(similar effect as that we get when we set
FrontFaceCullingOn()) and sometime the object used to show a mixed solid and
wireframe representaion. Then I used the binary from VTK and the problem was
gone, but till date I am not suer what exactly was the problem. Can anybody
please analyze this?
Shyam
-----Original Message-----
From: vtkusers-admin at vtk.org [mailto:vtkusers-admin at vtk.org]On Behalf Of
Amit Tikekar
Sent: Friday, June 20, 2003 10:35 AM
To: vtkusers at www.vtk.org
Subject: [vtkusers] Window Flickers.
Sensitivity: Private
Hi,
I have an image processing application. I read the image data & then pass it
to vtkImageViewer. This image is displayed in a child window through MFC.
When I resize(stretch or shrink via mouse) the window the whole view area
flickers. I checked whether the double buffering mode is ON & by default it
is. I tried the same process on other imaging applications & there the
flicker is absent.
What am I missing ? Or is this all VTK can offer me ?
Looking forward to your help.
Regards
Amit
_______________________________________________
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://www.vtk.org/mailman/listinfo/vtkusers
--__--__--
Message: 2
Date: Fri, 20 Jun 2003 08:23:32 -0400
From: Jeff Lee <jeff at cdnorthamerica.com>
Organization: Computational Dynamics North America
To: R K Shyamprakash <ramakrishna.prakash at quest-global.com>
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] Window Flickers.
R K Shyamprakash wrote:
>Hi,
> Even I had a similar problemsometime back when I myself built the VTK
>4.2 release. When I clicked on the 3d object it used to flicker, it's front
>face used toget chopped off(similar effect as that we get when we set
>FrontFaceCullingOn()) and sometime the object used to show a mixed solid
and
>wireframe representaion. Then I used the binary from VTK and the problem
was
>gone, but till date I am not suer what exactly was the problem. Can anybody
>please analyze this?
>
did you have a vtkTextMapper in your renderer at the time? when you
clicked, did you also perform a pick?
-Jeff
>
>Shyam
>
>-----Original Message-----
>From: vtkusers-admin at vtk.org [mailto:vtkusers-admin at vtk.org]On Behalf Of
>Amit Tikekar
>Sent: Friday, June 20, 2003 10:35 AM
>To: vtkusers at www.vtk.org
>Subject: [vtkusers] Window Flickers.
>Sensitivity: Private
>
>
>Hi,
>
>I have an image processing application. I read the image data & then pass
it
>to vtkImageViewer. This image is displayed in a child window through MFC.
>When I resize(stretch or shrink via mouse) the window the whole view area
>flickers. I checked whether the double buffering mode is ON & by default it
>is. I tried the same process on other imaging applications & there the
>flicker is absent.
>
>What am I missing ? Or is this all VTK can offer me ?
>
>Looking forward to your help.
>
>Regards
>Amit
>
>_______________________________________________
>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://www.vtk.org/mailman/listinfo/vtkusers
>
>_______________________________________________
>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://www.vtk.org/mailman/listinfo/vtkusers
>
>
>
>
--
Jeff Lee
Software Engineer
Computational Dynamics North America Ltd
21 Lafayette Street, Suite 230
Lebanon NH 03766 USA
fax: 603 643 9994
phone: 603 643 9993 x109
http://www.cd-adapco.com
--__--__--
Message: 3
Reply-To: <amitt at tataelxsi.co.in>
From: "Amit Tikekar" <amitt at tataelxsi.co.in>
To: <vtkusers at vtk.org>
Date: Fri, 20 Jun 2003 18:10:30 +0530
Subject: [vtkusers] DeepCopy()
Hi,
In an imaging application, I am trying to modify the image data. Before I
finalize my modifications, I test the results on the image through a
temporary vtkImageData Source.
After I am sure of these modifications, I copy the modified vtkImageData
onto the original data, through DeepCopy.
My code looks like this:
/////////////////////////////////////////////////
ReadData(LPCTSTR lpszPathName)
{
m_pTIFFReader->SetFileName(lpszPathName);
m_pTIFFReader->GetOutput()->Update();
//Create a copy of data that shall be the source for image rendering in the
pipeline.
m_pVtkImageData->DeepCopy(m_pTIFFReader->GetOutput());
//Create a duplicate buffer that will hold temporary modifications
m_pVtkTempImageData = vtkImageData::New();
}
//Routine Renders to screen via vtkImageViewer tied to a child window.
OnDraw()
{
if ( bDrawTempData)
m_pImageViewer->SetInput(m_pVtkTempImageData);
else
m_pImageViewer->SetInput(m_pVtkImageData);
m_pImageViewer->Render();
}
//Routine modifies permanent data after modifications are finalised.
ModifyPermanentData()
{
m_pVtkImageData->DeepCopy(m_pVtkTempImageData);
bDrawTempData = FALSE;
Invalidate();
}
/////////////////////////////////////////////////
I hope you have an idea by now what my intention is. But when I do this, the
application crashes in ModifyPermanentData::DeepCopy().
I tried using DeepCopy at all levels, vtkDataArray, vtkUnsignedCharArray
etc.
I tried to copy the image data explicitly through a routine from one Data
array to other, even then there is a crash.
Can anybody tell me, how such a situation is taken care of ? Where do I go
wrong ?
1) Why is there so much dependency of one object on the other?
2) Is it the case that once the pipeline executes, the vtkImageData object
undergoes change in terms of dataarrays & memory allocations ?
Please help...
Regards
Amit
--__--__--
Message: 4
Date: Fri, 20 Jun 2003 14:55:00 +0100 (BST)
From: Paul McGuinness <mcguinpg at maths.tcd.ie>
To: vtkusers at vtk.org
Subject: [vtkusers] STLreadtest.o(.text+0x7): undefined reference to
`vtkSTLReader::New(void)'
Hi VTK Developers
I am in a bit of a pickel, I am on Linux using the cmake, then make to
compile my simple program containing the following code:
#include "vtkSTLReader.h"
int main( int argc, char *argv[] )
{
vtkSTLReader *sr = vtkSTLReader::New();
sr->SetFileName("y40501.stl");
sr->Delete();
return 0;
}
And on compilation I get the following error, does anyone know what is
wrong? I am using VTK-4.2.2
$ make
Building dependencies cmake.check_depends...
-- Compiling VTK loaded commands
-- Compiling VTK loaded commands - done
Building object file STLreadtest.o...
Building executable STLreadtest...
STLreadtest.o: In function `main':
STLreadtest.o(.text+0x7): undefined reference to `vtkSTLReader::New(void)'
collect2: ld returned 1 exit status
make[1]: *** [STLreadtest] Error 1
make: *** [default_target] Error 2
Does anyone know how I can fix this?
Many thanks,
Paul.
--__--__--
Message: 5
Date: Fri, 20 Jun 2003 16:24:41 +0200
From: Mathieu Malaterre <Mathieu.Malaterre at creatis.insa-lyon.fr>
To: Paul McGuinness <mcguinpg at maths.tcd.ie>
Cc: vtkusers at vtk.org
Subject: Re: [vtkusers] STLreadtest.o(.text+0x7): undefined reference to
`vtkSTLReader::New(void)'
Paul,
Could you please turn CMAKE_VERBOSE_MAKEFILE to ON (either through the
cmake interface or by modifying CMakeCache.txt :
CMAKE_VERBOSE_MAKEFILE:BOOL=ON
Then rerun cmake && make and please send us the g++ compilation line
Thanks,
mathieu
Paul McGuinness wrote:
> Hi VTK Developers
>
> I am in a bit of a pickel, I am on Linux using the cmake, then make to
> compile my simple program containing the following code:
>
> #include "vtkSTLReader.h"
>
> int main( int argc, char *argv[] )
> {
> vtkSTLReader *sr = vtkSTLReader::New();
> sr->SetFileName("y40501.stl");
>
> sr->Delete();
> return 0;
> }
>
> And on compilation I get the following error, does anyone know what is
> wrong? I am using VTK-4.2.2
>
>
> $ make
> Building dependencies cmake.check_depends...
> -- Compiling VTK loaded commands
> -- Compiling VTK loaded commands - done
> Building object file STLreadtest.o...
> Building executable STLreadtest...
> STLreadtest.o: In function `main':
> STLreadtest.o(.text+0x7): undefined reference to `vtkSTLReader::New(void)'
> collect2: ld returned 1 exit status
> make[1]: *** [STLreadtest] Error 1
> make: *** [default_target] Error 2
>
> Does anyone know how I can fix this?
>
> Many thanks,
> Paul.
>
> _______________________________________________
> 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://www.vtk.org/mailman/listinfo/vtkusers
>
--
Mathieu Malaterre
CREATIS
28 Avenue du Doyen LEPINE
B.P. Lyon-Montchat
69394 Lyon Cedex 03
http://www.creatis.insa-lyon.fr/~malaterre/
--__--__--
Message: 6
From: <dsjen at cs.unc.edu>
To: vtkusers at vtk.org
Date: Fri, 20 Jun 2003 11:15:21 -0400
Subject: [vtkusers] rendering isosurface and crashing
Hi VTK Users,
I'm developing an application using vtk4.0, through Java, on
WindowsXP. I've run into a problem when trying to render an
isosurface. I have a stack of 800x800-pixel images that form a
volume. When viewing a subset of the stack, I'm able to render the
isosurface and manipulate it, although it does take a quite a bit of
time to render.
However, when I attempt to render the entire stack, my application
thinks for a very long time before my application crashes and Java
generates an hs_err_pid####.txt file. I've included the contents of
the text file below. My guess is that I'm running out of memory, but
I just wanted to check to see if anyone else has encountered a similar
problem or has any suggestion.
Thanks,
Dennis
-----
An unexpected exception has been detected in native code outside the
VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at
PC=0x69263FF5
Function=atiPS+0x381F5
Library=C:\WINDOWS\System32\atioglxx.dll
Current Java thread:
at vtk.vtkGenericRenderWindowInteractor.MouseMoveEvent_2
(Native Method)
at vtk.vtkGenericRenderWindowInteractor.MouseMoveEvent
(vtkGenericRenderWindowInteractor.java:20)
at vtk.vtkCanvas.mouseDragged(vtkCanvas.java:220)
at java.awt.Component.processMouseMotionEvent
(Component.java:5070)
at java.awt.Component.processEvent(Component.java:4823)
at java.awt.Component.dispatchEventImpl(Component.java:3527)
at java.awt.Component.dispatchEvent(Component.java:3368)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:191)
at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:144)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run
(EventDispatchThread.java:98)
Dynamic libraries:
0x00400000 - 0x00406000 C:\Program Files\Java\j2re1.4.0_04
\bin\javaw.exe
0x77F50000 - 0x77FF7000 C:\WINDOWS\System32\ntdll.dll
0x77E60000 - 0x77F46000 C:\WINDOWS\system32\kernel32.dll
0x77DD0000 - 0x77E5D000 C:\WINDOWS\system32\ADVAPI32.dll
0x78000000 - 0x7807F000 C:\WINDOWS\system32\RPCRT4.dll
0x77D40000 - 0x77DC6000 C:\WINDOWS\system32\USER32.dll
0x77C70000 - 0x77CB0000 C:\WINDOWS\system32\GDI32.dll
0x77C10000 - 0x77C63000 C:\WINDOWS\system32\MSVCRT.dll
0x6D330000 - 0x6D445000 C:\Program Files\Java\j2re1.4.0_04
\bin\client\jvm.dll
0x76B40000 - 0x76B6C000 C:\WINDOWS\System32\WINMM.dll
0x6D1D0000 - 0x6D1D7000 C:\Program Files\Java\j2re1.4.0_04
\bin\hpi.dll
0x6D300000 - 0x6D30E000 C:\Program Files\Java\j2re1.4.0_04
\bin\verify.dll
0x6D210000 - 0x6D228000 C:\Program Files\Java\j2re1.4.0_04
\bin\java.dll
0x6D320000 - 0x6D32D000 C:\Program Files\Java\j2re1.4.0_04
\bin\zip.dll
0x6D000000 - 0x6D0F6000 C:\Program Files\Java\j2re1.4.0_04
\bin\awt.dll
0x73000000 - 0x73023000 C:\WINDOWS\System32\WINSPOOL.DRV
0x76390000 - 0x763AC000 C:\WINDOWS\System32\IMM32.dll
0x771B0000 - 0x772D1000 C:\WINDOWS\system32\ole32.dll
0x5AD70000 - 0x5ADA4000 C:\WINDOWS\System32\uxtheme.dll
0x74720000 - 0x74764000 C:\WINDOWS\System32\MSCTF.dll
0x6D180000 - 0x6D1D0000 C:\Program Files\Java\j2re1.4.0_04
\bin\fontmanager.dll
0x69000000 - 0x6950B000 C:\WINDOWS\System32\atioglxx.dll
0x10000000 - 0x1010F000 C:\Program Files\vtk40
\bin\vtkCommonJava.dll
0x0AF30000 - 0x0B2C0000 C:\PROGRA~1\vtk40\bin\vtkCommon.dll
0x102A0000 - 0x102B7000 C:\PROGRA~1\vtk40\bin\MSVCIRTD.dll
0x10200000 - 0x1026C000 C:\PROGRA~1\vtk40\bin\MSVCRTD.dll
0x0B2C0000 - 0x0B39E000 C:\PROGRA~1\vtk40\bin\libmmd.dll
0x0B3B0000 - 0x0B3F3000 C:\Program Files\vtk40
\bin\vtkFilteringJava.dll
0x0B400000 - 0x0B4B6000 C:\PROGRA~1\vtk40\bin\vtkFiltering.dll
0x0B4C0000 - 0x0B535000 C:\Program Files\vtk40
\bin\vtkIOJava.dll
0x0B540000 - 0x0B8D9000 C:\PROGRA~1\vtk40\bin\vtkIO.dll
0x0B8E0000 - 0x0B919000 C:\PROGRA~1\vtk40\bin\vtkpng.dll
0x0B920000 - 0x0B93F000 C:\PROGRA~1\vtk40\bin\vtkzlib.dll
0x0B940000 - 0x0B97E000 C:\PROGRA~1\vtk40\bin\vtkjpeg.dll
0x0B980000 - 0x0B9F2000 C:\PROGRA~1\vtk40\bin\vtktiff.dll
0x0BA00000 - 0x0BA35000 C:\PROGRA~1\vtk40\bin\vtkexpat.dll
0x0BA40000 - 0x0BACA000 C:\Program Files\vtk40
\bin\vtkImagingJava.dll
0x0BAD0000 - 0x0BEF7000 C:\PROGRA~1\vtk40\bin\vtkImaging.dll
0x0BF00000 - 0x0BFFF000 C:\Program Files\vtk40
\bin\vtkGraphicsJava.dll
0x0C000000 - 0x0C454000 C:\PROGRA~1\vtk40\bin\vtkGraphics.dll
0x0C560000 - 0x0C626000 C:\Program Files\vtk40
\bin\vtkRenderingJava.dll
0x0C630000 - 0x0CB16000 C:\PROGRA~1\vtk40\bin\vtkRendering.dll
0x5ED00000 - 0x5EDC6000 C:\WINDOWS\System32\OPENGL32.dll
0x68B20000 - 0x68B3E000 C:\WINDOWS\System32\GLU32.dll
0x51000000 - 0x51047000 C:\WINDOWS\System32\DDRAW.dll
0x73BC0000 - 0x73BC6000 C:\WINDOWS\System32\DCIMAN32.dll
0x0CB20000 - 0x0CB38000 C:\PROGRA~1\vtk40\bin\vtkftgl.dll
0x0CB40000 - 0x0CBBD000 C:\PROGRA~1\vtk40\bin\vtkfreetype.dll
0x6D230000 - 0x6D235000 C:\Program Files\Java\j2re1.4.0_04
\bin\jawt.dll
0x0CBC0000 - 0x0CC31000 C:\Program Files\vtk40
\bin\vtkHybridJava.dll
0x0CC40000 - 0x0CE6D000 C:\PROGRA~1\vtk40\bin\vtkHybrid.dll
0x605D0000 - 0x605D8000 C:\WINDOWS\System32\mslbui.dll
0x77120000 - 0x771AB000 C:\WINDOWS\system32\OLEAUT32.DLL
0x773D0000 - 0x77BC2000 C:\WINDOWS\system32\shell32.dll
0x70A70000 - 0x70AD4000 C:\WINDOWS\system32\SHLWAPI.dll
0x71950000 - 0x71A34000
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-
Controls_6595b64144ccf1df_6.0.10.0_x-ww_f7fb5805\comctl32.dll
0x77340000 - 0x773CB000 C:\WINDOWS\system32\comctl32.dll
0x71C20000 - 0x71C6E000 C:\WINDOWS\System32\netapi32.dll
0x76670000 - 0x76757000 C:\WINDOWS\System32\SETUPAPI.dll
0x71B20000 - 0x71B31000 C:\WINDOWS\system32\MPR.dll
0x75F60000 - 0x75F66000 C:\WINDOWS\System32\drprov.dll
0x71C10000 - 0x71C1D000 C:\WINDOWS\System32\ntlanman.dll
0x71CD0000 - 0x71CE6000 C:\WINDOWS\System32\NETUI0.dll
0x71C90000 - 0x71CCC000 C:\WINDOWS\System32\NETUI1.dll
0x71C80000 - 0x71C86000 C:\WINDOWS\System32\NETRAP.dll
0x71BF0000 - 0x71C01000 C:\WINDOWS\System32\SAMLIB.dll
0x75F70000 - 0x75F79000 C:\WINDOWS\System32\davclnt.dll
0x75F40000 - 0x75F5F000 C:\WINDOWS\system32\appHelp.dll
0x76FD0000 - 0x77048000 C:\WINDOWS\System32\CLBCATQ.DLL
0x77050000 - 0x77115000 C:\WINDOWS\System32\COMRes.dll
0x77C00000 - 0x77C07000 C:\WINDOWS\system32\VERSION.dll
0x76620000 - 0x7666E000 C:\WINDOWS\System32\cscui.dll
0x76600000 - 0x7661B000 C:\WINDOWS\System32\CSCDLL.dll
0x76990000 - 0x769B4000 C:\WINDOWS\System32\ntshrui.dll
0x76B20000 - 0x76B35000 C:\WINDOWS\System32\ATL.DLL
0x75A70000 - 0x75B15000 C:\WINDOWS\system32\USERENV.dll
0x76C90000 - 0x76CB2000 C:\WINDOWS\system32\imagehlp.dll
0x6D510000 - 0x6D58D000 C:\WINDOWS\system32\DBGHELP.dll
0x76BF0000 - 0x76BFB000 C:\WINDOWS\System32\PSAPI.DLL
Local Time = Fri Jun 20 10:50:43 2003
Elapsed Time = 722
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.0_04-b04 mixed mode)
#
--__--__--
Message: 7
Date: Fri, 20 Jun 2003 17:40:27 +0200
From: Romain Ollivier <Romain.Ollivier at sophia.inria.fr>
Organization: INRIA Sophia Antipolis
To: vtkusers at vtk.org
Subject: [vtkusers] interacting with vtkPanel (java/vtk)
Hi,
I sent a previous post to ask for help about manipulating and render a
vtkPanel with a widget. Has someone an example of an interaction between
a vtkPanel and a widget (JButton, JSlider...) in the same JFrame ? My
problem was the call of the vtkPanel method Render() in my event
handling method.
Thanks,
Romain
--__--__--
_______________________________________________
vtkusers mailing list
vtkusers at vtk.org
http://www.vtk.org/mailman/listinfo/vtkusers
End of vtkusers Digest
More information about the vtkusers
mailing list