public class VgMyGeometryManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
VgMyGeometryManager.LineObject |
class |
VgMyGeometryManager.LinkObject |
class |
VgMyGeometryManager.PointObject |
Constructor and Description |
---|
VgMyGeometryManager(VgMySurfaceView pSurfaceView) |
Modifier and Type | Method and Description |
---|---|
void |
addObjects()
Adds objects to the 3d Module that are related to the current dataset
|
void |
addObjects(java.lang.String pContext) |
VgLineRefPtr |
createLineObject(java.lang.String pContext,
java.lang.String pLayerName,
VgLineDescriptorRefPtr lLineDescr)
Creates a line object
|
VgLinkRefPtr |
createLinkObject(java.lang.String pContext,
VgLinkDescriptorRefPtr pLinkDescr)
Creates a Link object
|
VgMyGeometryManager.PointObject |
createPointObject(java.lang.String pContext,
java.lang.String pLayerName,
VgPointDescriptorRefPtr lPointDesc,
VgIGeometryCallbackRefPtr pCallback)
Creates a Point object
|
void |
deleteObjects(java.lang.String pContext)
Deletes objects associated with a context
Note: The objects must have been removed first, using removeObjects().
|
void |
release()
This method should be called by the activity to notify the controller
that it should release/unregister all VisioDevKit objects, and null out
as much references on other objects as possible.
|
void |
removeObjects()
Removes all objects
Note: Will remove any callbacks associated with Point Objects.
|
void |
removeObjects(java.lang.String pContext)
Removes all objects associated with a Context
Note: Will remove any callbacks associated with Point Objects.
|
public VgMyGeometryManager(VgMySurfaceView pSurfaceView)
public void addObjects()
public void addObjects(java.lang.String pContext)
public VgLineRefPtr createLineObject(java.lang.String pContext, java.lang.String pLayerName, VgLineDescriptorRefPtr lLineDescr)
pContext,
- the context with which to associate the objectpLineDescr,
- line descriptor.pLayerName
- Layer it is in.public VgMyGeometryManager.PointObject createPointObject(java.lang.String pContext, java.lang.String pLayerName, VgPointDescriptorRefPtr lPointDesc, VgIGeometryCallbackRefPtr pCallback)
pContext
- The context with which to associate the object.pLayerName
- Layer it is in.lPointDesc
- Point descriptor.pCallback
- The callback object to be notified of events occurring on the Point object being created.public VgLinkRefPtr createLinkObject(java.lang.String pContext, VgLinkDescriptorRefPtr pLinkDescr)
pContext
- The context with which to associate the object.pLinkDesc
- The link descriptor to instantiate.public void removeObjects(java.lang.String pContext)
pContext,
- the context which denotes which objects to remove.public void removeObjects()
public void deleteObjects(java.lang.String pContext)
public void release()