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 =========================================================================*/
35 #ifndef vtkTkImageViewerWidget_h
36 #define vtkTkImageViewerWidget_h
37 
38 #include "vtkImageViewer.h"
39 #include "vtkTcl.h"
40 #include "vtkTk.h"
41 #ifndef VTK_PYTHON_BUILD
42 #include "vtkTclUtil.h"
43 #endif
44 #include "vtkWindows.h"
45 
47 {
48  Tk_Window TkWin; /* Tk window structure */
49  Tcl_Interp *Interp; /* Tcl interpreter */
50  int Width;
51  int Height;
53  char *IV;
54 #ifdef _WIN32
55  WNDPROC OldProc;
56 #endif
57 };
58 
59 #endif
60 
a Tk Widget for viewing vtk images
Display a 2d image.