00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkTkRenderWidget.h,v $ 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00033 #ifndef __vtkTkRenderWidget_h 00034 #define __vtkTkRenderWidget_h 00035 00036 #include "vtkRenderWindow.h" 00037 #include "vtkTcl.h" 00038 #include "vtkWindows.h" 00039 00040 // For the moment, we are not compatible w/Photo compositing 00041 // By defining USE_COMPOSITELESS_PHOTO_PUT_BLOCK, we use the compatible 00042 // call. 00043 #define USE_COMPOSITELESS_PHOTO_PUT_BLOCK 00044 #include "vtkTk.h" 00045 00046 #ifndef VTK_PYTHON_BUILD 00047 #include "vtkTclUtil.h" 00048 #endif 00049 00050 struct vtkTkRenderWidget 00051 { 00052 Tk_Window TkWin; /* Tk window structure */ 00053 Tcl_Interp *Interp; /* Tcl interpreter */ 00054 int Width; 00055 int Height; 00056 vtkRenderWindow *RenderWindow; 00057 char *RW; 00058 #ifdef _WIN32 00059 WNDPROC OldProc; 00060 #endif 00061 }; 00062 00063 #endif