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

vtkTkRenderWidget.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkTkRenderWidget.h,v $
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 =========================================================================*/
00051 #ifndef __vtkTkRenderWidget_h
00052 #define __vtkTkRenderWidget_h
00053 
00054 #include "vtkRenderWindow.h"
00055 #include "vtkTcl.h"
00056 
00057 // For the moment, we are not compatable w/Photo compositing
00058 // By defining USE_COMPOSITELESS_PHOTO_PUT_BLOCK, we use the compatable
00059 // call.
00060 #define USE_COMPOSITELESS_PHOTO_PUT_BLOCK
00061 #include "vtkTk.h"
00062 
00063 #ifndef VTK_PYTHON_BUILD
00064 #include "vtkTclUtil.h"
00065 #endif
00066 
00067 struct vtkTkRenderWidget
00068 {
00069   Tk_Window  TkWin;             /* Tk window structure */
00070   Tcl_Interp *Interp;           /* Tcl interpreter */
00071   int Width;
00072   int Height;
00073   vtkRenderWindow *RenderWindow;
00074   char *RW;
00075 #ifdef _WIN32
00076   WNDPROC OldProc;
00077 #endif
00078 };
00079 
00080 #endif