QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
|
Encapsulates the render context for a 2D tiled scene rendering operation. More...
#include <qgstiledscenerenderer.h>
Public Member Functions | |
QgsTiledSceneRenderContext (const QgsTiledSceneRenderContext &rh)=delete | |
QgsTiledSceneRenderContext cannot be copied. | |
QgsTiledSceneRenderContext (QgsRenderContext &context, QgsFeedback *feedback=nullptr) | |
Constructor for QgsTiledSceneRenderContext. | |
QgsFeedback * | feedback () const |
Returns the feedback object used to cancel rendering. | |
QgsTiledSceneRenderContext & | operator= (const QgsTiledSceneRenderContext &)=delete |
QgsTiledSceneRenderContext cannot be copied. | |
QgsRenderContext & | renderContext () |
Returns a reference to the context's render context. | |
const QgsRenderContext & | renderContext () const |
Returns a reference to the context's render context. | |
void | setTextureCoordinates (float textureX1, float textureY1, float textureX2, float textureY2, float textureX3, float textureY3) |
Sets the current texture coordinates. | |
void | setTextureImage (const QImage &image) |
Sets the current texture image. | |
void | textureCoordinates (float &textureX1, float &textureY1, float &textureX2, float &textureY2, float &textureX3, float &textureY3) const |
Returns the current texture coordinates. | |
QImage | textureImage () const |
Returns the current texture image. | |
Encapsulates the render context for a 2D tiled scene rendering operation.
Definition at line 37 of file qgstiledscenerenderer.h.
QgsTiledSceneRenderContext::QgsTiledSceneRenderContext | ( | QgsRenderContext & | context, |
QgsFeedback * | feedback = nullptr |
||
) |
Constructor for QgsTiledSceneRenderContext.
Definition at line 29 of file qgstiledscenerenderer.cpp.
|
delete |
QgsTiledSceneRenderContext cannot be copied.
|
inline |
Returns the feedback object used to cancel rendering.
Definition at line 68 of file qgstiledscenerenderer.h.
|
delete |
QgsTiledSceneRenderContext cannot be copied.
|
inline |
Returns a reference to the context's render context.
Definition at line 55 of file qgstiledscenerenderer.h.
|
inline |
Returns a reference to the context's render context.
Definition at line 61 of file qgstiledscenerenderer.h.
void QgsTiledSceneRenderContext::setTextureCoordinates | ( | float | textureX1, |
float | textureY1, | ||
float | textureX2, | ||
float | textureY2, | ||
float | textureX3, | ||
float | textureY3 | ||
) |
Sets the current texture coordinates.
Definition at line 46 of file qgstiledscenerenderer.cpp.
void QgsTiledSceneRenderContext::setTextureImage | ( | const QImage & | image | ) |
Sets the current texture image.
Definition at line 41 of file qgstiledscenerenderer.cpp.
void QgsTiledSceneRenderContext::textureCoordinates | ( | float & | textureX1, |
float & | textureY1, | ||
float & | textureX2, | ||
float & | textureY2, | ||
float & | textureX3, | ||
float & | textureY3 | ||
) | const |
Returns the current texture coordinates.
Definition at line 56 of file qgstiledscenerenderer.cpp.
QImage QgsTiledSceneRenderContext::textureImage | ( | ) | const |
Returns the current texture image.
Definition at line 36 of file qgstiledscenerenderer.cpp.