|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.visioglobe.libVisioDevKit.VgReferenced
com.visioglobe.libVisioDevKit.VgSpatial
com.visioglobe.libVisioDevKit.VgLayer
public class VgLayer
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.
Field Summary |
---|
Fields inherited from class com.visioglobe.libVisioDevKit.VgReferenced |
---|
swigCMemOwn, swigRefPtr |
Constructor Summary | |
---|---|
VgLayer(long cPtr,
boolean cMemoryOwn)
The constructor is private, you are required to instantiate layers through VgEngine::VgInstanceFactory using a descriptor. |
Method Summary | |
---|---|
void |
delete()
|
static long |
getCPtr(VgLayer obj)
|
float |
getLoadFactor()
Gets the load factor of the layer. |
float |
getLODFactor()
Gets the LOD factor of the layer. |
java.lang.String |
getName()
Get the layer's name. |
VgSRSConstRefPtr |
getSRS()
|
boolean |
isVisible()
Gets the visibility of the layer. |
void |
setHostedVisible(boolean pVisible)
Sets the visibility of hosted (i.e. |
void |
setLoadFactor(float pLoadFactor)
Sets the load factor of the layer. |
void |
setLODFactor(float pLODFactor)
Sets the LOD factor of the layer. |
void |
setVisible(boolean pVisible)
Sets the overall visibility of the layer. |
Methods inherited from class com.visioglobe.libVisioDevKit.VgSpatial |
---|
editAnimation, getAnimation, getAnimationNames, getCPtr, getOrientation, getPosition, setAnimation, setAnimation, setLocalAnimation, setOrientation, setPosition, setPosition, setScale |
Methods inherited from class com.visioglobe.libVisioDevKit.VgReferenced |
---|
finalize, getCPtr, getNbReferences, ref, unref |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VgLayer(long cPtr, boolean cMemoryOwn)
Method Detail |
---|
public static long getCPtr(VgLayer obj)
public void delete()
delete
in class VgSpatial
public java.lang.String getName()
public void setHostedVisible(boolean pVisible)
pVisible
- If true, the visuals are visible, invisible if false.public boolean isVisible()
public void setVisible(boolean pVisible)
pVisible
- If true the layer will be visible, invisible if false.public void setLODFactor(float pLODFactor)
pLODFactor
- The LOD factor to assign to the layer.public void setLoadFactor(float pLoadFactor)
pLoadFactor
- The load factor to assign to the layer.public float getLODFactor()
public float getLoadFactor()
public VgSRSConstRefPtr getSRS()
|
VisioDevKit 2.0, Visioglobe® 2013 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |