VTK  9.2.5
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#ifndef VTK_PYTHON_BUILD
48#include "vtkTclUtil.h"
49#endif
50
52{
53 Tk_Window TkWin; /* Tk window structure */
54 Tcl_Interp* Interp; /* Tcl interpreter */
55 int Width;
56 int Height;
58 char* RW;
59#ifdef _WIN32
60 WNDPROC OldProc;
61#endif
62};
63
64#endif
65// VTK-HeaderTest-Exclude: vtkTkRenderWidget.h
create a window for renderers to draw into
a Tk Widget for vtk rendering
vtkRenderWindow * RenderWindow