[vtkusers] is Vtk 5.2.1 64 bit clean?

Rocco Gasteiger post at rocco-gasteiger.de
Mon Feb 16 04:52:05 EST 2009


Hi Leo,

You mentioned that you have an 64 bit version of TCL/Tk? I've searched for
such an version but without success. Where have you found it or do you build
your own 64 bit version from the sources?

Thanks in advanced, 
Rocco 

--------------------------------------------------
Dipl.-Ing. Rocco Gasteiger
Otto-von-Guericke University
Faculty of Computer Science
Department of Simulation and Graphics
Universitätsplatz 2, 39106 Magdeburg, Germany

Office:  G29-223
Phone:   +49 391 67 127 59
Fax:     +49 391 67 111 64
Website: http://wwwisg.cs.uni-magdeburg.de/cvcms/  
--------------------------------------------------




-----Original Message-----
From: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] On Behalf
Of L.J. van Ruijven
Sent: Monday, February 16, 2009 8:23 AM
To: vtkusers at vtk.org
Cc: vtkusers at vtk.org; istmal at yahoo.com
Subject: Re: [vtkusers] is Vtk 5.2.1 64 bit clean?

Hi,

I have compiled VTK x64 version on XP x64 with Visual Studio 2005. I also
combine VTK with 64 bit version of TCL and (since recently) Python. Most of
the time my programs use more than 4 GB (once even 12 GB) of RAM. The last
time I encountered a problem was about two years ago. If I am correct, this
bug has been fixed in V5.0.2.

regards,
Leo.
 

----- Original Message -----
From: vtkusers-request at vtk.org
Date: Friday, February 13, 2009 6:00 pm
Subject: vtkusers Digest, Vol 58, Issue 14
To: vtkusers at vtk.org


> 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-owner 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. vtkImagePlaneWidget with QT (Luis Roberto P. Paula)
>     2. Re: OBJ Writer? (Francois Bertel)
>     3. Re: OBJ Writer? (Francois Bertel)
>     4. Re: Event Handling with SelectionChangedEvent (Aytekin Vargun)
>     5. Odd behavior in vtkStreamTracer? (Bridgman, William T.)
>     6. ROI using vtkImageTracerWidget (Sercani)
>     7. Fieldview <--> Vtk-Format (Werner.Willems at web.de)
>     8. is Vtk 5.2.1 64 bit clean? (Igor Mal)
>     9. Re: is Vtk 5.2.1 64 bit clean? (Sean McBride)
>    10. Re: is Vtk 5.2.1 64 bit clean? (shekharc)
>    11. Re: is Vtk 5.2.1 64 bit clean? (Sean McBride)
>    12. Re: Odd behavior in vtkStreamTracer? (Berk Geveci)
>    13. Re: vtkImagePlaneWidget with QT (Aur?lie Larcher)
>    14. Remove parts of the volume displayed (wassim_belhadj at topnet.tn)
>    15. QVTK weird linking problem (Giancarlo Amati)
>    16. Re: Odd behavior in vtkStreamTracer? (Bridgman, William T.)
>  
>  
>  ----------------------------------------------------------------------
>  
>  Message: 1
>  Date: Thu, 12 Feb 2009 15:01:31 -0200
>  From: "Luis Roberto P. Paula" <luisrpp at gmail.com>
>  Subject: [vtkusers] vtkImagePlaneWidget with QT
>  To: vtkusers <vtkusers at vtk.org>
>  Message-ID:
>  	<e24a57d00902120901w4884be3cg6dd868e864462a06 at mail.gmail.com>
>  Content-Type: text/plain; charset="iso-8859-1"
>  
>  Hi All,
>  
>  How can I create an application using vtkImagePlaneWidget with QT, 
> since we
>  need to use the QVTKWidget to connect VTK and QT?
>  
>  Thanks,
>  Luis
>  -------------- next part --------------
>  An HTML attachment was scrubbed...
>  URL: <
>  
>  ------------------------------
>  
>  Message: 2
>  Date: Thu, 12 Feb 2009 12:02:09 -0500
>  From: Francois Bertel <francois.bertel at kitware.com>
>  Subject: Re: [vtkusers] OBJ Writer?
>  To: "vtkusers at vtk.org" <vtkusers at vtk.org>
>  Message-ID:
>  	<d9819a910902120902v939be5ci6dd017261f47450b at mail.gmail.com>
>  Content-Type: text/plain; charset=ISO-8859-1
>  
>  There is  an OBJ "exporter": VTK/Rendering/vtkOBJExporter.*
>  
>  On Thu, Feb 12, 2009 at 11:59 AM, David Doria <daviddoria at gmail.com> 
> wrote:
>  > There is an OBJ Reader class, but I don't see an OBJ Writer? Am I
>  > missing it or is there not one?
>  >
>  > --
>  > Thanks,
>  >
>  > David
>  > _______________________________________________
>  > Powered by www.kitware.com
>  >
>  > Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
>  >
>  > Please keep messages on-topic and check the VTK FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ
>  >
>  > Follow this link to subscribe/unsubscribe:
>  > http://www.vtk.org/mailman/listinfo/vtkusers
>  >
>  
>  
>  
>  -- 
>  Fran?ois Bertel, PhD  | Kitware Inc. Suite 204
>  1 (518) 371 3971 x113 | 28 Corporate Drive
>                        | Clifton Park NY 12065, USA
>  
>  
>  ------------------------------
>  
>  Message: 3
>  Date: Thu, 12 Feb 2009 12:11:44 -0500
>  From: Francois Bertel <francois.bertel at kitware.com>
>  Subject: Re: [vtkusers] OBJ Writer?
>  To: vtkusers at public.kitware.com
>  Message-ID:
>  	<d9819a910902120911t406e6986j12ae1114cec2a5c7 at mail.gmail.com>
>  Content-Type: text/plain; charset=ISO-8859-1
>  
>  Keep the message on the list, please.
>  
>  Exporters save a whole 3D scene, whereas writers save a dataset.
>  Importers load a whole 3D scene, whereas readers load a dataset.
>  
>  On Thu, Feb 12, 2009 at 12:03 PM, David Doria <daviddoria at gmail.com> 
> wrote:
>  > Ah, I didn't see it because I was looking in IO and I was searching
>  > for Writer! Why the different naming?
>  >
>  > On Thu, Feb 12, 2009 at 12:02 PM, Francois Bertel
>  > <francois.bertel at kitware.com> wrote:
>  >> There is  an OBJ "exporter": VTK/Rendering/vtkOBJExporter.*
>  >>
>  >> On Thu, Feb 12, 2009 at 11:59 AM, David Doria 
> <daviddoria at gmail.com> wrote:
>  >>> There is an OBJ Reader class, but I don't see an OBJ Writer? Am I
>  >>> missing it or is there not one?
>  >>>
>  >>> --
>  >>> Thanks,
>  >>>
>  >>> David
>  >>> _______________________________________________
>  >>> Powered by www.kitware.com
>  >>>
>  >>> Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
>  >>>
>  >>> Please keep messages on-topic and check the VTK FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ
>  >>>
>  >>> Follow this link to subscribe/unsubscribe:
>  >>> http://www.vtk.org/mailman/listinfo/vtkusers
>  >>>
>  >>
>  >>
>  >>
>  >> --
>  >> Fran?ois Bertel, PhD  | Kitware Inc. Suite 204
>  >> 1 (518) 371 3971 x113 | 28 Corporate Drive
>  >>                      | Clifton Park NY 12065, USA
>  >> _______________________________________________
>  >> Powered by www.kitware.com
>  >>
>  >> Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
>  >>
>  >> Please keep messages on-topic and check the VTK FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ
>  >>
>  >> Follow this link to subscribe/unsubscribe:
>  >> http://www.vtk.org/mailman/listinfo/vtkusers
>  >>
>  >
>  >
>  >
>  > --
>  > Thanks,
>  >
>  > David
>  >
>  
>  
>  
>  -- 
>  Fran?ois Bertel, PhD  | Kitware Inc. Suite 204
>  1 (518) 371 3971 x113 | 28 Corporate Drive
>                        | Clifton Park NY 12065, USA
>  
>  
>  ------------------------------
>  
>  Message: 4
>  Date: Thu, 12 Feb 2009 12:28:14 -0500
>  From: Aytekin Vargun <varguna at gmail.com>
>  Subject: Re: [vtkusers] Event Handling with SelectionChangedEvent
>  To: vtkusers at vtk.org
>  Message-ID:
>  	<fe9846b90902120928j7f3faea1v9e06ca977d3f2e95 at mail.gmail.com>
>  Content-Type: text/plain; charset="iso-8859-1"
>  
>  Thanks a lot Jeff.
>  This really worked.
>  
>  PS: I hope this message won't create a new thread. I apologize if it
>  happens.
>  Aytekin
>  
>  On Tue, Feb 10, 2009 at 8:38 AM, Jeff Baumes
<jeff.baumes at kitware.com>wrote:
>  
>  > Hi Aytekin,
>  >
>  > Based on previous emails, I believe your "selections" object is a
>  > vtkDataRepresentation, which does not emit any key press events (or
>  > mouse events). These events are emitted by the interactor style. So
>  > you'd do something like
>  >
>  >
>  >
win->GetInteractor()->GetInteractorStyle()->AddObserver(vtkCommand::KeyPress
Event,
>  > callback);
>  >
>  > where "win" is your vtkRenderWindow instance. This should be done
>  > after the SetupRenderWindow call.
>  >
>  > Jeff
>  >
>  > On Mon, Feb 9, 2009 at 11:11 AM, Aytekin Vargun <varguna at gmail.com> 
> wrote:
>  > > Hi,
>  > > I am currently having problems with my event handler and would
appreciate
>  > if
>  > > anybody suggests me  a solution.
>  > >
>  > > The ProcessVertexSelection (user defined) method is activated 
> when some
>  > > selections are made (based on SelectionChangeEvent). Everything 
> is good
>  > upto
>  > > this point. Here is the code for this:
>  > >
>  > > edgePicked->SetCallback(network->ProcessVertexSelection);
>  > > edgePicked->SetClientData((void
>  > *)static_cast<vtkSelectionLink*>(edgeLink));
>  > > selections->AddObserver(vtkCommand::SelectionChangedEvent,
edgePicked);
>  > >
>  > > This part works and I can get the selections. Now I want to add
another
>  > > functionality: The user may want to delete the current selections 
> by
>  > using
>  > > key 'd' or "delete" whichever is simple to implement. I know that
>  > GetKeySym
>  > > can be used to get key symbol. However, if I add the following 
> code to
>  > > activate another method to do deletions, the event handler 
> ignores it. It
>  > > never activates the method which is named as EVTDelete (in my 
> code) where
>  > I
>  > > plan to check which key is used.
>  > >
>  > > delPicked->SetCallback(network->EVTDelete);
>  > > delPicked->SetClientData((void
>  > *)static_cast<vtkSelectionLink*>(edgeLink));
>  > > selections->AddObserver(vtkCommand::KeyPressEvent, delPicked);
>  > >
>  > > Why doesn't my event handler listen do the keypresses other than 
> the
>  > default
>  > > ones?
>  > > Thanks a lot.
>  > > Aytekin
>  > >
>  > > --
>  > > My web page: 
>  > >
>  > > _______________________________________________
>  > > Powered by www.kitware.com
>  > >
>  > > Visit other Kitware open-source projects at
>  > > http://www.kitware.com/opensource/opensource.html
>  > >
>  > > Please keep messages on-topic and check the VTK FAQ at:
>  > > http://www.vtk.org/Wiki/VTK_FAQ
>  > >
>  > > Follow this link to subscribe/unsubscribe:
>  > > http://www.vtk.org/mailman/listinfo/vtkusers
>  > >
>  > >
>  >
>  >
>  >
>  > --
>  > Jeff Baumes, Ph.D.
>  > R&D Engineer, Kitware Inc.
>  > (518) 371-3971 x132
>  > jeff.baumes at kitware.com
>  >
>  
>  
>  
>  -- 
>  My web page: http://www.cs.rpi.edu/~vargua
>  -------------- next part --------------
>  An HTML attachment was scrubbed...
>  URL: <
>  
>  ------------------------------
>  
>  Message: 5
>  Date: Thu, 12 Feb 2009 15:28:41 -0500
>  From: "Bridgman, William T." <William.T.Bridgman at nasa.gov>
>  Subject: [vtkusers] Odd behavior in vtkStreamTracer?
>  To: vtkusers at vtk.org
>  Message-ID: <8B78E721-3B03-4919-BB55-8D5FB5233D15 at nasa.gov>
>  Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>  
>  Hello,
>  
>  I've been generating some field lines using vtkStreamTracer.  The  
>  domain of the field has a hole in the center and I am interested in  
> 
>  the flow into and out of the hole.
>  
>  I've defined my points just outside the spherical hole.  The northern 
>  
>  region has outbound field lines and those are easy.  The southern  
>  region has inbound field lines so I set StreamTracer to reverse the  
> 
>  direction of propagation.  In the southern case, the lines seem to  
>  generate okay but are actually *two* nearly perfectly overlaid lines  
> 
>  with an outbound and inbound components that seem to have a common  
>  node at a position far from the hole.
>  
>  I've not yet identified a clear pattern in when it does this.  It 
> does  
>  not happen to every field line in the region.
>  
>  I'm using a CVS repository around version 5.2, Linux on 64-bit.
>  
>  Any thoughts?
>  
>  Thanks,
>  Tom
>  --
>  Dr. William T."Tom" Bridgman               Scientific Visualization  
> 
>  Studio
>  Global Science & Technology, Inc.          NASA/Goddard Space Flight  
> 
>  Center
>  Email: William.T.Bridgman at nasa.gov         Code 610.3
>  Phone: 301-286-1346                        Greenbelt, MD 20771
>  FAX:   301-286-1634                        http://svs.gsfc.nasa.gov/
>  
>  
>  
>  
>  
>  
>  ------------------------------
>  
>  Message: 6
>  Date: Thu, 12 Feb 2009 23:33:04 +0200
>  From: "Sercani" <sercanimailgroups at gmail.com>
>  Subject: [vtkusers] ROI using vtkImageTracerWidget
>  To: <vtkusers at vtk.org>
>  Message-ID: <007f01c98d59$81324190$8396c4b0$@com>
>  Content-Type: text/plain; charset="iso-8859-9"
>  
>  Hi everyone;
>  
>  I am using vtkImageTracerWidget to draw freehand drawings on a
vtkImageActor
>  (input of this actor is output of the vtkDICOMImageReader). I want to 
> use
>  this closed spline for calculating the region area(using the spacing 
> of
>  dataset too) and clip this region from image. I have looked at and tested
>  this example
>
http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Examples/GUI/Tcl/Im
>  ageTracerWidget.tcl?root=VTK
>
<http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Examples/GUI/Tcl/I
>  mageTracerWidget.tcl?root=VTK&content-type=text/plain>
>  &content-type=text/plain but couldn't get things clear. How can i get 
> the
>  region boundaries and use it for area calculating and clipping image?
>  
>  Yours sincerely;
>  
>  Sercani..
>  
>  -------------- next part --------------
>  An HTML attachment was scrubbed...
>  URL: <
>  
>  ------------------------------
>  
>  Message: 7
>  Date: Thu, 12 Feb 2009 22:36:52 +0100
>  From: Werner.Willems at web.de
>  Subject: [vtkusers] Fieldview <--> Vtk-Format
>  To: vtkusers at vtk.org
>  Message-ID: <854342461 at web.de>
>  Content-Type: text/plain; charset=iso-8859-15
>  
>  Does anybody know of a Fieldview to Vtk-Format converter? 
>  
>  Thanks,
>  
>  Werner
>  
>  
>  
>  
>  ------------------------------
>  
>  Message: 8
>  Date: Thu, 12 Feb 2009 17:46:53 -0800 (PST)
>  From: Igor Mal <istmal at yahoo.com>
>  Subject: [vtkusers] is Vtk 5.2.1 64 bit clean?
>  To: vtkusers at vtk.org
>  Message-ID: <359422.99375.qm at web51706.mail.re2.yahoo.com>
>  Content-Type: text/plain; charset="iso-8859-1"
>  
>  I've read the VTK FAQ.
>  ?
>  It says that "vtk codebase are not 64 bit clean and so runtime 
> problems are likely if that code is used." 
>  ?
>  But it looks a bit outdated, since it does not ention any VTK 5.*.*
version.
>  Is anybody?using x64 version of VTK on Windows 64 bit, or can make 
> any comments on this?
>  ?
>  Thanks in advance,
>  ?? Alex
>  
>  
>        
>  -------------- next part --------------
>  An HTML attachment was scrubbed...
>  URL: <
>  
>  ------------------------------
>  
>  Message: 9
>  Date: Thu, 12 Feb 2009 20:56:16 -0500
>  From: "Sean McBride" <sean at rogue-research.com>
>  Subject: Re: [vtkusers] is Vtk 5.2.1 64 bit clean?
>  To: <istmal at yahoo.com>, <vtkusers at vtk.org>
>  Message-ID: <20090213015616.1769857463 at kingu.local>
>  Content-Type: text/plain; charset=ISO-8859-1
>  
>  On 2/12/09 5:46 PM, Igor Mal said:
>  
>  >I've read the VTK FAQ.
>  >?
>  >It says that "vtk codebase are not 64 bit clean and so runtime problems
>  >are likely if that code is used." 
>  
>  It says: "... _parts_ of the vtk codebase are not 64 bit clean...".
>  
>  >But it looks a bit outdated, since it does not ention any VTK 5.*.* 
> version.
>  
>  The statement is still true.  You can prove it to yourself by turning 
> on
>  a compiler warning that warns about size truncation, like converting
>  size_t to int.
>  
>  >Is anybody?using x64 version of VTK on Windows 64 bit, or can make any
>  >comments on this?
>  
>  I'm using VTK on 64 bit Mac OS X.  It mostly works well.
>  
>  Are you having problems?
>  
>  -- 
>  ____________________________________________________________
>  Sean McBride, B. Eng                 sean at rogue-research.com
>  Rogue Research                        www.rogue-research.com 
>  Mac Software Developer              Montr?al, Qu?bec, Canada
>  
>  
>  
>  
>  ------------------------------
>  
>  Message: 10
>  Date: Fri, 13 Feb 2009 12:58:57 +1100
>  From: shekharc <Shekhar.Chandra at sci.monash.edu.au>
>  Subject: Re: [vtkusers] is Vtk 5.2.1 64 bit clean?
>  To: Sean McBride <sean at rogue-research.com>
>  Cc: vtkusers at vtk.org, istmal at yahoo.com
>  Message-ID: <4994D3E1.1050507 at sci.monash.edu.au>
>  Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>  
>  Hi Alex,
>  
>  Works fine on Windows Vista/XP x64 and Linux x64 fine for me so far.
>  
>  Cheers
>  Shakes
>  
>  Sean McBride wrote:
>  > On 2/12/09 5:46 PM, Igor Mal said:
>  > 
>  >> I've read the VTK FAQ.
>  >>  
>  >> It says that "vtk codebase are not 64 bit clean and so runtime
problems
>  >> are likely if that code is used." 
>  > 
>  > It says: "... _parts_ of the vtk codebase are not 64 bit clean...".
>  > 
>  >> But it looks a bit outdated, since it does not ention any VTK 
> 5.*.* version.
>  > 
>  > The statement is still true.  You can prove it to yourself by 
> turning on
>  > a compiler warning that warns about size truncation, like converting
>  > size_t to int.
>  > 
>  >> Is anybody using x64 version of VTK on Windows 64 bit, or can make 
> any
>  >> comments on this?
>  > 
>  > I'm using VTK on 64 bit Mac OS X.  It mostly works well.
>  > 
>  > Are you having problems?
>  > 
>  
>  
>  ------------------------------
>  
>  Message: 11
>  Date: Thu, 12 Feb 2009 21:02:04 -0500
>  From: "Sean McBride" <sean at rogue-research.com>
>  Subject: Re: [vtkusers] is Vtk 5.2.1 64 bit clean?
>  To: shekharc <Shekhar.Chandra at sci.monash.edu.au>
>  Cc: vtkusers at vtk.org, istmal at yahoo.com
>  Message-ID: <20090213020204.2120989307 at kingu.local>
>  Content-Type: text/plain; charset=ISO-8859-1
>  
>  On 2/13/09 12:58 PM, shekharc said:
>  
>  >Works fine on Windows Vista/XP x64 and Linux x64 fine for me so far.
>  
>  Out of curiosity, are you using datasets > 4 GiB?
>  
>  -- 
>  ____________________________________________________________
>  Sean McBride, B. Eng                 sean at rogue-research.com
>  Rogue Research                        www.rogue-research.com 
>  Mac Software Developer              Montr?al, Qu?bec, Canada
>  
>  
>  
>  
>  ------------------------------
>  
>  Message: 12
>  Date: Thu, 12 Feb 2009 22:30:26 -0500
>  From: Berk Geveci <berk.geveci at kitware.com>
>  Subject: Re: [vtkusers] Odd behavior in vtkStreamTracer?
>  To: "Bridgman, William T." <William.T.Bridgman at nasa.gov>
>  Cc: vtkusers at vtk.org
>  Message-ID:
>  	<45d654b0902121930p3fcbc31cmf2bfb01f551e57ca at mail.gmail.com>
>  Content-Type: text/plain; charset=ISO-8859-1
>  
>  Hi Tom,
>  
>  Can you share data and maybe a script that demonstrate the problem?
>  
>  -berk
>  
>  On Thu, Feb 12, 2009 at 3:28 PM, Bridgman, William T.
>  <William.T.Bridgman at nasa.gov> wrote:
>  > Hello,
>  >
>  > I've been generating some field lines using vtkStreamTracer.  The 
> domain of
>  > the field has a hole in the center and I am interested in the flow 
> into and
>  > out of the hole.
>  >
>  > I've defined my points just outside the spherical hole.  The 
> northern region
>  > has outbound field lines and those are easy.  The southern region has
>  > inbound field lines so I set StreamTracer to reverse the direction 
> of
>  > propagation.  In the southern case, the lines seem to generate okay 
> but are
>  > actually *two* nearly perfectly overlaid lines with an outbound and 
> inbound
>  > components that seem to have a common node at a position far from 
> the hole.
>  >
>  > I've not yet identified a clear pattern in when it does this.  It 
> does not
>  > happen to every field line in the region.
>  >
>  > I'm using a CVS repository around version 5.2, Linux on 64-bit.
>  >
>  > Any thoughts?
>  >
>  > Thanks,
>  > Tom
>  > --
>  > Dr. William T."Tom" Bridgman               Scientific Visualization 
> Studio
>  > Global Science & Technology, Inc.          NASA/Goddard Space 
> Flight Center
>  > Email: William.T.Bridgman at nasa.gov         Code 610.3
>  > Phone: 301-286-1346                        Greenbelt, MD 20771
>  > FAX:   301-286-1634                        http://svs.gsfc.nasa.gov/
>  >
>  >
>  >
>  >
>  > _______________________________________________
>  > Powered by www.kitware.com
>  >
>  > Visit other Kitware open-source projects at
>  > http://www.kitware.com/opensource/opensource.html
>  >
>  > Please keep messages on-topic and check the VTK FAQ at:
>  > http://www.vtk.org/Wiki/VTK_FAQ
>  >
>  > Follow this link to subscribe/unsubscribe:
>  > http://www.vtk.org/mailman/listinfo/vtkusers
>  >
>  
>  
>  ------------------------------
>  
>  Message: 13
>  Date: Fri, 13 Feb 2009 09:16:15 +0100
>  From: Aur?lie Larcher <Aurelie.Larcher at imag.fr>
>  Subject: Re: [vtkusers] vtkImagePlaneWidget with QT
>  To: "Luis Roberto P. Paula" <luisrpp at gmail.com>, vtkusers at vtk.org
>  Message-ID: <49952C4F.9010204 at imag.fr>
>  Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>  
>  Hi Luis,
>  In the same way as usually.
>  All you construct in your vtkRenderWindow will be restored in your 
>  QVTKWidget, even your vtkImagePlaneWidget.
>  
>  (...)
>  my_interactor->SetRenderWindow(my_vtkRenderWindow);
>  my_imagePlaneWidget->SetInteractor(my_interactor);
>  my_QVTKWidget->GetRenderWindow()->AddRenderer(my_vtkRenderer);
>  my_QVTKWidget->SetRenderWindow(my_vtkRenderWindow);
>  (...)
>  
>  Aur?lie
>  
>  Luis Roberto P. Paula a ?crit :
>  > Hi All,
>  >
>  > How can I create an application using vtkImagePlaneWidget with QT, 
> 
>  > since we need to use the QVTKWidget to connect VTK and QT?
>  >
>  > Thanks,
>  > Luis
>  >
------------------------------------------------------------------------
>  >
>  > _______________________________________________
>  > Powered by www.kitware.com
>  >
>  > Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
>  >
>  > Please keep messages on-topic and check the VTK FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ
>  >
>  > Follow this link to subscribe/unsubscribe:
>  > http://www.vtk.org/mailman/listinfo/vtkusers
>  >   
>  
>  
>  
>  
>  ------------------------------
>  
>  Message: 14
>  Date: Fri, 13 Feb 2009 10:39:10 +0100
>  From: <wassim_belhadj at topnet.tn>
>  Subject: [vtkusers] Remove parts of the volume displayed
>  To: vtkusers at vtk.org
>  Message-ID: <21c650e95915a4ed3d57b809bb5721e7 at pop.topnet.tn>
>  Content-Type: text/plain; charset="utf-8"
>  
>  Hi,
>  
>  I'am using vtk for Volume Rendering and Qt4.
>  
>  I want to remove parts of the volume displayed (unnecessary parts). 
>  
>  Is there a VTK tool (an eraser) which provides this functionality.
>  
>  I tried to use vtkBoxWidget but I have not been able to delineate the 
> parts
>  that are between the two perpendicular planes of the BOx
>  
>  Attached a screenshot that illustrates the problem.
>  
>  Can someone help me...
>  
>  Best Regards,
>  BELHADJ Wassim
>  -------------- next part --------------
>  A non-text attachment was scrubbed...
>  Name: ScreenShot.jpg
>  Type: image/jpeg
>  Size: 3131 bytes
>  Desc: not available
>  URL: <
>  
>  ------------------------------
>  
>  Message: 15
>  Date: Fri, 13 Feb 2009 13:08:12 +0100
>  From: Giancarlo Amati <ilferraresebono at hotmail.it>
>  Subject: [vtkusers] QVTK weird linking problem
>  To: <vtkusers at vtk.org>, <qt-interest at trolltech.com>
>  Message-ID: <BAY141-W11F93C685F8D0CDBE4C8D2D9B80 at phx.gbl>
>  Content-Type: text/plain; charset="iso-8859-1"
>  
>  
>  
>  Good morning,
>  sorry for sending this mail twice but not sure which group is better. 
> Anyway compiled the VTK with the option for QT enabled producing the 
> QVTK.lib that I link in my program where I 
>  insert a QVTKWidget.
>  So, as I'm programming in Visual Studio 2005 I added that LIB file in 
> the sequece of LIBs in the linking properties.
>  So, this problem remarks that It cant link SetRenderWindow.....and I 
> can't understand why, any suggestions is really appreciated!
>  
>  1>------ Build started: Project: dioramaQT, Configuration: Debug 
> Win32 ------
>  1>Linking...
>  
>  1>main.obj : error LNK2019: unresolved external symbol "public: void 
> __thiscall QVTKWidget::SetRenderWindow(class vtkRenderWindow *)" 
> (?SetRenderWindow at QVTKWidget@@QAEXPAVvtkRenderWindow@@@Z) referenced 
> in function _main
>  
>  1>C:\KCLSoftware\DIORAMAQT\dioramaQT\Debug\dioramaQT.exe : fatal 
> error LNK1120: 1 unresolved externals
>  1>Build log was saved at
"file://c:\KCLSoftware\DIORAMAQT\dioramaQT\Debug\BuildLog.htm"
>  1>dioramaQT - 2 error(s), 0 warning(s)
>  ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========
>  
>  
>  Many Thanks
>  Giancarlo
>  
>  _________________________________________________________________
>  Vai oltre le parole, scarica Messenger 2009!
>  http://www.messenger.it
>  -------------- next part --------------
>  An HTML attachment was scrubbed...
>  URL: <
>  
>  ------------------------------
>  
>  Message: 16
>  Date: Fri, 13 Feb 2009 11:31:52 -0500
>  From: "Bridgman, William T." <William.T.Bridgman at nasa.gov>
>  Subject: Re: [vtkusers] Odd behavior in vtkStreamTracer?
>  To: vtkusers at vtk.org
>  Cc: Berk Geveci <berk.geveci at kitware.com>
>  Message-ID: <DA085295-2787-4C25-AE3B-3A383FCE659C at nasa.gov>
>  Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>  
>  I wish I could isolate the problem for reliable reproduction.  As it  
> 
>  is, it appears to affect only some of the lines I generate and the  
>  criteria I have found are not 100% reliable.
>  
>  One thing that seems to reduce the problem is if I reduce the maximum 
>  
>  number of steps allowed.  I was using 2500 but the problem is  
>  significantly reduced when I limit to 1300.  I'll probably try  
>  dropping it below 1000 to see if that helps also.
>  
>  Could there be a hard limit on the maximum number of points in  
>  vtkStreamTracer?  I tried examining some of the vtk code but don't 
> see  
>  an obvious connection.
>  
>  Tom
>  On Feb 12, 2009, at 10:30 PM, Berk Geveci wrote:
>  
>  > Hi Tom,
>  >
>  > Can you share data and maybe a script that demonstrate the problem?
>  >
>  > -berk
>  >
>  > On Thu, Feb 12, 2009 at 3:28 PM, Bridgman, William T.
>  > <William.T.Bridgman at nasa.gov> wrote:
>  >> Hello,
>  >>
>  >> I've been generating some field lines using vtkStreamTracer.  The  
> 
>  >> domain of
>  >> the field has a hole in the center and I am interested in the flow 
>  
>  >> into and
>  >> out of the hole.
>  >>
>  >> I've defined my points just outside the spherical hole.  The  
>  >> northern region
>  >> has outbound field lines and those are easy.  The southern region 
> has
>  >> inbound field lines so I set StreamTracer to reverse the direction 
> of
>  >> propagation.  In the southern case, the lines seem to generate 
> okay  
>  >> but are
>  >> actually *two* nearly perfectly overlaid lines with an outbound 
> and  
>  >> inbound
>  >> components that seem to have a common node at a position far from  
> 
>  >> the hole.
>  >>
>  >> I've not yet identified a clear pattern in when it does this.  It  
> 
>  >> does not
>  >> happen to every field line in the region.
>  >>
>  >> I'm using a CVS repository around version 5.2, Linux on 64-bit.
>  >>
>  >> Any thoughts?
>  >>
>  >> Thanks,
>  >> Tom
>  >> --
>  >> Dr. William T."Tom" Bridgman               Scientific 
> Visualization  
>  >> Studio
>  >> Global Science & Technology, Inc.          NASA/Goddard Space  
>  >> Flight Center
>  >> Email: William.T.Bridgman at nasa.gov         Code 610.3
>  >> Phone: 301-286-1346                        Greenbelt, MD 20771
>  >> FAX:   301-286-1634                        http://svs.gsfc.nasa.gov/
>  >>
>  >>
>  >>
>  >>
>  >> _______________________________________________
>  >> Powered by www.kitware.com
>  >>
>  >> Visit other Kitware open-source projects at
>  >> http://www.kitware.com/opensource/opensource.html
>  >>
>  >> Please keep messages on-topic and check the VTK FAQ at:
>  >> http://www.vtk.org/Wiki/VTK_FAQ
>  >>
>  >> Follow this link to subscribe/unsubscribe:
>  >> http://www.vtk.org/mailman/listinfo/vtkusers
>  >>
>  
>  --
>  Dr. William T."Tom" Bridgman               Scientific Visualization  
> 
>  Studio
>  Global Science & Technology, Inc.          NASA/Goddard Space Flight  
> 
>  Center
>  Email: William.T.Bridgman at nasa.gov         Code 610.3
>  Phone: 301-286-1346                        Greenbelt, MD 20771
>  FAX:   301-286-1634                        http://svs.gsfc.nasa.gov/
>  
>  
>  
>  
>  
>  
>  ------------------------------
>  
>  _______________________________________________
>  vtkusers mailing list
>  vtkusers at vtk.org
>  http://www.vtk.org/mailman/listinfo/vtkusers
>  
>  
>  End of vtkusers Digest, Vol 58, Issue 14
>  ****************************************
>  




More information about the vtkusers mailing list