VTK  9.2.20230603
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 VTK_ABI_NAMESPACE_BEGIN
40 struct Tk_Window_;
41 
43 {
44 public:
47  void PrintSelf(ostream& os, vtkIndent indent) override;
48 
53  static void* GetDrawableView(Tk_Window_* window);
54 
55 protected:
57  ~vtkCocoaTkUtilities() override {}
58 
59 private:
61  void operator=(const vtkCocoaTkUtilities&) = delete;
62 };
63 
64 VTK_ABI_NAMESPACE_END
65 #endif
66 // VTK-HeaderTest-Exclude: vtkCocoaTkUtilities.h
Internal Tk Routines for Cocoa.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static void * GetDrawableView(Tk_Window_ *window)
Return the NSView for a Tk_Window.
static vtkCocoaTkUtilities * New()
a simple class to control print indentation
Definition: vtkIndent.h:120
abstract base class for most VTK objects
Definition: vtkObject.h:83