display a vtkRenderWindow in Qt's QGLWidget.
More...
#include <QVTKWidget2.h>
Inherits QGLWidget.
|
| QVTKWidget2 (QWidget *parent=nullptr, const QGLWidget *shareWidget=0, Qt::WindowFlags f=0) |
| constructor More...
|
|
| QVTKWidget2 (vtkGenericOpenGLRenderWindow *w, QWidget *parent=nullptr, const QGLWidget *shareWidget=0, Qt::WindowFlags f=0) |
|
| QVTKWidget2 (QGLContext *ctx, QWidget *parent=nullptr, const QGLWidget *shareWidget=0, Qt::WindowFlags f=0) |
|
| QVTKWidget2 (const QGLFormat &fmt, QWidget *parent=nullptr, const QGLWidget *shareWidget=0, Qt::WindowFlags f=0) |
|
virtual | ~QVTKWidget2 () |
| destructor More...
|
|
virtual void | SetRenderWindow (vtkGenericOpenGLRenderWindow *) |
|
virtual vtkGenericOpenGLRenderWindow * | GetRenderWindow () |
|
virtual QVTKInteractor * | GetInteractor () |
|
virtual int | GetMultiSamples () const |
|
void | SetUseTDx (bool useTDx) |
|
bool | GetUseTDx () const |
|
void | setAutoBufferSwap (bool) |
|
bool | autoBufferSwap () const |
|
display a vtkRenderWindow in Qt's QGLWidget.
QVTKWidget2 provides a way to display VTK data in a Qt QGLWidget. Since QGLWidget is flagged as obsolete by Qt, it is recommended to use QVTKOpenGLNativeWidget instead.
- Deprecated:
- Please use QVTKOpenGLNativeWidget instead.
Definition at line 50 of file QVTKWidget2.h.
QVTKWidget2::QVTKWidget2 |
( |
QWidget * |
parent = nullptr , |
|
|
const QGLWidget * |
shareWidget = 0 , |
|
|
Qt::WindowFlags |
f = 0 |
|
) |
| |
QVTKWidget2::QVTKWidget2 |
( |
vtkGenericOpenGLRenderWindow * |
w, |
|
|
QWidget * |
parent = nullptr , |
|
|
const QGLWidget * |
shareWidget = 0 , |
|
|
Qt::WindowFlags |
f = 0 |
|
) |
| |
QVTKWidget2::QVTKWidget2 |
( |
QGLContext * |
ctx, |
|
|
QWidget * |
parent = nullptr , |
|
|
const QGLWidget * |
shareWidget = 0 , |
|
|
Qt::WindowFlags |
f = 0 |
|
) |
| |
QVTKWidget2::QVTKWidget2 |
( |
const QGLFormat & |
fmt, |
|
|
QWidget * |
parent = nullptr , |
|
|
const QGLWidget * |
shareWidget = 0 , |
|
|
Qt::WindowFlags |
f = 0 |
|
) |
| |
virtual QVTKWidget2::~QVTKWidget2 |
( |
| ) |
|
|
virtual |
virtual int QVTKWidget2::GetMultiSamples |
( |
| ) |
const |
|
virtual |
void QVTKWidget2::SetUseTDx |
( |
bool |
useTDx | ) |
|
bool QVTKWidget2::GetUseTDx |
( |
| ) |
const |
void QVTKWidget2::setAutoBufferSwap |
( |
bool |
| ) |
|
bool QVTKWidget2::autoBufferSwap |
( |
| ) |
const |
void QVTKWidget2::mouseEvent |
( |
QMouseEvent * |
e | ) |
|
|
signal |
virtual void QVTKWidget2::MakeCurrent |
( |
| ) |
|
|
protectedvirtualslot |
virtual void QVTKWidget2::IsCurrent |
( |
vtkObject * |
caller, |
|
|
unsigned long |
vtk_event, |
|
|
void * |
client_data, |
|
|
void * |
call_data |
|
) |
| |
|
protectedvirtualslot |
virtual void QVTKWidget2::Frame |
( |
| ) |
|
|
protectedvirtualslot |
virtual void QVTKWidget2::Start |
( |
| ) |
|
|
protectedvirtualslot |
virtual void QVTKWidget2::End |
( |
| ) |
|
|
protectedvirtualslot |
virtual void QVTKWidget2::IsDirect |
( |
vtkObject * |
caller, |
|
|
unsigned long |
vtk_event, |
|
|
void * |
client_data, |
|
|
void * |
call_data |
|
) |
| |
|
protectedvirtualslot |
virtual void QVTKWidget2::SupportsOpenGL |
( |
vtkObject * |
caller, |
|
|
unsigned long |
vtk_event, |
|
|
void * |
client_data, |
|
|
void * |
call_data |
|
) |
| |
|
protectedvirtualslot |
virtual void QVTKWidget2::initializeGL |
( |
| ) |
|
|
protectedvirtual |
virtual void QVTKWidget2::resizeGL |
( |
int |
, |
|
|
int |
|
|
) |
| |
|
protectedvirtual |
virtual void QVTKWidget2::paintGL |
( |
| ) |
|
|
protectedvirtual |
virtual void QVTKWidget2::moveEvent |
( |
QMoveEvent * |
event | ) |
|
|
protectedvirtual |
virtual bool QVTKWidget2::event |
( |
QEvent * |
e | ) |
|
|
protectedvirtual |
virtual void QVTKWidget2::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
protectedvirtual |
virtual void QVTKWidget2::mouseMoveEvent |
( |
QMouseEvent * |
event | ) |
|
|
protectedvirtual |
virtual void QVTKWidget2::mouseReleaseEvent |
( |
QMouseEvent * |
event | ) |
|
|
protectedvirtual |
virtual void QVTKWidget2::keyPressEvent |
( |
QKeyEvent * |
event | ) |
|
|
protectedvirtual |
virtual void QVTKWidget2::keyReleaseEvent |
( |
QKeyEvent * |
event | ) |
|
|
protectedvirtual |
virtual void QVTKWidget2::enterEvent |
( |
QEvent * |
| ) |
|
|
protectedvirtual |
virtual void QVTKWidget2::leaveEvent |
( |
QEvent * |
| ) |
|
|
protectedvirtual |
virtual void QVTKWidget2::wheelEvent |
( |
QWheelEvent * |
| ) |
|
|
protectedvirtual |
virtual void QVTKWidget2::contextMenuEvent |
( |
QContextMenuEvent * |
| ) |
|
|
protectedvirtual |
virtual void QVTKWidget2::dragEnterEvent |
( |
QDragEnterEvent * |
| ) |
|
|
protectedvirtual |
virtual void QVTKWidget2::dragMoveEvent |
( |
QDragMoveEvent * |
| ) |
|
|
protectedvirtual |
virtual void QVTKWidget2::dragLeaveEvent |
( |
QDragLeaveEvent * |
| ) |
|
|
protectedvirtual |
virtual void QVTKWidget2::dropEvent |
( |
QDropEvent * |
| ) |
|
|
protectedvirtual |
virtual bool QVTKWidget2::focusNextPrevChild |
( |
bool |
| ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following file:
- /home/demarle/Source/VTK/release/8.2/build/Utilities/Doxygen/dox/GUISupport/QtOpenGL/QVTKWidget2.h