QGIS API Documentation  3.4.15-Madeira (e83d02e274)
Functions
qgscameracontroller.cpp File Reference
#include "qgscameracontroller.h"
#include "qgsraycastingutils_p.h"
#include "qgsterrainentity_p.h"
#include "qgsvector3d.h"
#include "qgis.h"
#include <QDomDocument>
#include <Qt3DRender/QCamera>
#include <Qt3DRender/QObjectPicker>
#include <Qt3DRender/QPickEvent>
#include <Qt3DInput>
Include dependency graph for qgscameracontroller.cpp:

Go to the source code of this file.

Functions

float find_x_on_line (float x0, float y0, float x1, float y1, float y)
 
QPointF screen_point_to_point_on_plane (QPointF pt, QRect viewport, Qt3DRender::QCamera *camera, float y)
 

Function Documentation

float find_x_on_line ( float  x0,
float  y0,
float  x1,
float  y1,
float  y 
)

Definition at line 116 of file qgscameracontroller.cpp.

QPointF screen_point_to_point_on_plane ( QPointF  pt,
QRect  viewport,
Qt3DRender::QCamera *  camera,
float  y 
)

Definition at line 124 of file qgscameracontroller.cpp.