VTK
|
Initializes a Qt application. More...
#include <vtkQtInitialization.h>
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkQtInitialization * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
static vtkQtInitialization * | New () |
static int | IsTypeOf (const char *type) |
static vtkQtInitialization * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkQtInitialization () | |
~vtkQtInitialization () |
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.
Definition at line 47 of file vtkQtInitialization.h.
Reimplemented from vtkObject.
Definition at line 51 of file vtkQtInitialization.h.
vtkQtInitialization::vtkQtInitialization | ( | ) | [protected] |
vtkQtInitialization::~vtkQtInitialization | ( | ) | [protected] |
static vtkQtInitialization* vtkQtInitialization::New | ( | ) | [static] |
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.
static vtkQtInitialization* vtkQtInitialization::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkObject.
virtual vtkObjectBase* vtkQtInitialization::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkObject.
Reimplemented from vtkObject.
void vtkQtInitialization::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |