VisioMove SDK (Android)  2.1.22
 All Classes Functions Variables Pages
VgIGeometryCallbackRefPtr Class Reference

Public Member Functions

 VgIGeometryCallbackRefPtr ()
 VgIGeometryCallbackRefPtr (VgIGeometryCallback pPointer)
 VgIGeometryCallbackRefPtr (VgIGeometryCallbackRefPtr pRefPtr)
VgIGeometryCallbackRefPtr set (VgIGeometryCallback pPointer)
VgIGeometryCallback __ref__ ()
VgIGeometryCallback __deref__ ()
VgIGeometryCallback get ()
boolean isValid ()
void handleGeometryEvent (VgIGeometryEvent pEvent)
void ref ()
int unref ()
int getNbReferences ()

Static Public Member Functions

static VgIGeometryCallbackRefPtr getNull ()

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

Constructor & Destructor Documentation

VgIGeometryCallbackRefPtr.VgIGeometryCallbackRefPtr ( )
VgIGeometryCallbackRefPtr.VgIGeometryCallbackRefPtr ( VgIGeometryCallback  pPointer)
VgIGeometryCallbackRefPtr.VgIGeometryCallbackRefPtr ( VgIGeometryCallbackRefPtr  pRefPtr)

Member Function Documentation

VgIGeometryCallback VgIGeometryCallbackRefPtr.__deref__ ( )
VgIGeometryCallback VgIGeometryCallbackRefPtr.__ref__ ( )
VgIGeometryCallback VgIGeometryCallbackRefPtr.get ( )
int VgIGeometryCallbackRefPtr.getNbReferences ( )
static VgIGeometryCallbackRefPtr VgIGeometryCallbackRefPtr.getNull ( )
void VgIGeometryCallbackRefPtr.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.
boolean VgIGeometryCallbackRefPtr.isValid ( )
void VgIGeometryCallbackRefPtr.ref ( )
VgIGeometryCallbackRefPtr VgIGeometryCallbackRefPtr.set ( VgIGeometryCallback  pPointer)
int VgIGeometryCallbackRefPtr.unref ( )

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