VTK
Public Member Functions | Protected Attributes | List of all members
QVTKPaintEngine Class Reference

directs QPainter calls to a VTK window More...

#include <QVTKPaintEngine.h>

Inherits QPaintEngine.

Collaboration diagram for QVTKPaintEngine:
[legend]

Public Member Functions

 QVTKPaintEngine ()
 
 ~QVTKPaintEngine () override
 
bool begin (QPaintDevice *dev) override
 
bool end () override
 
QPaintEngine::Type type () const override
 
void updateState (const QPaintEngineState &) override
 
void drawPixmap (const QRectF &r, const QPixmap &pm, const QRectF &sr) override
 
void drawPath (const QPainterPath &path) override
 
void drawPolygon (const QPointF *points, int pointCount, PolygonDrawMode mode) override
 
void drawPolygon (const QPoint *points, int pointCount, PolygonDrawMode mode) override
 

Protected Attributes

QVTKWidgetWidget
 
QVTKPaintEngineInternal * Internal
 

Detailed Description

directs QPainter calls to a VTK window

A paint engine class to direct QPainter calls into a VTK window.

Deprecated:
Only used in conjunction with QVTKWidget which has also been deprecated.

Definition at line 29 of file QVTKPaintEngine.h.

Constructor & Destructor Documentation

QVTKPaintEngine::QVTKPaintEngine ( )
QVTKPaintEngine::~QVTKPaintEngine ( )
override

Member Function Documentation

bool QVTKPaintEngine::begin ( QPaintDevice *  dev)
override
bool QVTKPaintEngine::end ( )
override
QPaintEngine::Type QVTKPaintEngine::type ( ) const
override
void QVTKPaintEngine::updateState ( const QPaintEngineState &  )
override
void QVTKPaintEngine::drawPixmap ( const QRectF &  r,
const QPixmap &  pm,
const QRectF &  sr 
)
override
void QVTKPaintEngine::drawPath ( const QPainterPath &  path)
override
void QVTKPaintEngine::drawPolygon ( const QPointF *  points,
int  pointCount,
PolygonDrawMode  mode 
)
override
void QVTKPaintEngine::drawPolygon ( const QPoint *  points,
int  pointCount,
PolygonDrawMode  mode 
)
override

Member Data Documentation

QVTKWidget* QVTKPaintEngine::Widget
protected

Definition at line 66 of file QVTKPaintEngine.h.

QVTKPaintEngineInternal* QVTKPaintEngine::Internal
protected

Definition at line 67 of file QVTKPaintEngine.h.


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