VTK
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 =========================================================================*/
37 #ifndef vtkTkRenderWidget_h
38 #define vtkTkRenderWidget_h
39 
40 #include "vtkRenderWindow.h"
41 #include "vtkTcl.h"
42 #include "vtkWindows.h"
43 
44 // For the moment, we are not compatible w/Photo compositing
45 // By defining USE_COMPOSITELESS_PHOTO_PUT_BLOCK, we use the compatible
46 // call.
47 #define USE_COMPOSITELESS_PHOTO_PUT_BLOCK
48 #include "vtkTk.h"
49 
50 #ifndef VTK_PYTHON_BUILD
51 #include "vtkTclUtil.h"
52 #endif
53 
55 {
56  Tk_Window TkWin; /* Tk window structure */
57  Tcl_Interp *Interp; /* Tcl interpreter */
58  int Width;
59  int Height;
61  char *RW;
62 #ifdef _WIN32
63  WNDPROC OldProc;
64 #endif
65 };
66 
67 #endif
vtkRenderWindow * RenderWindow
a Tk Widget for vtk renderering
create a window for renderers to draw into