| 
    QGIS API Documentation 3.99.0-Master (f78f5286a64)
    
   | 
 
Encapsulates the render context for a 2D tiled scene rendering operation. More...
#include <qgstiledscenerenderer.h>
Public Member Functions | |
| QgsTiledSceneRenderContext (const QgsTiledSceneRenderContext &rh)=delete | |
| 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 | 
| 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 | 
      
  | 
  inline | 
Returns the feedback object used to cancel rendering.
Definition at line 65 of file qgstiledscenerenderer.h.
      
  | 
  delete | 
      
  | 
  inline | 
Returns a reference to the context's render context.
Definition at line 52 of file qgstiledscenerenderer.h.
      
  | 
  inline | 
Returns a reference to the context's render context.
Definition at line 58 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.