vtkQtView Class Reference

#include <vtkQtView.h>

Inheritance diagram for vtkQtView:

Inheritance graph
[legend]
Collaboration diagram for vtkQtView:

Collaboration graph
[legend]

List of all members.


Detailed Description

Superclass for Qt widget-based views.

This superclass provides common api to integrate a Qt widget into the VTK view framework. Not much here yet, but in the future there could be methods around selection, event-handling, drag-and-drop, etc.

Definition at line 38 of file vtkQtView.h.


Public Types

typedef vtkView Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetWidget (QWidget *)
virtual QWidget * GetWidget ()

Static Public Member Functions

static vtkQtViewNew ()
static int IsTypeOf (const char *type)
static vtkQtViewSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkQtView ()
 ~vtkQtView ()

Member Typedef Documentation

Reimplemented from vtkView.

Definition at line 42 of file vtkQtView.h.


Constructor & Destructor Documentation

vtkQtView::vtkQtView (  )  [protected]

vtkQtView::~vtkQtView (  )  [protected]


Member Function Documentation

static vtkQtView* vtkQtView::New (  )  [static]

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

Reimplemented from vtkView.

virtual const char* vtkQtView::GetClassName (  )  [virtual]

Reimplemented from vtkView.

static int vtkQtView::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkView.

virtual int vtkQtView::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkView.

static vtkQtView* vtkQtView::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkView.

void vtkQtView::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 vtkView.

virtual void vtkQtView::SetWidget ( QWidget *   )  [virtual]

Set and get the underlying Qt widget. Subclasses should call SetWidget() with their own QWidget. Alternatively, it is convenient to setup your widget in designer and then pass it to SetWidget().

virtual QWidget* vtkQtView::GetWidget (  )  [virtual]

Set and get the underlying Qt widget. Subclasses should call SetWidget() with their own QWidget. Alternatively, it is convenient to setup your widget in designer and then pass it to SetWidget().


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

Generated on Wed Jun 3 19:29:24 2009 for VTK by  doxygen 1.5.6