VTK  9.3.0
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
35VTK_ABI_NAMESPACE_BEGIN
37{
38 Tk_Window TkWin; /* Tk window structure */
39 Tcl_Interp* Interp; /* Tcl interpreter */
40 int Width;
41 int Height;
43 char* RW;
44#ifdef _WIN32
45 WNDPROC OldProc;
46#endif
47};
48
49VTK_ABI_NAMESPACE_END
50#endif
51// VTK-HeaderTest-Exclude: vtkTkRenderWidget.h
create a window for renderers to draw into
a Tk Widget for vtk rendering
vtkRenderWindow * RenderWindow