VTK  9.0.1
vtkTkRenderWidget.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTkRenderWidget.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
31 #ifndef vtkTkRenderWidget_h
32 #define vtkTkRenderWidget_h
33 
34 #include "vtkRenderWindow.h"
35 #include "vtkTcl.h"
36 #include "vtkWindows.h"
37 
38 // For the moment, we are not compatible w/Photo compositing
39 // By defining USE_COMPOSITELESS_PHOTO_PUT_BLOCK, we use the compatible
40 // call.
41 #define USE_COMPOSITELESS_PHOTO_PUT_BLOCK
42 #include "vtkTk.h"
43 
44 #ifndef VTK_PYTHON_BUILD
45 #include "vtkTclUtil.h"
46 #endif
47 
49 {
50  Tk_Window TkWin; /* Tk window structure */
51  Tcl_Interp* Interp; /* Tcl interpreter */
52  int Width;
53  int Height;
55  char* RW;
56 #ifdef _WIN32
57  WNDPROC OldProc;
58 #endif
59 };
60 
61 #endif
62 // VTK-HeaderTest-Exclude: vtkTkRenderWidget.h
create a window for renderers to draw into
a Tk Widget for vtk rendering
vtkRenderWindow * RenderWindow