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

Public Member Functions

void swigReleaseOwnership ()
void swigTakeOwnership ()
void handleGeometryEvent (VgIGeometryEvent pEvent)
- Public Member Functions inherited from VgReferenced
synchronized void release ()
 VgReferenced ()
 VgReferenced (VgReferenced pThis)
void ref ()
int unref ()
int getNbReferences ()

Detailed Description

The VgIGeometryCallback interface is used to notify the developer that an event has been triggered on a Geometry.

Please refer VgIGeometry::addListener and VgIGeometry via the VgIGeometry::removeListener to see how to add and remove a VgIGeometryCallback listener from a VgIGeometry object.

If you want to treat the VgIGeometry like any other geometry via the VgMapModule::VgIPlaceListener , then consider using a non empty mID for your Vg3DModule::VgPoint or Vg3DModule::VgLine . Given that Vg3DModule::VgGeometryDescriptor::mNotifyPOISelectedOnClick is true by default, you will receive notifications when the VgIGeometry is clicked via the VgMapModule::VgIPlaceListener

2.1.3 Updated documentation with information about alternatively using Vg3DModule::VgGeometryDescriptor::mNotifyPOISelectedOnClick and VgMapModule::VgIPlaceListener
See also

Member Function Documentation

void VgIGeometryCallback.handleGeometryEvent ( VgIGeometryEvent  pEvent)

This method is invoked when an event is triggered on the related Geometry.

pEventThe geometry event that just happened and triggered this callback.
void VgIGeometryCallback.swigReleaseOwnership ( )
void VgIGeometryCallback.swigTakeOwnership ( )

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