QGIS API Documentation  3.18.1-Zürich (202f1bf7e5)
Functions
qgscameracontroller.cpp File Reference
#include "qgscameracontroller.h"
#include "qgsraycastingutils_p.h"
#include "qgsterrainentity_p.h"
#include "qgsvector3d.h"
#include "qgssettings.h"
#include "qgis.h"
#include <QDomDocument>
#include <Qt3DRender/QCamera>
#include <Qt3DRender/QObjectPicker>
#include <Qt3DRender/QPickEvent>
#include <Qt3DInput>
#include "qgslogger.h"
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 145 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 153 of file qgscameracontroller.cpp.