VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkCocoaTkUtilities Class Reference

Internal Tk Routines for Cocoa. More...

#include <vtkCocoaTkUtilities.h>

Inheritance diagram for vtkCocoaTkUtilities:
Inheritance graph
[legend]
Collaboration diagram for vtkCocoaTkUtilities:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkObject Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkCocoaTkUtilitiesNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)

Static Public Member Functions

static vtkCocoaTkUtilitiesNew ()
static int IsTypeOf (const char *type)
static vtkCocoaTkUtilitiesSafeDownCast (vtkObjectBase *o)
static void * GetDrawableView (Tk_Window_ *window)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkCocoaTkUtilities ()
 ~vtkCocoaTkUtilities ()

Detailed Description

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.

See also:
vtkCocoaGLView
Warning:
This header must be in C++ only because it is included by .cxx files. That means no Objective-C may be used. That's why some instance variables are void* instead of what they really should be.

Definition at line 40 of file vtkCocoaTkUtilities.h.


Member Typedef Documentation

Reimplemented from vtkObject.

Definition at line 44 of file vtkCocoaTkUtilities.h.


Constructor & Destructor Documentation

Definition at line 52 of file vtkCocoaTkUtilities.h.

Definition at line 53 of file vtkCocoaTkUtilities.h.


Member Function Documentation

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.

Reimplemented from vtkObject.

virtual vtkObjectBase* vtkCocoaTkUtilities::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkObject.

Reimplemented from vtkObject.

void vtkCocoaTkUtilities::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkObject.

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.


The documentation for this class was generated from the following file: