VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkTkRenderWidget.h 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 #include "vtkWindows.h" 00042 00043 // For the moment, we are not compatible w/Photo compositing 00044 // By defining USE_COMPOSITELESS_PHOTO_PUT_BLOCK, we use the compatible 00045 // call. 00046 #define USE_COMPOSITELESS_PHOTO_PUT_BLOCK 00047 #include "vtkTk.h" 00048 00049 #ifndef VTK_PYTHON_BUILD 00050 #include "vtkTclUtil.h" 00051 #endif 00052 00053 struct vtkTkRenderWidget 00054 { 00055 Tk_Window TkWin; /* Tk window structure */ 00056 Tcl_Interp *Interp; /* Tcl interpreter */ 00057 int Width; 00058 int Height; 00059 vtkRenderWindow *RenderWindow; 00060 char *RW; 00061 #ifdef _WIN32 00062 WNDPROC OldProc; 00063 #endif 00064 }; 00065 00066 #endif