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()

QVTKPaintEngine::~QVTKPaintEngine ( )
override

Member Function Documentation

◆ begin()

bool QVTKPaintEngine::begin ( QPaintDevice *  dev)
override

◆ end()

bool QVTKPaintEngine::end ( )
override

◆ type()

QPaintEngine::Type QVTKPaintEngine::type ( ) const
override

◆ updateState()

void QVTKPaintEngine::updateState ( const QPaintEngineState &  )
override

◆ drawPixmap()

void QVTKPaintEngine::drawPixmap ( const QRectF &  r,
const QPixmap &  pm,
const QRectF &  sr 
)
override

◆ drawPath()

void QVTKPaintEngine::drawPath ( const QPainterPath &  path)
override

◆ drawPolygon() [1/2]

void QVTKPaintEngine::drawPolygon ( const QPointF *  points,
int  pointCount,
PolygonDrawMode  mode 
)
override

◆ drawPolygon() [2/2]

void QVTKPaintEngine::drawPolygon ( const QPoint *  points,
int  pointCount,
PolygonDrawMode  mode 
)
override

Member Data Documentation

◆ Widget

QVTKWidget* QVTKPaintEngine::Widget
protected

Definition at line 66 of file QVTKPaintEngine.h.

◆ Internal

QVTKPaintEngineInternal* QVTKPaintEngine::Internal
protected

Definition at line 67 of file QVTKPaintEngine.h.


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