VTK  9.3.20240419
vtkTkRenderWidget.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
22 #ifndef vtkTkRenderWidget_h
23 #define vtkTkRenderWidget_h
24 
25 #include "vtkRenderWindow.h"
26 #include "vtkTcl.h"
27 #include "vtkWindows.h"
28 
29 // For the moment, we are not compatible w/Photo compositing
30 // By defining USE_COMPOSITELESS_PHOTO_PUT_BLOCK, we use the compatible
31 // call.
32 #define USE_COMPOSITELESS_PHOTO_PUT_BLOCK
33 #include "vtkTk.h"
34 
36 {
37  Tk_Window TkWin; /* Tk window structure */
38  Tcl_Interp* Interp; /* Tcl interpreter */
39  int Width;
40  int Height;
42  char* RW;
43 #ifdef _WIN32
44  WNDPROC OldProc;
45 #endif
46 };
47 
48 #endif
49 // VTK-HeaderTest-Exclude: vtkTkRenderWidget.h
create a window for renderers to draw into
a Tk Widget for vtk rendering
vtkRenderWindow * RenderWindow