VisioMove SDK (Android)  2.1.22
 All Classes Functions Variables Pages
VgLayer Class Reference
Inheritance diagram for VgLayer:
Inheritance graph

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 ()
 
- Public Member Functions inherited from VgSpatial
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 ()
 
- Public Member Functions inherited from VgReferenced
synchronized void release ()
 
 VgReferenced ()
 
 VgReferenced (VgReferenced pThis)
 
void ref ()
 
int unref ()
 
int getNbReferences ()
 

Detailed Description

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 .

Version
2.0

Member Function Documentation

float VgLayer.getLoadFactor ( )

Gets the load factor of the layer. Only applicable on layers created through XML configuration.

Returns
The current load factor.
float VgLayer.getLODFactor ( )

Gets the LOD factor of the layer. Only applicable on layers created through XML configuration.

Returns
The current LOD factor.
String VgLayer.getName ( )

Get the layer's name.

Returns
The layer's name.
VgSRSConstRefPtr VgLayer.getSRS ( )
Returns
The layers SRS
boolean VgLayer.isVisible ( )

Gets the visibility of the layer.

Returns
true if the layer is visible, false if invisible.
void VgLayer.setHostedVisible ( boolean  pVisible)

Sets the visibility of hosted (i.e. user or database created) visuals.

Parameters
pVisibleIf 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.

Parameters
pLoadFactorThe 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).

Parameters
pLODFactorThe LOD factor to assign to the layer.
void VgLayer.setVisible ( boolean  pIsVisible)

Sets the overall visibility of the layer.

Parameters
pIsVisibleIf true the layer will be visible, invisible if false.

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