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) override;
47 
52  static void* GetDrawableView(Tk_Window_ *window);
53 
54 protected:
56  ~vtkCocoaTkUtilities() override {}
57 
58 private:
60  void operator=(const vtkCocoaTkUtilities&) = delete;
61 };
62 
63 #endif
abstract base class for most VTK objects
Definition: vtkObject.h:59
static vtkCocoaTkUtilities * New()
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.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.