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 =========================================================================*/ 00036 #ifndef __vtkTkRenderWidget_h 00037 #define __vtkTkRenderWidget_h 00038 00039 #include "vtkRenderWindow.h" 00040 #include "vtkTcl.h" 00041 00042 // For the moment, we are not compatable w/Photo compositing 00043 // By defining USE_COMPOSITELESS_PHOTO_PUT_BLOCK, we use the compatable 00044 // call. 00045 #define USE_COMPOSITELESS_PHOTO_PUT_BLOCK 00046 #include "vtkTk.h" 00047 00048 #ifndef VTK_PYTHON_BUILD 00049 #include "vtkTclUtil.h" 00050 #endif 00051 00052 struct vtkTkRenderWidget 00053 { 00054 Tk_Window TkWin; /* Tk window structure */ 00055 Tcl_Interp *Interp; /* Tcl interpreter */ 00056 int Width; 00057 int Height; 00058 vtkRenderWindow *RenderWindow; 00059 char *RW; 00060 #ifdef _WIN32 00061 WNDPROC OldProc; 00062 #endif 00063 }; 00064 00065 #endif