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 =========================================================================*/
00040 #ifndef __vtkTkRenderWidget_h
00041 #define __vtkTkRenderWidget_h
00042 
00043 #include "vtkRenderWindow.h"
00044 #include <tcl.h>
00045 
00046 // For the moment, we are not compatable w/Photo compositing
00047 // By defining USE_COMPOSITELESS_PHOTO_PUT_BLOCK, we use the compatable
00048 // call.
00049 #define USE_COMPOSITELESS_PHOTO_PUT_BLOCK
00050 #include <tk.h>
00051 
00052 #ifndef VTK_PYTHON_BUILD
00053 #include "vtkTclUtil.h"
00054 #endif
00055 
00056 struct vtkTkRenderWidget
00057 {
00058   Tk_Window  TkWin;             /* Tk window structure */
00059   Tcl_Interp *Interp;           /* Tcl interpreter */
00060   int Width;
00061   int Height;
00062   vtkRenderWindow *RenderWindow;
00063   char *RW;
00064 #ifdef _WIN32
00065   WNDPROC OldProc;
00066 #endif
00067 };
00068 
00069 #endif