Public Member Functions | Friends

Vg3DModule::VgIGeometry Class Reference

The Vg3DModule::VgIGeometry interface is used as an abstraction of geometric features that can be added to or removed from the scene. More...

Inheritance diagram for Vg3DModule::VgIGeometry:
Inheritance graph
[legend]
Collaboration diagram for Vg3DModule::VgIGeometry:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 VgIGeometry ()
 Constructor.
virtual ~VgIGeometry ()
 Destructor.
virtual VgIGeometryType getType () const
 Gets the geometry type.
virtual void setLayer (VgEngine::VgRefPtr< VgEngine::VgLayer > pLayer, bool pHaveGeographicCoherence=true)
 Sets the associated layer.
virtual void addListener (VgEngine::VgRefPtr< Vg3DModule::VgIGeometryCallback > pCallback)
 Adds a listener to the geometry object.
virtual void removeListener (VgEngine::VgRefPtr< Vg3DModule::VgIGeometryCallback > pCallback)
 Removes a listener from the geometry object.

Friends

class VgEngine::VgObjectBridge

Detailed Description

The Vg3DModule::VgIGeometry interface is used as an abstraction of geometric features that can be added to or removed from the scene.


Constructor & Destructor Documentation

Vg3DModule::VgIGeometry::VgIGeometry (  )

Constructor.

virtual Vg3DModule::VgIGeometry::~VgIGeometry (  ) [virtual]

Destructor.


Member Function Documentation

virtual void Vg3DModule::VgIGeometry::addListener ( VgEngine::VgRefPtr< Vg3DModule::VgIGeometryCallback pCallback ) [virtual]

Adds a listener to the geometry object.

Parameters:
pCallbackThe callback to associate with this geometry object.
Version:
2.0
virtual VgIGeometryType Vg3DModule::VgIGeometry::getType (  ) const [virtual]

Gets the geometry type.

Returns:
The type of the geometry object.

Reimplemented in Vg3DModule::VgLine, and Vg3DModule::VgPoint.

virtual void Vg3DModule::VgIGeometry::removeListener ( VgEngine::VgRefPtr< Vg3DModule::VgIGeometryCallback pCallback ) [virtual]

Removes a listener from the geometry object.

Parameters:
pCallbackThe callback to disassociate from this geometry object.
Version:
2.0
virtual void Vg3DModule::VgIGeometry::setLayer ( VgEngine::VgRefPtr< VgEngine::VgLayer pLayer,
bool  pHaveGeographicCoherence = true 
) [virtual]

Sets the associated layer.

Parameters:
pLayerThe VgLayer to associate with the geometry object. Pass pLayer as null to disassociate the geometry object from a layer.
pHaveGeographicCoherenceAn 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.
Version:
2.0

Friends And Related Function Documentation

friend class VgEngine::VgObjectBridge [friend]

Reimplemented in Vg3DModule::VgLine, and Vg3DModule::VgPoint.


The documentation for this class was generated from the following file:
VisioDevKit 2.0, Visioglobe® 2013