VTK  9.2.20230603
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 =========================================================================*/
34 #ifndef vtkTkRenderWidget_h
35 #define vtkTkRenderWidget_h
36 
37 #include "vtkRenderWindow.h"
38 #include "vtkTcl.h"
39 #include "vtkWindows.h"
40 
41 // For the moment, we are not compatible w/Photo compositing
42 // By defining USE_COMPOSITELESS_PHOTO_PUT_BLOCK, we use the compatible
43 // call.
44 #define USE_COMPOSITELESS_PHOTO_PUT_BLOCK
45 #include "vtkTk.h"
46 
47 VTK_ABI_NAMESPACE_BEGIN
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 VTK_ABI_NAMESPACE_END
62 #endif
63 // VTK-HeaderTest-Exclude: vtkTkRenderWidget.h
create a window for renderers to draw into
a Tk Widget for vtk rendering
vtkRenderWindow * RenderWindow