#include <mlabGraphicsRenderArea.h>
Inherits QGraphicsWidget.
Inherited by MLABGraphicsInventorRenderArea, MLABGraphicsNetworkView, and MLABVTKGraphicsItem.
Base class for Inventor/VTK graphics view items.
◆ autoRedraw
| bool MLABGraphicsRenderArea::autoRedraw |
( |
| ) |
const |
|
inlineslot |
Returns whether scene is redrawn to buffer if the scene changes.
◆ bufferSize
| QSize MLABGraphicsRenderArea::bufferSize |
( |
| ) |
const |
|
inlineslot |
Returns the buffer size (or invalid size if it is not explicitly set).
◆ forceRedraw
| void MLABGraphicsRenderArea::forceRedraw |
( |
| ) |
|
|
slot |
Forces a redraw, even if autoRedraw is off/.
◆ opaqueBackground
| bool MLABGraphicsRenderArea::opaqueBackground |
( |
| ) |
const |
|
inlineslot |
Returns whether rendering has an opaque background.
◆ setAutoRedraw
| void MLABGraphicsRenderArea::setAutoRedraw |
( |
bool |
flag | ) |
|
|
inlineslot |
Sets whether scene is redrawn to buffer if the scene changes.
◆ setDrawReflection
| void MLABGraphicsRenderArea::setDrawReflection |
( |
float |
heightPercentage = 0.5, |
|
|
float |
scale = 1., |
|
|
float |
startAlpha = 0.5 |
|
) |
| |
|
slot |
Enables drawing of a reflection of the render area below it.
Setting heightPercentage to <=0 disables drawing of the reflection.
◆ setFixedBufferSize [1/2]
| void MLABGraphicsRenderArea::setFixedBufferSize |
( |
const QSize & |
size | ) |
|
|
slot |
Sets explicit buffer size, regardless of widget size.
◆ setFixedBufferSize [2/2]
| void MLABGraphicsRenderArea::setFixedBufferSize |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
slot |
Sets explicit buffer size, regardless of widget size.
◆ setLinearFiltering
| void MLABGraphicsRenderArea::setLinearFiltering |
( |
bool |
flag | ) |
|
|
inlineslot |
Enables/disables linear filtering when drawing the texture.
◆ setMultiSampling
| void MLABGraphicsRenderArea::setMultiSampling |
( |
int |
value | ) |
|
|
slot |
Sets the number of MSAA samples to use in the sample buffer (0 means no multisampling).
◆ setOpaqueBackground
| void MLABGraphicsRenderArea::setOpaqueBackground |
( |
bool |
flag | ) |
|
|
inlineslot |
Sets whether rendering has an opaque background.
◆ unsetFixedBufferSize
| void MLABGraphicsRenderArea::unsetFixedBufferSize |
( |
| ) |
|
|
slot |
Unsets the fixed buffer size.