MNE-CPP  0.1.9
A Framework for Electrophysiology
Public Types | Public Member Functions | Properties | List of all members
DISP3DLIB::OrbitalCameraController Class Reference

This class allows controlling the scene camera along an orbital path. More...

#include <orbitalcameracontroller.h>

Public Types

typedef QSharedPointer< OrbitalCameraControllerSPtr
 
typedef QSharedPointer< const OrbitalCameraControllerConstSPtr
 

Public Member Functions

 OrbitalCameraController (Qt3DCore::QNode *pParent=nullptr)
 
 ~OrbitalCameraController ()=default
 
void invertCameraRotation (bool newStatusFlag)
 
void setRotating (int count)
 
int rotating () const
 

Properties

int rotating
 

Detailed Description

This class allows controlling the scene camera along an orbital path.

This class allows controlling the scene camera along an orbital path.

The controls are:

Definition at line 88 of file orbitalcameracontroller.h.

Inheritance diagram for DISP3DLIB::OrbitalCameraController:
Inheritance graph

Member Typedef Documentation

◆ ConstSPtr

Const shared pointer type for OrbitalCameraController.

Definition at line 95 of file orbitalcameracontroller.h.

◆ SPtr

Shared pointer type for OrbitalCameraController.

Definition at line 94 of file orbitalcameracontroller.h.

Constructor & Destructor Documentation

◆ OrbitalCameraController()

OrbitalCameraController::OrbitalCameraController ( Qt3DCore::QNode *  pParent = nullptr)

Constructs a OrbitalCameraController object.

Definition at line 66 of file orbitalcameracontroller.cpp.

◆ ~OrbitalCameraController()

DISP3DLIB::OrbitalCameraController::~OrbitalCameraController ( )
default

Default destructor.

Member Function Documentation

◆ invertCameraRotation()

void OrbitalCameraController::invertCameraRotation ( bool  newStatusFlag)

Turns inverse rotation of the camera on and off.

Parameters
[in]newStatusFlagThe new status of the inversion.

Definition at line 75 of file orbitalcameracontroller.cpp.

◆ rotating()

int DISP3DLIB::OrbitalCameraController::rotating ( ) const

Queries the camera rotating counter

Returns
The rotation counter.

◆ setRotating()

void OrbitalCameraController::setRotating ( int  count)

Sets the angle of the camera for rotating around

Parameters
[in]countThe counter for how long the rotation has been happening.

Definition at line 144 of file orbitalcameracontroller.cpp.

Property Documentation

◆ rotating

int OrbitalCameraController::rotating
readwrite

Access for QPropertyAnimation.

Definition at line 91 of file orbitalcameracontroller.h.


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