VisioMove  2.1.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Friends Pages
Vg3DModule::VgIGeometryCallback Interface Referenceabstract

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

Inheritance diagram for Vg3DModule::VgIGeometryCallback:
Inheritance graph

Public Member Functions

virtual ~VgIGeometryCallback ()
 Destructor. More...
 
virtual void handleGeometryEvent (const VgIGeometryEvent &pEvent)=0
 This method is invoked when an event is triggered on the related Geometry. More...
 
- Public Member Functions inherited from VgEngine::VgReferenced
 VgReferenced ()
 Constructor. More...
 
 VgReferenced (const VgReferenced &pThis)
 Copy constructor. More...
 
virtual ~VgReferenced ()
 Destructor. More...
 
VgReferencedoperator= (const VgReferenced &pThis)
 Assignment operator. More...
 
void ref () const
 This method is used to add a reference to this object. More...
 
int unref () const
 This method is used to remove a reference to this object. More...
 
int getNbReferences () const
 Retrieves the number of references to this object. More...
 

Protected Member Functions

 VgIGeometryCallback ()
 Constructor. More...
 

Additional Inherited Members

- Protected Attributes inherited from VgEngine::VgReferenced
int mNbReferences
 The number of references to this object. More...
 

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

Date
25/02/2010
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.

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.

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