[vtkusers] setparenid

jalal sadeghi jalal.sadeghy at gmail.com
Sun Sep 14 07:42:01 EDT 2008


Hi All VTKusers
in a  window form(.net )  i have created a  render  window and set the  form
as  its parent  as  below:

 vtkRenderWindow *renWin = vtkRenderWindow::New();
  renWin->AddRenderer( ren1 );
  renWin->SetSize( 1024, 768);
.....
  renWin->SetParentId(this->Handle.ToPointer());


but the  renWin don't handle  key event such as  r (reset camera )

whats the problem?

before this  i have such problem in MFCafter SetParentId;

thanks;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080914/5312be41/attachment.htm>


More information about the vtkusers mailing list