scg3  0.6
scg::Controller Class Referenceabstract

Base class for all controllers (abstract). More...

#include "Controller.h"

Inheritance diagram for scg::Controller:
[legend]

Public Member Functions

 Controller ()
 
virtual ~Controller ()=0
 
virtual void checkInput (ViewState *viewState)=0
 

Detailed Description

Base class for all controllers (abstract).

Definition at line 36 of file Controller.h.

Constructor & Destructor Documentation

◆ Controller()

scg::Controller::Controller ( )

Constructor.

◆ ~Controller()

virtual scg::Controller::~Controller ( )
pure virtual

Destructor.

Member Function Documentation

◆ checkInput()

virtual void scg::Controller::checkInput ( ViewState viewState)
pure virtual

Check input devices, called by Viewer::startMainLoop().

Parameters
viewStateview state managed by Viewer, may be modified by controller

Implemented in scg::CameraController, scg::KeyboardController, and scg::MouseController.


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