Walls And Holes  1
AbstractMeshViewCamera Class Referenceabstract

The AbstractMeshViewCamera class Abstract class that will determine how the camera moves based on the mouse. More...

#include <abstractmeshviewcamera.h>

Inheritance diagram for AbstractMeshViewCamera:
Collaboration diagram for AbstractMeshViewCamera:

Signals

void changed ()
 This signal should be emitted when the camera is moved. More...
 

Public Member Functions

virtual ~AbstractMeshViewCamera ()
 
virtual QMatrix4x4 getTransformationMatrix () const =0
 getTransformationMatrix More...
 
virtual QVector3D getPosition () const =0
 Gets the world-space camera position. More...
 
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...
 
virtual void mousePressEvent (QMouseEvent *) override
 
virtual void mouseReleaseEvent (QMouseEvent *) override
 
virtual void mouseMoveEvent (QMouseEvent *) override
 
virtual void wheelEvent (QWheelEvent *) override
 
- 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...
 

Detailed Description

The AbstractMeshViewCamera class Abstract class that will determine how the camera moves based on the mouse.

Constructor & Destructor Documentation

◆ ~AbstractMeshViewCamera()

virtual AbstractMeshViewCamera::~AbstractMeshViewCamera ( )
inlinevirtual

Member Function Documentation

◆ activate()

virtual void AbstractMeshViewCamera::activate ( )
inlineoverridevirtual

Activates the tool. This is called before the tool is used.

Reimplemented from AbstractTool.

◆ changed

void AbstractMeshViewCamera::changed ( )
signal

This signal should be emitted when the camera is moved.

Here is the caller graph for this function:

◆ deactivate()

virtual void AbstractMeshViewCamera::deactivate ( )
inlineoverridevirtual

Deactivates the tool. This is called before the tool stops being used.

Reimplemented from AbstractTool.

◆ getPosition()

virtual QVector3D AbstractMeshViewCamera::getPosition ( ) const
pure virtual

Gets the world-space camera position.

Returns
The world-space camera position.

Implemented in MapViewMatcherCamera, and MeshViewCameraLikeBlender.

Here is the caller graph for this function:

◆ getTransformationMatrix()

virtual QMatrix4x4 AbstractMeshViewCamera::getTransformationMatrix ( ) const
pure virtual

getTransformationMatrix

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

Implemented in MapViewMatcherCamera, and MeshViewCameraLikeBlender.

Here is the caller graph for this function:

◆ mouseMoveEvent()

virtual void AbstractMeshViewCamera::mouseMoveEvent ( QMouseEvent *  )
inlineoverridevirtual

Reimplemented from AbstractTool.

Reimplemented in MapViewMatcherCamera, and MeshViewCameraLikeBlender.

◆ mousePressEvent()

virtual void AbstractMeshViewCamera::mousePressEvent ( QMouseEvent *  )
inlineoverridevirtual

Reimplemented from AbstractTool.

Reimplemented in MapViewMatcherCamera, and MeshViewCameraLikeBlender.

◆ mouseReleaseEvent()

virtual void AbstractMeshViewCamera::mouseReleaseEvent ( QMouseEvent *  )
inlineoverridevirtual

Reimplemented from AbstractTool.

Reimplemented in MapViewMatcherCamera.

◆ wheelEvent()

virtual void AbstractMeshViewCamera::wheelEvent ( QWheelEvent *  )
inlineoverridevirtual

Reimplemented from AbstractTool.

Reimplemented in MapViewMatcherCamera, and MeshViewCameraLikeBlender.


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