VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkTkImageViewerWidget.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00035 #ifndef __vtkTkImageViewerWidget_h 00036 #define __vtkTkImageViewerWidget_h 00037 00038 #include "vtkImageViewer.h" 00039 #include "vtkTcl.h" 00040 #include "vtkTk.h" 00041 #ifndef VTK_PYTHON_BUILD 00042 #include "vtkTclUtil.h" 00043 #endif 00044 #include "vtkWindows.h" 00045 00046 struct vtkTkImageViewerWidget 00047 { 00048 Tk_Window TkWin; /* Tk window structure */ 00049 Tcl_Interp *Interp; /* Tcl interpreter */ 00050 int Width; 00051 int Height; 00052 vtkImageViewer *ImageViewer; 00053 char *IV; 00054 #ifdef _WIN32 00055 WNDPROC OldProc; 00056 #endif 00057 }; 00058 00059 #endif 00060