[vtkusers] vtkCanvas and "Visualization Toolkit" window

Sebastien Jourdain sebastien.jourdain at kitware.com
Thu May 9 12:58:47 EDT 2013


How do you do the vtkCanvas binding within your frame ?
Does that piece of code get executed inside the EDT ?

Since you are using vtk 6, you should probably use the new rendering class
for Java which should give you more freedom. To learn more about them, you
can look at our sample applications inside the Wrapping/Java directory
within the source tree.

Seb


On Thu, May 9, 2013 at 12:44 PM, Marco Sambin <m.sambin at gmail.com> wrote:

> Hi all.
>
> In my Java application, I am using a vtkCanvas where three
> vtkImagePlaneWidgets are displayed, each one cutting a specific section of
> my volume (deriving from a medical data set).
>
> At application startup, when the GUI of my Java application is built, I
> see for a few moments a pop-up window titled "Visualization Toolkit",
> containing my three vtkImagePlaneWidgets. After a second or so,  this
> window disappears, and its content is then displayed inside my vtkCanvas,
> embedded in the GUI of my application, as expected.
>
> Is the appearance of this window normal? Is there a way to prevent that
> separate "Visualization Toolkit" window from appearing, and have the
> content displayed directly inside my vtkCanvas?
>
> I am running VTK 6.0 (from GIT) and Java 7 64-bit on a Windows 7 64-bit PC.
>
> Thanks in advance for all your comments.
> Best regards,
>
> Marco
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130509/3f548ba9/attachment.htm>


More information about the vtkusers mailing list