Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

Rendering/vtkTkRenderWidget.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkTkRenderWidget.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00055 #ifndef __vtkTkRenderWidget_h
00056 #define __vtkTkRenderWidget_h
00057 
00058 #include "vtkRenderWindow.h"
00059 #include <tcl.h>
00060 
00061 // For the moment, we are not compatable w/Photo compositing
00062 // By defining USE_COMPOSITELESS_PHOTO_PUT_BLOCK, we use the compatable
00063 // call.
00064 #define USE_COMPOSITELESS_PHOTO_PUT_BLOCK
00065 #include <tk.h>
00066 
00067 #ifndef VTK_PYTHON_BUILD
00068 #include "vtkTclUtil.h"
00069 #endif
00070 
00071 struct vtkTkRenderWidget
00072 {
00073   Tk_Window  TkWin;             /* Tk window structure */
00074   Tcl_Interp *Interp;           /* Tcl interpreter */
00075   int Width;
00076   int Height;
00077   vtkRenderWindow *RenderWindow;
00078   char *RW;
00079 #ifdef _WIN32
00080   WNDPROC OldProc;
00081 #endif
00082 };
00083 
00084 #endif