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