VisioMove SDK (iOS)  2.1.22
Vg3DModule::VgIGeometryCallback Interface Referenceabstract
Inheritance diagram for Vg3DModule::VgIGeometryCallback:
Inheritance graph

Public Member Functions

virtual ~VgIGeometryCallback ()
 
virtual void handleGeometryEvent (const VgIGeometryEvent &pEvent)=0
 
- Public Member Functions inherited from VgEngine::VgReferenced
 VgReferenced ()
 
 VgReferenced (const VgReferenced &pThis)
 
virtual ~VgReferenced ()
 
VgReferencedoperator= (const VgReferenced &pThis)
 
void ref () const
 
int unref () const
 
int getNbReferences () const
 

Protected Member Functions

 VgIGeometryCallback ()
 

Additional Inherited Members

- Protected Attributes inherited from VgEngine::VgReferenced
int mNbReferences
 

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

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

Constructor & Destructor Documentation

Vg3DModule::VgIGeometryCallback::VgIGeometryCallback ( )
inlineprotected

Constructor.

virtual Vg3DModule::VgIGeometryCallback::~VgIGeometryCallback ( )
inlinevirtual

Destructor.

References handleGeometryEvent().

Member Function Documentation

virtual void Vg3DModule::VgIGeometryCallback::handleGeometryEvent ( const VgIGeometryEvent pEvent)
pure virtual

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

Parameters
pEventThe geometry event that just happened and triggered this callback.

Referenced by ~VgIGeometryCallback().


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