[vtkusers] VTK and GUI - vtkRenderWindow - Virtual or Physical?

Xiaofeng Zhao xf10036 at hotmail.com
Fri Mar 17 18:20:21 EST 2006


I believe the short answer is NO.  The role of the render windows are not just creating the 2D image.  They're also responsible for rendering the image to the display according to the hardware/platform.

xz
http://www.xzing.org
  ----- Original Message ----- 
  From: Frank Gao 
  To: Vtkusers at Vtk.Org 
  Sent: Friday, March 17, 2006 5:24 PM
  Subject: [vtkusers] VTK and GUI - vtkRenderWindow - Virtual or Physical?


  Hi Experts,

   

  I have a question about vtkRenderWindow, and vtkOpenGLRenderWindow. Are such objects virtual, or have to be physical by setting the parent window ID? 

   

  The requirement behind this question is here. Suppose an application must separate its window display and interaction from its internal code. The application needs to set a virtual vtkOpenGLRenderWindow with interactors that are also virtual, and binding them with a physical window whenever necessary. Simply put, make vtkOpenGLRenderWindow and the interactor purely 'server' objects to return bitmaps (or video streams?). These server objects are fully functional and independent of physical implementation. By doing this, the application never needs to get into vtk code to change files such as vtkMFCWindow. 

   

  A real scenario for this. If this is possible, with a .Net wrapper, one can easily use Win Forms as render window.

   

  It would be tremendously helpful if the answer is YES, or can be YES. Your replies are highly appreciated.

   

  Thanks,

   

  Frank Gao

   

   

   



------------------------------------------------------------------------------


  _______________________________________________
  This is the private VTK discussion list. 
  Please keep messages on-topic. Check the 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/20060317/ac694c3f/attachment.htm>


More information about the vtkusers mailing list