Constructor and Description |
---|
VgIGeometry() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(VgIGeometryCallbackRefPtr pCallback)
Adds a listener to the geometry object.
|
void |
delete() |
VgIGeometryType |
getType()
Gets the geometry type.
|
VgVisibilityRamp |
getVisibilityRamp() |
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.
|
void |
setVisibilityRamp(VgVisibilityRamp pRamp) |
editAnimation, getAnimation, getAnimationNames, getOrientation, getPosition, getScale, getZIndex, isDrawnOnTop, setAnimation, setAnimation, setDrawOnTop, setLocalAnimation, setOrientation, setPosition, setPosition, setScale, setZIndex
getNbReferences, ref, unref
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.public VgVisibilityRamp getVisibilityRamp()
public void setVisibilityRamp(VgVisibilityRamp pRamp)