[vtkusers] vtkPanel.addWindowSetObserver – where did it go?

Jarek Sacha jsacha at users.sourceforge.net
Mon Nov 28 17:52:27 EST 2011


Before version 5.8 vtkPanel (Java Wrapper) had a method called 
addWindowSetObserver. It was used to notify the when a renderer 
(rendering window) was ready for performing operations like setting 
window size, adding pickers, and so on. This was critical to properly 
interact with a Java GUI.

Is there a replacement for addWindowSetObserver?

How to properly set a vtkPanel size? Typically it has to be done before 
it is rendered. Till 5.8 it was done using addWindowSetObserver to set a 
callback for call to set size when the rendering is happening for the 
first time.

What about pickers? Like in AnnotatePick example, like 73:

http://ij-plugins.svn.sourceforge.net/viewvc/ij-plugins/trunk/VTK-Examples/Examples/Annotation/Java/AnnotatePick.java?revision=917&view=markup 
<http://ij-plugins.svn.sourceforge.net/viewvc/ij-plugins/trunk/VTK-Examples/Examples/Annotation/Java/AnnotatePick.java?revision=917&view=markup>

Thanks,

Jarek

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111128/2935aef1/attachment.htm>


More information about the vtkusers mailing list