VTK  9.3.0
vtkCocoaTkUtilities.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
22 #ifndef vtkCocoaTkUtilities_h
23 #define vtkCocoaTkUtilities_h
24 
25 #include "vtkObject.h"
26 
27 VTK_ABI_NAMESPACE_BEGIN
28 struct Tk_Window_;
29 
31 {
32 public:
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
41  static void* GetDrawableView(Tk_Window_* window);
42 
43 protected:
45  ~vtkCocoaTkUtilities() override {}
46 
47 private:
49  void operator=(const vtkCocoaTkUtilities&) = delete;
50 };
51 
52 VTK_ABI_NAMESPACE_END
53 #endif
54 // 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:38
abstract base class for most VTK objects
Definition: vtkObject.h:61