vtkCocoaTkUtilities Class Reference

#include <vtkCocoaTkUtilities.h>

Inheritance diagram for vtkCocoaTkUtilities:

Inheritance graph
[legend]
Collaboration diagram for vtkCocoaTkUtilities:

Collaboration graph
[legend]

List of all members.


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.


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 vtkCocoaTkUtilitiesNew ()
static int IsTypeOf (const char *type)
static vtkCocoaTkUtilitiesSafeDownCast (vtkObject *o)
static void * GetDrawableView (Tk_Window_ *window)

Protected Member Functions

 vtkCocoaTkUtilities ()
 ~vtkCocoaTkUtilities ()

Member Typedef Documentation

Reimplemented from vtkObject.

Definition at line 44 of file vtkCocoaTkUtilities.h.


Constructor & Destructor Documentation

vtkCocoaTkUtilities::vtkCocoaTkUtilities (  )  [inline, protected]

Definition at line 52 of file vtkCocoaTkUtilities.h.

vtkCocoaTkUtilities::~vtkCocoaTkUtilities (  )  [inline, protected]

Definition at line 53 of file vtkCocoaTkUtilities.h.


Member Function Documentation

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]

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:

Generated on Wed Aug 24 11:31:20 2011 for VTK by  doxygen 1.5.6