VTK  9.7.1
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 struct Tk_Window_;
28 
30 {
31 public:
32  static vtkCocoaTkUtilities* New();
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
40  static void* GetDrawableView(Tk_Window_* window);
41 
42 protected:
44  ~vtkCocoaTkUtilities() override {}
45 
46 private:
48  void operator=(const vtkCocoaTkUtilities&) = delete;
49 };
50 
51 #endif
52 // VTK-HeaderTest-Exclude: vtkCocoaTkUtilities.h
abstract base class for most VTK objects
Definition: vtkObject.h:52
static vtkCocoaTkUtilities * New()
a simple class to control print indentation
Definition: vtkIndent.h:28
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.