VisioMove SDK (Android)
2.1.22
|
Public Member Functions | |
String | getName () |
void | setHostedVisible (boolean pVisible) |
boolean | isVisible () |
void | setVisible (boolean pIsVisible) |
void | setLODFactor (float pLODFactor) |
void | setLoadFactor (float pLoadFactor) |
float | getLODFactor () |
float | getLoadFactor () |
VgSRSConstRefPtr | getSRS () |
![]() | |
void | setAnimation (String pAnimationName, VgAnimationRefPtr pAnimation) |
void | setAnimation (VgAnimationRefPtr pAnimation) |
void | setLocalAnimation (VgAnimationRefPtr pAnimation) |
VgAnimationConstRefPtr | getAnimation (String pName) |
VgAnimationRefPtr | editAnimation (String pName) |
void | getAnimationNames (VgStringList pNameList) |
VgValue | getAnimationChannelValue (String pChannelName) |
VgPosition | getPosition () |
void | setPosition (VgPosition pPosition, boolean pHaveGeographicCoherence) |
void | setPosition (VgPosition pPosition) |
VgOrientation | getOrientation () |
void | setOrientation (VgOrientation pOrientation) |
float | getScale () |
void | setScale (float pScale) |
int | getZIndex () |
void | setZIndex (int pZIndex) |
boolean | isDrawnOnTop () |
void | setDrawOnTop (boolean pEnable) |
void | setVisible (boolean pIsVisible) |
boolean | isVisible () |
VgIGeometry | asGeometry () |
VgPoint | asPoint () |
VgLine | asLine () |
![]() | |
synchronized void | release () |
VgReferenced () | |
VgReferenced (VgReferenced pThis) | |
void | ref () |
int | unref () |
int | getNbReferences () |
This class exposes the layer concept. There are two types of layers, one is the type of layers which come from the XML configuration file. This type of layer can't be instantiated except through XML configuration. The other type of layer (called user created layer) may be instantiated by the user through the VgInstanceFactory class using a VgEngine::VgLayer::Descriptor .
float VgLayer.getLoadFactor | ( | ) |
Gets the load factor of the layer. Only applicable on layers created through XML configuration.
float VgLayer.getLODFactor | ( | ) |
Gets the LOD factor of the layer. Only applicable on layers created through XML configuration.
String VgLayer.getName | ( | ) |
Get the layer's name.
VgSRSConstRefPtr VgLayer.getSRS | ( | ) |
boolean VgLayer.isVisible | ( | ) |
Gets the visibility of the layer.
void VgLayer.setHostedVisible | ( | boolean | pVisible | ) |
Sets the visibility of hosted (i.e. user or database created) visuals.
pVisible | If true, the visuals are visible, invisible if false. |
void VgLayer.setLoadFactor | ( | float | pLoadFactor | ) |
Sets the load factor of the layer. This will impact how much data is loadeded at a same time. May be a usefull handle to control memory footprint and loading speeds. Higher values will cause more data to be loaded at the same time. Only applicable on layers created through XML configuration.
pLoadFactor | The load factor to assign to the layer. |
void VgLayer.setLODFactor | ( | float | pLODFactor | ) |
Sets the LOD factor of the layer. This will impact how much data is displayed at a same time. May be a usefull handle to control frame rate. Higher values lead to more geometry being displayed. Only applicable on layers created through XML configuration. Does not affect hosted visuals (e.g. labels).
pLODFactor | The LOD factor to assign to the layer. |
void VgLayer.setVisible | ( | boolean | pIsVisible | ) |
Sets the overall visibility of the layer.
pIsVisible | If true the layer will be visible, invisible if false. |