com.visioglobe.libVisioDevKit
Class VgIApplication

java.lang.Object
  extended by com.visioglobe.libVisioDevKit.VgIApplication

public class VgIApplication
extends java.lang.Object

The VgIApplication interface provides a corridor to retrieve objects within the Engine layer. In addition to this it also provides higher level management of the VisioDevKit view such as advanced camera manipulation.

Interface:
VgApplication::VgIApplication
Date:
25/02/2010

Field Summary
protected  boolean swigCMemOwn
           
 
Constructor Summary
VgIApplication(long cPtr, boolean cMemoryOwn)
           
 
Method Summary
static VgIApplication createApplication()
          Creates default application
static VgIApplication createApplicationNOHEAD()
          Creates application without renderer.
static VgIApplication createApplicationOGL()
          Creates application that use OpenGL.
static VgIApplication createApplicationOGLES1()
          Creates application that use OpenGLES1.
static VgIApplication createApplicationOGLES2()
          Creates application that use OpenGLES2.
 void delete()
           
 VgIEngine editEngine()
          Retrieves the engine.
 VgIManipulatorManager editManipulatorManager()
          Retrieves the manipulator manager.
 VgIModuleManager editModuleManager()
          Retrieves the module manager.
protected  void finalize()
           
static long getCPtr(VgIApplication obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

swigCMemOwn

protected boolean swigCMemOwn
Constructor Detail

VgIApplication

public VgIApplication(long cPtr,
                      boolean cMemoryOwn)
Method Detail

getCPtr

public static long getCPtr(VgIApplication obj)

finalize

protected void finalize()
Overrides:
finalize in class java.lang.Object

delete

public void delete()

editModuleManager

public VgIModuleManager editModuleManager()
Retrieves the module manager.


editEngine

public VgIEngine editEngine()
Retrieves the engine.


editManipulatorManager

public VgIManipulatorManager editManipulatorManager()
Retrieves the manipulator manager.


createApplication

public static VgIApplication createApplication()
Creates default application

Returns:
application that uses OpenGL, OpenGLES1, OpenGLES2, or NULL renderer, depending on support and compile time options. should never be NULL unless no memory.

createApplicationOGL

public static VgIApplication createApplicationOGL()
Creates application that use OpenGL.

Returns:
NULL if SDK not compiled with that support.

createApplicationOGLES1

public static VgIApplication createApplicationOGLES1()
Creates application that use OpenGLES1.

Returns:
NULL if SDK not compiled with that support.

createApplicationOGLES2

public static VgIApplication createApplicationOGLES2()
Creates application that use OpenGLES2.

Returns:
NULL if SDK not compiled with that support.

createApplicationNOHEAD

public static VgIApplication createApplicationNOHEAD()
Creates application without renderer. Should always return a valid pointer

Remark:
useful for determining version of SDK.

VisioDevKit 2.0, Visioglobe® 2013