GlobeEngine
ge::InputControl Class Referenceabstract

#include <InputControl.h>

Inheritance diagram for ge::InputControl:
at::AtmosphereViewerInputControl geATS::AvalancheTrainingSimulationInputControl geClimateViewer::ClimateViewerInputControl geCoreExample::CoreExampleInputControl geExoViewer::ExoViewerInputControl geHikingViewer::HikingViewerInputControl geMeshExample::MeshExampleInputControl gePlanetaryViewer::PlanetaryViewerInputControl gePointCloudExample::PointCloudExampleInputControl geSunExample::SunExampleViewerInputControl geTerrainExample::TerrainExampleInputControl geTextureExample::TextureExampleViewerInputControl geViewer::GlobeEngineInputControl geVRExample::VRExampleInputControl

Public Member Functions

 InputControl ()
 
 ~InputControl ()
 
void clear ()
 
void create (ge::Engine *_game)
 
virtual void mouseMoveWhilePressedEvent (int button, int x, int y)=0
 
virtual void mouseButtonEvent (int button, int state, int x, int y)=0
 
virtual void wheelEvent (float _input)=0
 
virtual void keyPressEvent (unsigned char pKey)=0
 
virtual void keyReleaseEvent (unsigned char pKey)=0
 
virtual void mouseMoveStopEvent ()=0
 
virtual void mouseMoveEvent (int x, int y)=0
 
bool isAltPressed ()
 
bool isShiftPressed ()
 
bool isCtrlPressed ()
 
bool isCtrlAltPressed ()
 
bool isDeletePressed ()
 
void isAltPressed (bool _in)
 
void isShiftPressed (bool _in)
 
void isCtrlPressed (bool _in)
 
void isCtrlAltPressed (bool _in)
 
void isDeletePressed (bool _in)
 

Protected Attributes

ge::Enginegame
 
vmml::Vector2f preMoveRotation
 
vmml::Vector2f postMoveRotation
 
vmml::Vector2f changeRotation
 
vmml::Vector2f preMoveShift
 
vmml::Vector2f postMoveShift
 
vmml::Vector2f changeShift
 
bool mouseButtonHold
 
bool altPressed
 
bool shiftPressed
 
bool ctrlPressed
 
bool ctrlaltPressed
 
bool deletePressed
 

Constructor & Destructor Documentation

ge::InputControl::InputControl ( )
ge::InputControl::~InputControl ( )

Member Function Documentation

void ge::InputControl::clear ( )
void ge::InputControl::create ( ge::Engine _game)
bool ge::InputControl::isAltPressed ( )
void ge::InputControl::isAltPressed ( bool  _in)
bool ge::InputControl::isCtrlAltPressed ( )
void ge::InputControl::isCtrlAltPressed ( bool  _in)
bool ge::InputControl::isCtrlPressed ( )
void ge::InputControl::isCtrlPressed ( bool  _in)
bool ge::InputControl::isDeletePressed ( )
void ge::InputControl::isDeletePressed ( bool  _in)
bool ge::InputControl::isShiftPressed ( )
void ge::InputControl::isShiftPressed ( bool  _in)

Member Data Documentation

bool ge::InputControl::altPressed
protected
vmml::Vector2f ge::InputControl::changeRotation
protected
vmml::Vector2f ge::InputControl::changeShift
protected
bool ge::InputControl::ctrlaltPressed
protected
bool ge::InputControl::ctrlPressed
protected
bool ge::InputControl::deletePressed
protected
ge::Engine* ge::InputControl::game
protected
bool ge::InputControl::mouseButtonHold
protected
vmml::Vector2f ge::InputControl::postMoveRotation
protected
vmml::Vector2f ge::InputControl::postMoveShift
protected
vmml::Vector2f ge::InputControl::preMoveRotation
protected
vmml::Vector2f ge::InputControl::preMoveShift
protected
bool ge::InputControl::shiftPressed
protected

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