|
||||||||
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.VgIGeometry
public class VgIGeometry
The Vg3DModule::VgIGeometry interface is used as an abstraction of geometric features that can be added to or removed from the scene.
Field Summary |
---|
Fields inherited from class com.visioglobe.libVisioDevKit.VgReferenced |
---|
swigCMemOwn, swigRefPtr |
Constructor Summary | |
---|---|
VgIGeometry()
|
|
VgIGeometry(long cPtr,
boolean cMemoryOwn)
Constructor. |
Method Summary | |
---|---|
void |
addListener(VgIGeometryCallbackRefPtr pCallback)
Adds a listener to the geometry object. |
void |
delete()
|
protected void |
finalize()
|
static long |
getCPtr(VgIGeometry obj)
|
VgIGeometryType |
getType()
Gets the geometry type. |
void |
removeListener(VgIGeometryCallbackRefPtr pCallback)
Removes a listener from the geometry object. |
void |
setLayer(VgLayerRefPtr pLayer)
|
void |
setLayer(VgLayerRefPtr pLayer,
boolean pHaveGeographicCoherence)
Sets the associated 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 |
---|
getCPtr, getNbReferences, ref, unref |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VgIGeometry(long cPtr, boolean cMemoryOwn)
public VgIGeometry()
Method Detail |
---|
public static long getCPtr(VgIGeometry obj)
protected void finalize()
finalize
in class VgReferenced
public void delete()
delete
in class VgSpatial
public VgIGeometryType getType()
public void setLayer(VgLayerRefPtr pLayer, boolean pHaveGeographicCoherence)
pLayer
- The VgLayer to associate with the geometry object. Pass pLayer
as null to disassociate the geometry object from a layer.pHaveGeographicCoherence
- An optional parameter who by default is true.
Is used to determine the geographic coherence of the geometry. If set to false,
then the geometry will be coherent with the scene.public void setLayer(VgLayerRefPtr pLayer)
public void addListener(VgIGeometryCallbackRefPtr pCallback)
pCallback
- The callback to associate with this geometry object.public void removeListener(VgIGeometryCallbackRefPtr pCallback)
pCallback
- The callback to disassociate from this geometry object.
|
VisioDevKit 2.0, Visioglobe® 2013 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |