com.visioglobe.libVisioDevKit
Class VgIManipulatorManager
java.lang.Object
com.visioglobe.libVisioDevKit.VgIManipulatorManager
public class VgIManipulatorManager
- extends java.lang.Object
The VgIManipulatorManager interface is used to choose the way the user will interact with the
Open GL surface.
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
swigCMemOwn
protected boolean swigCMemOwn
VgIManipulatorManager
public VgIManipulatorManager(long cPtr,
boolean cMemoryOwn)
getCPtr
public static long getCPtr(VgIManipulatorManager obj)
finalize
protected void finalize()
- Overrides:
finalize
in class java.lang.Object
delete
public void delete()
selectManipulator
public boolean selectManipulator(java.lang.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.
- Parameters:
pName
- The name of the manipulator. Supported manipulators
include: "3D" and "animation".- Remark:
- The default manipulator at startup depends on what is defined within the
dataset configuration. For more information regarding the configuring dataset, see @ref DatasetConfig.
getCurrentManipulator
public java.lang.String getCurrentManipulator()
- Returns the current manipulator's name.
editManipulatorObject
public VgManipulator editManipulatorObject(java.lang.String pManipulatorName)
- Returns a VgApplication::VgManipulator instance given its name.
It returns NULL if the specified manipulator has no public interface.
- Parameters:
pManipulatorName
- Name of the manipulator to retrieve.
- Returns:
- A VgApplication::VgManipulator pointer or NULL.