GlobeEngine
MobileCoreEngine Class Reference

#include <MobileCoreEngine.h>

Inheritance diagram for MobileCoreEngine:
ge::Engine

Public Member Functions

 MobileCoreEngine ()
 
 ~MobileCoreEngine ()
 
void clear ()
 
void create ()
 
void initializeScene (std::string _initFilePath=0)
 
void update ()
 
void drawScene ()
 
void resize (int _w, int _h)
 
MobileViewerInputControlgetInputControl (int index)
 
std::string qrcFileToString (std::string _qrcurl)
 
- Public Member Functions inherited from ge::Engine
 Engine ()
 
 ~Engine ()
 
void draw ()
 
void initExtension ()
 
void setProgrammState (enum PROGRAMMSTATE state)
 
enum PROGRAMMSTATE getProgrammState ()
 
void setDebugState (enum DEBUGSTATE state)
 
enum DEBUGSTATE getDebugState ()
 
void enablePicking (bool _in)
 
bool isPickingEnabled ()
 
void enableWireframe (bool _in)
 
bool isWireframeEnabled ()
 
void enableAnimationLoop (bool _in)
 
bool isAnimationLoopEnabled ()
 
void setUIFramebufferID (unsigned int _id)
 
const std::shared_ptr< TextureHandle > & getUIFramebufferHandle ()
 
bool isUIFramebufferActive ()
 
void enableUIFramebuffer (bool _in=true)
 
void disableUIFramebuffer ()
 
int getCameraCount ()
 
std::shared_ptr< ge::CameragetCamera (int _index)
 
std::shared_ptr< ge::CameragetSelectedCam ()
 
int getSelectedCamID () const
 
void setSelectedCamID (int _id)
 
float getDevicePixelRatio ()
 
void setDevicePixelRatio (float _in)
 
double getElapsedTimeForLastFrame ()
 
void getOpenGLError (std::string const &_input)
 
void getOpenGLError (char const *_input)
 

Additional Inherited Members

- Public Types inherited from ge::Engine
enum  eTEXTURE_UNITS {
  eUNIT0, eUNIT1, eUNIT2, eUNIT3,
  eUNIT4, eUNIT5, eUNIT6, eUNIT7
}
 
enum  PICKINGSTATE { IDLE =0, PICKEVENT, PICKED }
 
enum  DEBUGSTATE { NOTACTIVE, ACTIVE }
 
enum  PROGRAMMSTATE { NOTLOADED, LOADED, RUNNING }
 
- Protected Member Functions inherited from ge::Engine
void printLineRenderingInfo ()
 
void printTextureInfo ()
 
void printFramebufferInfo ()
 
void printBufferInformation ()
 
- Protected Attributes inherited from ge::Engine
std::vector< std::shared_ptr< ge::Camera > > cameras
 
int selectedCameraID
 
enum PROGRAMMSTATE programstate
 Tells you the state of the application. More...
 
enum DEBUGSTATE debugstate
 Tells you if the application is running with debug output. More...
 
enum PICKINGSTATE pickingState
 Tells you if there is a picking event or result ongoing. More...
 
bool pickingEnabled
 
bool animationsEnabled
 

Constructor & Destructor Documentation

MobileCoreEngine::MobileCoreEngine ( )
MobileCoreEngine::~MobileCoreEngine ( )

Member Function Documentation

void MobileCoreEngine::clear ( )
virtual

Reimplemented from ge::Engine.

void MobileCoreEngine::create ( )
virtual

Reimplemented from ge::Engine.

void MobileCoreEngine::drawScene ( )
virtual

Implements ge::Engine.

MobileViewerInputControl * MobileCoreEngine::getInputControl ( int  index)
void MobileCoreEngine::initializeScene ( std::string  _initFilePath = 0)
virtual

Implements ge::Engine.

std::string MobileCoreEngine::qrcFileToString ( std::string  _qrcurl)
void MobileCoreEngine::resize ( int  _w,
int  _h 
)
virtual

Implements ge::Engine.

void MobileCoreEngine::update ( )
virtual

Implements ge::Engine.


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