VTK
|
Internal Tk Routines for Cocoa. More...
#include <vtkCocoaTkUtilities.h>
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkCocoaTkUtilities * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
static vtkCocoaTkUtilities * | New () |
static int | IsTypeOf (const char *type) |
static vtkCocoaTkUtilities * | SafeDownCast (vtkObjectBase *o) |
static void * | GetDrawableView (Tk_Window_ *window) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkCocoaTkUtilities () | |
~vtkCocoaTkUtilities () |
Internal Tk Routines for Cocoa.
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.
Reimplemented from vtkObject.
Definition at line 44 of file vtkCocoaTkUtilities.h.
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.
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 | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkObject.
virtual vtkObjectBase* vtkCocoaTkUtilities::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkObject.
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.