VTK
vtkCocoaTkUtilities.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: Visualization Toolkit
4 Module: vtkCocoaTkUtilities.h
5 
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
34 #ifndef vtkCocoaTkUtilities_h
35 #define vtkCocoaTkUtilities_h
36 
37 #include "vtkObject.h"
38 
39 struct Tk_Window_;
40 
42 {
43 public:
44  static vtkCocoaTkUtilities *New();
46  void PrintSelf(ostream& os, vtkIndent indent);
47 
52  static void* GetDrawableView(Tk_Window_ *window);
53 
54 protected:
57 
58 private:
59  vtkCocoaTkUtilities(const vtkCocoaTkUtilities&) VTK_DELETE_FUNCTION;
60  void operator=(const vtkCocoaTkUtilities&) VTK_DELETE_FUNCTION;
61 };
62 
63 #endif
abstract base class for most VTK objects
Definition: vtkObject.h:59
static vtkCocoaTkUtilities * New()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
a simple class to control print indentation
Definition: vtkIndent.h:39
Internal Tk Routines for Cocoa.
static void * GetDrawableView(Tk_Window_ *window)
Return the NSView for a Tk_Window.