From s.maheswaran@eastman.ucl.ac.uk Sun Aug 25 14:31:00 2002 From: s.maheswaran@eastman.ucl.ac.uk (Satheesh Maheswaran) Date: Sun, 25 Aug 2002 14:31:00 +0100 Subject: [vtkusers] vtkPanel Message-ID: <000201c24c3b$a6b22770$77345290@edisatheesh> This is a multi-part message in MIME format. ------=_NextPart_000_0003_01C24C44.08768F70 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Hi vtkGurus I am using vtk(cvs) with Java on Windows XP platform. I also use vtkPanel, I want to be able to write my scene to a tiff format image using the usual vtkWindowToImageFilter and then vtkTiffWriter So far so good, but with vtkPanel I can not do the following w2if.SetInput(renWin3D); because renWin3D is not actually a vtkRenderWindow, its vtkPanel Is there anyway, I can get around this problem in java Thanks Satheesh ------=_NextPart_000_0003_01C24C44.08768F70 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable
Hi vtkGurus
I am
using vtk(cvs) with Java on Windows XP platform. I =
also use vtkPanel,
I want to be able to write my scene to a tiff format image using the =
usual vtkWindowToImageFilter and then vtkTiffWriter
So far
so good, but with vtkPanel I can not do the =
following
w2if.SetInput(renWin3D);
because renWin3D is not actually a =
vtkRenderWindow, its vtkPanel
Is
there anyway, I can get around this problem in java
Thanks
Satheesh
Hi
i want to load a 2D bmp image and make it look like 3D( like the masonry example in vtk 3.1 but with a bmp image. i've replaced the vtkPNMreader object with a vtkBMPreader object but it doesnt work properly ). I want to transform a bmp to a ppm image too. Could anyone send me a sample code with the object vtkBMPreader and vtkPNMreader.
My data set consists of 1500 jpeg images of 2000x2000 = pixels each. I do not intend to visualize such a large volume but = I was trying to make VTK extract and resample my Volume of Interest = (VOI) and then dump this smaller volume (aprox 150x150x150) out into a = new set of jpegs.
I have had luck manipulating and visualizing smaller = volumes but have been unable to use such a large data set. I have = tried various forms of vtkImageDataStreamer and = vtkMemoryLimitImageDataStreamer.
I have been trying varios forms of the following = script. If I only procecss ~350 images it runs fine, but if I try = the entire stack VTK crashes.
Time is not a concern, the script can run as long as =
it takes.
Any ideas on how to work with datasets this =
large?
# read a stack of images starting at =
GR0000.JPG
vtkJPEGReader reader
reader =
SetFilePrefix "GR"
reader =
SetDataExtent 0 2000 0 2000 0 1500
reader =
SetFilePattern "%s%04d.JPG"
reader =
SetDataSpacing 2 2 3
reader =
SetDataScalarTypeToUnsignedShort
reader =
GlobalReleaseDataFlagOn
#Stream the data to comsume less memory
vtkImageDataStreamer streamer
streamer =
SetInput [reader GetOutput]
streamer =
SetNumberOfStreamDivisions 32
[streamer =
GetExtentTranslator] SetSplitModeToBlock
streamer =
UpdateWholeExtent
# Extract and resample a sub volume from the =
source
vtkExtractVOI voi
voi =
SetInput [streamer GetOutput]
voi =
SetVOI 500 1500 400 1600 100 1400
voi =
SetSampleRate 10 10 10
[voi =
GetOutput] SetScalarTypeToUnsignedChar
# write out the new smaller volume
vtkJPEGWriter writer
writer =
SetInput [voi GetOutput]
writer =
SetFilePrefix "vol"
writer =
SetFilePattern "%s%04d.jpg"
writer =
SetFileDimensionality 3
writer =
Write
Hi,
After running thr marching cubes = to generate iso surfaces, and vtkcutter to generate contours, the model = suffers from a lot of discontinous lines even = after = I apply polydataconnectivity = filter, is there anyway around this.. Thanks
------=_NextPart_000_0017_01C23E60.7CBABAB0-- From rgupta@imaging.robarts.ca Wed Aug 7 15:33:35 2002 From: rgupta@imaging.robarts.ca (Ravi Gupta) Date: Wed, 07 Aug 2002 10:33:35 -0400 Subject: [vtkusers] Compiling VTK on W2K without VC++ Message-ID: <3D512FBF.4030309@imaging.robarts.ca> Hi, I want to compile VTK on W2K without having to buy VC++ Pro for CD$140, VC++ Std has been discontinued. Does anyone have any suggestions or experience using other compilers, especially free ones. I would think that any command line compiler under a dos shell should do the job. All I need is the dlls. We do our development using Tkinter. Any help would be appreciated. Thanks Ravi -- Ravi Gupta Programmer ################################################# The John P. | P.O. Box 5015 Robarts Research Institute | 100 Perth Drive Imaging Research Laboratories | London Tel: (519) 663-5777 ext. 1-34077| Ontario Fax: (519) 663-3403 | Canada E-Mail: rgupta@irus.rri.ca | N6A 5K8 ################################################# ################################################# http://www.irus.rri.ca/igns http://www.irus.rri.ca/~rgupta ################################################# "Be the change you wish to see in the world." -Mohandas Karamchand Gandhi From andy.cedilnik@kitware.com Wed Aug 7 16:17:24 2002 From: andy.cedilnik@kitware.com (Andy Cedilnik) Date: 07 Aug 2002 11:17:24 -0400 Subject: [vtkusers] Compiling VTK on W2K without VC++ In-Reply-To: <3D512FBF.4030309@imaging.robarts.ca> References: <3D512FBF.4030309@imaging.robarts.ca> Message-ID: <1028733450.10657.90.camel@xanth.kitwarein.com> Hello, Try Borland C++ compiler. I think there is a free version. Also, you may want to look at cygwin. Andy On Wed, 2002-08-07 at 10:33, Ravi Gupta wrote: > Hi, > > I want to compile VTK on W2K without having to buy VC++ Pro for CD$140, > VC++ Std has been discontinued. > > Does anyone have any suggestions or experience using other compilers, > especially free ones. I would think that any command line compiler under > a dos shell should do the job. > > All I need is the dlls. We do our development using Tkinter. > > Any help would be appreciated. From s011124@student.dtu.dk Wed Aug 7 16:29:09 2002 From: s011124@student.dtu.dk (Javier Maicas Sebastian) Date: Wed, 7 Aug 2002 17:29:09 +0200 (METDST) Subject: [vtkusers] 3D visualization Message-ID:------=_NextPart_000_0012_01C241E8.2A3B9080-- From david.netherway@adelaide.edu.au Mon Aug 12 02:13:08 2002 From: david.netherway@adelaide.edu.au (David Netherway) Date: Mon, 12 Aug 2002 10:43:08 +0930 Subject: [vtkusers] memory allocation limit in windows 2000 or vtk ? References:----- Original Message -----From:=20 FICKER,=20 MICHAELSent: Tuesday, 06 August, 2002 = 10:48=20 AMSubject: [vtkusers] Large = Volume=20 DataMy data set consists of 1500 jpeg images of = 2000x2000 pixels=20 each. I do not intend to visualize such a large volume but I was = trying=20 to make VTK extract and resample my Volume of Interest (VOI) and then = dump=20 this smaller volume (aprox 150x150x150) out into a new set of=20 jpegs.
I have had luck manipulating and visualizing smaller = volumes=20 but have been unable to use such a large data set. I have tried = various=20 forms of vtkImageDataStreamer and = vtkMemoryLimitImageDataStreamer.
I have been trying varios forms of the following = script. =20 If I only procecss ~350 images it runs fine, but if I try the entire = stack VTK=20 crashes.
Time is not a concern, the script can run as long as = it=20 takes.
Any ideas on how to work with = datasets this=20 large?
# read a stack of images starting at = GR0000.JPG=20
vtkJPEGReader reader
reader = SetFilePrefix=20 "GR"
reader=20 SetDataExtent 0 2000 0 2000 0 1500
reader = SetFilePattern=20 "%s%04d.JPG"
reader = SetDataSpacing 2 2=20 3
= reader=20 SetDataScalarTypeToUnsignedShort
reader=20 GlobalReleaseDataFlagOn#Stream the data to comsume less memory =
vtkImageDataStreamer streamer
streamer SetInput = [reader=20 GetOutput]
=20 streamer SetNumberOfStreamDivisions 32
[streamer=20 GetExtentTranslator] SetSplitModeToBlock
streamer=20 UpdateWholeExtent# Extract and resample a sub volume from the = source=20
vtkExtractVOI voi
voi SetInput = [streamer=20 GetOutput]
=20 voi SetVOI 500 1500 400 1600 100 1400
voi SetSampleRate = 10 10=20 10
[voi=20 GetOutput] SetScalarTypeToUnsignedChar# write out the new smaller volume
vtkJPEGWriter writer
writer SetInput = [voi=20 GetOutput]
=20 writer SetFilePrefix "vol"
writer = SetFilePattern=20 "%s%04d.jpg"
writer = SetFileDimensionality=20 3
= writer=20 Write
Does anyone have a help page on building the VTK DLLs using Borland. All I need is the dlls hence my choice of the free compiler.--=====================_1044173752==_.ALT-- From rgupta@imaging.robarts.ca Mon Aug 12 17:30:23 2002 From: rgupta@imaging.robarts.ca (Ravi Gupta) Date: Mon, 12 Aug 2002 12:30:23 -0400 Subject: [vtkusers] Need HELP with Boreland Free C++ 5.5 and VTK4 References: <5.0.2.1.0.20020812121312.0463d5d0@pop.nycap.rr.com> Message-ID: <3D57E29F.90003@imaging.robarts.ca> > Looks like your source might be incomplete, you should have the file > VTK\Utilities\png\.NoDartCoverage Yes I have the file but its empty except for the line # do not do coverage in this directory This is a VTK source that I have been using with VC++ and RedHat for a long time without any problems... William A. Hoffman wrote: > I am not sure what is going wrong for you. We are running a dashboard for > both shared (dll) and static builds of VTK each night. > http://public.kitware.com/dashboard.php?name=vtk > > See these builds: > KALGAN.KITWARE WinNT-bcc32 > KALGAN.KITWARE WinNTbcc32shared > > Looks like your source might be incomplete, you should have the file > VTK\Utilities\png\.NoDartCoverage. > > How are you getting the VTK source? > > -Bill > > At 10:40 AM 8/12/2002 -0400, Ravi Gupta wrote: > >> Does anyone have a help page on building the VTK DLLs using Borland. >> All I need is the dlls hence my choice of the free compiler. >> >> Windows 2000 >> VTK 4.n (Which compiles fine under VC++) >> Borland C++ 5.5.1 for Win32, using dos prompt >> CMake 1.4.3-patch (has the same errors as CMake 1.3 development) >> >> MAKE Version 5.2 Copyright (c) 1987, 2000 Borland >> Fatal: 'D:\rgupta\vtk4\VTK\Utilities\png\.NoDartCoverage' does not >> exist - don't know how to make it >> >> I got past this error by editing the Make files. Not an elegant >> solution but I could live with it if I have to. Requires 8-10 files to >> be edited. >> >> THE SHOW STOPPER IS AN UNRESOLVED EXTERN SYMBOL IN THE IO DIRECTORY >> FILES. Sorry lost the error but will re generate it if someone in the >> borland community can help me. >> >> Thanks >> Ravi >> >> >> >> >> >> -- >> Ravi Gupta >> >> Programmer >> >> >> ################################################# >> The John P. | P.O. Box 5015 >> Robarts Research Institute | 100 Perth Drive >> Imaging Research Laboratories | London >> Tel: (519) 663-5777 ext. 1-34077| Ontario >> Fax: (519) 663-3403 | Canada >> E-Mail: rgupta@irus.rri.ca | N6A 5K8 >> ################################################# >> >> ################################################# >> http://www.irus.rri.ca/igns >> http://www.irus.rri.ca/~rgupta >> ################################################# >> >> "Be the change you wish to see in the world." >> -Mohandas Karamchand Gandhi >> >> _______________________________________________ >> This is the private VTK discussion list. Please keep messages >> on-topic. Check the FAQ at:
Windows 2000
VTK 4.n (Which compiles fine under VC++)
Borland C++ 5.5.1 for Win32, using dos prompt
CMake 1.4.3-patch (has the same errors as CMake 1.3 development)
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
Fatal: 'D:\rgupta\vtk4\VTK\Utilities\png\.NoDartCoverage' does not exist - don't know how to make it
I got past this error by editing the Make files. Not an elegant solution but I could live with it if I have to. Requires 8-10 files to be edited.
THE SHOW STOPPER IS AN UNRESOLVED EXTERN SYMBOL IN THE IO DIRECTORY FILES. Sorry lost the error but will re generate it if someone in the borland community can help me.
Thanks
Ravi
--
Ravi Gupta
Programmer
#################################################
The John P.| P.O. Box 5015
Robarts Research Institute| 100 Perth Drive
Imaging Research Laboratories| London
Tel: (519) 663-5777 ext. 1-34077| Ontario
Fax: (519) 663-3403| Canada
E-Mail: rgupta@irus.rri.ca| N6A 5K8
#################################################
#################################################
http://www.irus.rri.ca/igns
http://www.irus.rri.ca/~rgupta
#################################################
"Be the change you wish to see in the world."
-Mohandas Karamchand Gandhi
_______________________________________________
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
I have 33 large actors that I am trying to add to a rendering window. I am wondering if there is someway to streamline the process beyond this: vtkPolyDataMapper *airwayTreeMapper8 = vtkPolyDataMapper::New(); airwayTreeMapper8->SetInput( appendAirwayTree8->GetOutput() ); appendAirwayTree8->Delete(); ... vtkActor *airwayTreeActor8 = vtkActor::New(); airwayTreeActor8->SetMapper( airwayTreeMapper8 ); airwayTreeActor8->GetProperty()->SetColor( 1, 1, 0 ); airwayTreeMapper8->Delete(); ... actors.push_back( airwayTreeActor8 ); ... renderer->AddActor( airwayTreeActor8 ); airwayTreeActor8->Delete(); ... vtkwindow->getRenderWindow()->Render(); Thanks, Brian
Hi there,
as i presented some simple VTK stuff to my collegues in the projectgroup the program crashes with Segmentation Fault when I switch between Track and Joystick – Mode. The VTK Program shows 3 Cylinders, 3 Cones and 4 spheres, so not even complex stuff. Does anyone knows how to work around that issue or is it a known bug?
Greetings
Jan
*******************************************************************
PC/LAN Administration
Department of Economics and Business Administration
University of Bielefeld
Postbox 10 01 31
33501 Bielefeld
Germany
Tel.: +49-521-106-4888
FAX.: +49-521-106-8004
E-Mail: wiwiadmin@wiwi.Uni-Bielefeld.DE
*******************************************************************
Hi,
Is there a kind of a simple "arrow" to represent vectorial field to be used in alternative to the available "glyphs"?
/Marcio
Hi,
Is = there a known approach to reconstruct a 3D volume model from CT using VTK and import it successfully = into well known CAD modelers like Unigraphics, Pro E, = AutoCAD
If not
What abt a known approach to reconstruct a 3D volume model from CT using VTK and import it successfully = into well known FEA software like ABAQUS, ANSYS, NASTRAN.