#include <vtkCocoaTkUtilities.h>
vtkCocoaTkUtilities provide access to the Tk internals for Cocoa implementations of Tk. These internals must be implemented in a .mm file, since Cocoa is Objective C, but the header file itself is pure C++ so that it can be included by other VTK classes.
Definition at line 40 of file vtkCocoaTkUtilities.h.
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
static vtkCocoaTkUtilities * | New () |
static int | IsTypeOf (const char *type) |
static vtkCocoaTkUtilities * | SafeDownCast (vtkObject *o) |
static void * | GetDrawableView (Tk_Window_ *window) |
Protected Member Functions | |
vtkCocoaTkUtilities () | |
~vtkCocoaTkUtilities () |
vtkCocoaTkUtilities::vtkCocoaTkUtilities | ( | ) | [inline, protected] |
Definition at line 52 of file vtkCocoaTkUtilities.h.
vtkCocoaTkUtilities::~vtkCocoaTkUtilities | ( | ) | [inline, protected] |
Definition at line 53 of file vtkCocoaTkUtilities.h.
static vtkCocoaTkUtilities* vtkCocoaTkUtilities::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
virtual const char* vtkCocoaTkUtilities::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkObject.
static int vtkCocoaTkUtilities::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
virtual int vtkCocoaTkUtilities::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkObject.
static vtkCocoaTkUtilities* vtkCocoaTkUtilities::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkObject.
void vtkCocoaTkUtilities::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
static void* vtkCocoaTkUtilities::GetDrawableView | ( | Tk_Window_ * | window | ) | [static] |
Return the NSView for a Tk_Window. It is returned as a void pointer so that users of this function don't need to compile as Objective C.