Notes |
|
(0000681)
|
Mathieu Malaterre
|
2004-02-20 15:03
|
|
ramakrishna, did you had a look at VTK/Examples/GUI/Win32/vtkMFC/vtkMDI/vtkMDIView.cpp
for example we overload OnSize:
void CVtkMDIView::OnSize(UINT nType, int cx, int cy)
{
... this->renWin->SetSize(rect.right-rect.left,rect.bottom-rect.top);
}
Also what happen if you do:
//temp0->SetDisplayId((void *)dsi_x11->display);
temp0->SetWindowId((void *)dsi_x11->drawable);
temp0->SetParentId((void *)dsi_x11->drawable);
Everything rely on the fact that WindowId is set to update size etc.
|
|
|
(0000688)
|
Shyam Prakash R K
|
2004-02-20 17:02
|
|
Mathieu,
I am runnung my application from Java end. vtkCanvas overrides the setSize method. may be we should call Render after setting the size. may be this could solve part of the problem.
Problem 2: what if window is not resized. instead another window overlaps my window partially for a while. I tried implementing all sorts of window listeners and in each event I made a call to Render. but it didn't help.
If I do :
//temp0->SetDisplayId((void *)dsi_x11->display);
temp0->SetWindowId((void *)dsi_x11->drawable);
temp0->SetParentId((void *)dsi_x11->drawable);
then flickering problem resurfaces.
however I built vtk on linux and no problems there.
Thanks
Shyam |
|
|
(0000690)
|
Mathieu Malaterre
|
2004-02-23 09:58
|
|
Ramakrishna in order for us to reproduce the bug could you send us a demo application ? Does the cone example reproduce the bug ? You can also have a look at bug 0000619 for help in writing a java example. |
|
|
(0000698)
|
Shyam Prakash R K
|
2004-02-23 14:28
|
|
Mathieu,
The problem can be seen on Cone.java but to a very small extent. Also you can try any example program given in "Wrapping\Java". However, I compiled VTK on SUN Solaris, and no problems there.
Please let me know what kind of sample programs you require for Bug Id 619. I will be more than happy to write one.
--Shyam |
|
|
(0000747)
|
Shyam Prakash R K
|
2004-03-10 06:02
|
|
Mathieu,
Sorry to bother you again. Do you have any new thought on this bug? In onew of the earlier mails, you had quoted "Do you have a .Xdefault on your HPUX ? On your SUN Solaris ? Does OpenGL works on your HP UX properly (try running some double buffer examples).What happen if you do do a ssh/telnet to your HP from your SUN, does the flicker happen ? (When acessing HP from SUN, you are using X11 from
SUN which you know is working)."
I am not what role .XDefault playes here. As I had mentioned earlier, my HP machine does not have this file.
Thanks and Regards
Shyam
|
|
|
(0030532)
|
Berk Geveci
|
2013-04-05 19:29
|
|
Closed ancient bug. All HP UX machines are in museums now :-) |
|