public interface VgMyLayerAndCameraHandler
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFocusedLayerName()
Gets the focused layer's name.
|
void |
gotoLayer(long pLayerIndex,
boolean pIsAnimated)
Focus a specific layer
|
void |
gotoLayer(java.lang.String pLayerName,
boolean pIsAnimated)
Focus a specific layer
|
void |
gotoLookAtPosition(VgPosition pPosition,
java.lang.String pLayerName,
boolean pIsAnimated)
Moves the camera so that it is focused on a given position.
|
void |
gotoViewpoint(VgIViewPoint pViewPoint,
java.lang.String pLayerName,
boolean pIsAnimated)
Moves the camera to a specific view point.
|
boolean |
isGlobalView() |
void |
refreshParameters(long pWidth,
long pHeight)
Refreshes the inner parameters.
|
void |
release()
This method should be called when the activity dies to notify that we
should release/unregister all VisioDevKit objects, and null out as much
references on other objects as possible.
|
void |
switchToDetailedView(boolean pIsAnimated)
Switches from the global to the detailed view.
|
void |
switchToGlobalView(boolean pIsAnimated)
Switches from the detailledView to the global view.
|
boolean isGlobalView()
void switchToGlobalView(boolean pIsAnimated)
pIsAnimated
- If true then animates the transition, otherwise does not.void switchToDetailedView(boolean pIsAnimated)
pIsAnimated
- If true then animates the transition, otherwise does not.java.lang.String getFocusedLayerName()
void gotoLayer(java.lang.String pLayerName, boolean pIsAnimated)
pLayerName
- Layer that will be focused.
keeps current mode.pIsAnimated
- If true then animates the transition, otherwise does not.void gotoLayer(long pLayerIndex, boolean pIsAnimated)
pLayerIndex
- Layer index which is associated with the returned list given by VgLayerManager::getLayers().
keeps current mode.pIsAnimated
- If true then animates the transition, otherwise does not.void gotoViewpoint(VgIViewPoint pViewPoint, java.lang.String pLayerName, boolean pIsAnimated)
pViewPoint
- The view point to associate with the camerapLayerName
- The layer which should be given the focus.pIsAnimated
- If true then animates the transition, otherwise does not.void gotoLookAtPosition(VgPosition pPosition, java.lang.String pLayerName, boolean pIsAnimated)
pPosition
- The position to focus on.pLayerName
- The name of the layer associated with the position.pIsAnimated
- If true then animates the transition, otherwise does not.void refreshParameters(long pWidth, long pHeight)
void release()