Walls And Holes  1
MapViewMatcherCamera Class Reference

#include <mapviewmatchercamera.h>

Inheritance diagram for MapViewMatcherCamera:
Collaboration diagram for MapViewMatcherCamera:

Signals

void receivedInteraction ()
 receivedInteraction More...
 
- Signals inherited from AbstractMeshViewCamera
void changed ()
 This signal should be emitted when the camera is moved. More...
 

Public Member Functions

 MapViewMatcherCamera (MapView *mapView)
 
QMatrix4x4 getTransformationMatrix () const override
 getTransformationMatrix More...
 
QVector3D getPosition () const override
 Gets the world-space camera position. More...
 
void mousePressEvent (QMouseEvent *) override
 
void mouseReleaseEvent (QMouseEvent *) override
 
void mouseMoveEvent (QMouseEvent *) override
 
void wheelEvent (QWheelEvent *) override
 
- Public Member Functions inherited from AbstractMeshViewCamera
virtual ~AbstractMeshViewCamera ()
 
virtual void activate () override
 Activates the tool. This is called before the tool is used. More...
 
virtual void deactivate () override
 Deactivates the tool. This is called before the tool stops being used. More...
 
- Public Member Functions inherited from AbstractTool
virtual ~AbstractTool ()
 
virtual QList< QAction * > contextActions ()
 Returns a vector of qactions which can be used to modify the behaviour of the tool. Will be used by the tool manager to add the actions to a context tool bar. More...
 

Constructor & Destructor Documentation

◆ MapViewMatcherCamera()

MapViewMatcherCamera::MapViewMatcherCamera ( MapView mapView)

Member Function Documentation

◆ getPosition()

QVector3D MapViewMatcherCamera::getPosition ( ) const
overridevirtual

Gets the world-space camera position.

Returns
The world-space camera position.

Implements AbstractMeshViewCamera.

◆ getTransformationMatrix()

QMatrix4x4 MapViewMatcherCamera::getTransformationMatrix ( ) const
overridevirtual

getTransformationMatrix

Returns
the transform matrix that should be premultiplied to the vertex world-space positions

Implements AbstractMeshViewCamera.

◆ mouseMoveEvent()

void MapViewMatcherCamera::mouseMoveEvent ( QMouseEvent *  )
inlineoverridevirtual

Reimplemented from AbstractMeshViewCamera.

◆ mousePressEvent()

void MapViewMatcherCamera::mousePressEvent ( QMouseEvent *  )
inlineoverridevirtual

Reimplemented from AbstractMeshViewCamera.

◆ mouseReleaseEvent()

void MapViewMatcherCamera::mouseReleaseEvent ( QMouseEvent *  )
inlineoverridevirtual

Reimplemented from AbstractMeshViewCamera.

◆ receivedInteraction

void MapViewMatcherCamera::receivedInteraction ( )
signal

receivedInteraction

Emitted whenever the meshView gets input. Can be used to choose to change camera.

Here is the caller graph for this function:

◆ wheelEvent()

void MapViewMatcherCamera::wheelEvent ( QWheelEvent *  )
inlineoverridevirtual

Reimplemented from AbstractMeshViewCamera.


The documentation for this class was generated from the following files: