Rendering/vtkTkRenderWidget.h Source File

Main Page Class Hierarchy Alphabetical List Compound List File List Compound 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 =========================================================================*/
    00054 #ifndef __vtkTkRenderWidget_h
    00055 #define __vtkTkRenderWidget_h
    00056
    00057 #include "vtkRenderWindow.h"
    00058 #include <tcl.h>
    00059
    00060 // For the moment, we are not compatable w/Photo compositing
    00061 // By defining USE_COMPOSITELESS_PHOTO_PUT_BLOCK, we use the compatable
    00062 // call.
    00063 #define USE_COMPOSITELESS_PHOTO_PUT_BLOCK
    00064 #include <tk.h>
    00065
    00066 #ifndef VTK_PYTHON_BUILD
    00067 #include "vtkTclUtil.h"
    00068 #endif
    00069
    00070 struct vtkTkRenderWidget
    00071 {
    00072   Tk_Window  TkWin;             /* Tk window structure */
    00073   Tcl_Interp *Interp;           /* Tcl interpreter */
    00074   int Width;
    00075   int Height;
    00076   vtkRenderWindow *RenderWindow;
    00077   char *RW;
    00078 #ifdef _WIN32
    00079   WNDPROC OldProc;
    00080 #endif
    00081 };
    00082
    00083 #endif