VisioMove SDK (Android)  2.1.22
 All Classes Functions Variables Pages
VgIManipulatorManager Class Reference

Public Member Functions

boolean selectManipulator (String pName)
 
String getCurrentManipulator ()
 
VgManipulator editManipulatorObject (String pManipulatorName)
 

Detailed Description

The VgIManipulatorManager interface is used to choose the way the user will interact with the Open GL surface.

Supported manipulators Currently, the following manipulators are supported:

For example, the "3D" manipulator supports various user-interactions on a touch-screen :

The below code snippets demonstrates how to select the "3D" manipulator.

bool lSuccess = mVgApp->editManipulatorManager()->selectManipulator("3D");
Version
2.1.0 updated documentation

Member Function Documentation

VgManipulator VgIManipulatorManager.editManipulatorObject ( String  pManipulatorName)

Returns a VgApplication::VgManipulator instance given its name. It returns NULL if the specified manipulator has no public interface.

Parameters
pManipulatorNameName of the manipulator to retrieve.
Version
2.0
Returns
A VgApplication::VgManipulator pointer or NULL.
String VgIManipulatorManager.getCurrentManipulator ( )

Returns the current manipulator's name, should be called after VgEngine::VgIDatabase::selectDataset()

The default manipulator for maps is the 2D manipulator, it can be different for other datasets.

Version
2.0
2.1.3 added note on default manipulator.
boolean VgIManipulatorManager.selectManipulator ( String  pName)

Selects the current manipulator.

Having an active manipulator is almost always desired to provide the user with a mechanism to interact with the scene. Interaction is handled intuitively for the various hardware. For touch-screen devices, the view can be manipulated by dragging a finger. For other devices, view manipulation can be detected via the keypad.

Remarks
The default manipulator at startup depends on what is defined within the dataset configuration. For more information regarding the configuring dataset, see Data bundle configuration .
Parameters
pNameThe name of the manipulator. Supported manipulators are: "2D", "3D", "animation", "simpleGesture", "simpleTrackball"

The documentation for this class was generated from the following file:
VisioMove 2.1.22, Visioglobe® 2016