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

Initializes a Qt application. More...

#include <vtkQtInitialization.h>

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

List of all members.

Public Types

typedef vtkObject Superclass

Public Member Functions

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

Static Public Member Functions

static vtkQtInitializationNew ()
static int IsTypeOf (const char *type)
static vtkQtInitializationSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkQtInitialization ()
 ~vtkQtInitialization ()

Detailed Description

Initializes a Qt application.

Utility class that initializes Qt by creating an instance of QApplication in its ctor, if one doesn't already exist. This is mainly of use in ParaView with filters that use Qt in their implementation - create an instance of vtkQtInitialization prior to instantiating any filters that require Qt.

Examples:
vtkQtInitialization (Examples)
Tests:
vtkQtInitialization (Tests)

Definition at line 47 of file vtkQtInitialization.h.


Member Typedef Documentation

Reimplemented from vtkObject.

Definition at line 51 of file vtkQtInitialization.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

static int vtkQtInitialization::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 vtkQtInitialization::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* vtkQtInitialization::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkObject.

Reimplemented from vtkObject.

void vtkQtInitialization::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.


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