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