VTK
vtkTkImageViewerWidget.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTkImageViewerWidget.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 vtkTkImageViewerWidget_h
37 #define vtkTkImageViewerWidget_h
38 
39 #include "vtkImageViewer.h"
40 #include "vtkTcl.h"
41 #include "vtkTk.h"
42 #ifndef VTK_PYTHON_BUILD
43 #include "vtkTclUtil.h"
44 #endif
45 #include "vtkWindows.h"
46 
48 {
49  Tk_Window TkWin; /* Tk window structure */
50  Tcl_Interp *Interp; /* Tcl interpreter */
51  int Width;
52  int Height;
54  char *IV;
55 #ifdef _WIN32
56  WNDPROC OldProc;
57 #endif
58 };
59 
60 #endif
61 
a Tk Widget for viewing vtk images
Display a 2d image.