QGIS API Documentation  3.8.0-Zanzibar (11aff65)
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

◆ find_x_on_line()

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

Definition at line 116 of file qgscameracontroller.cpp.

◆ screen_point_to_point_on_plane()

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

Definition at line 124 of file qgscameracontroller.cpp.