VisioMove SDK (Android)
2.1.22
|
Static Public Member Functions | |
static VgPointRefPtr | getNull () |
The VgPoint object can be associated with a layer within the 3D view. When the associated layer is visible, so to will the VgPoint . The VgPoint is located at a specified geographical position and is represented as a textured square.
To use a VgPoint , one must first create it (using VgEngine::VgInstanceFactory::instantiate ) and then associate it with a layer (using setLayer).
Subclassing
It's possible to subclass VgPoint in order to add custom data. This is demonstrated by the following code snippet:
Once the Point is created, it can be wrapped by MyPoint and associated with a layer.
VgPointRefPtr.VgPointRefPtr | ( | ) |
VgPointRefPtr.VgPointRefPtr | ( | VgPoint | pPointer | ) |
VgPointRefPtr.VgPointRefPtr | ( | VgPointRefPtr | pRefPtr | ) |
VgPoint VgPointRefPtr.__deref__ | ( | ) |
VgPoint VgPointRefPtr.__ref__ | ( | ) |
void VgPointRefPtr.addListener | ( | VgIGeometryCallbackRefPtr | pCallback | ) |
VgIGeometry VgPointRefPtr.asGeometry | ( | ) |
VgLine VgPointRefPtr.asLine | ( | ) |
Casts this instance into a VgLine .
VgPoint VgPointRefPtr.asPoint | ( | ) |
Casts this instance into a VgPoint .
VgAnimationRefPtr VgPointRefPtr.editAnimation | ( | String | pName | ) |
VgMarkerRefPtr VgPointRefPtr.editMarker | ( | long | pIndex | ) |
pIndex | Index of marker to edit. |
VgPoint VgPointRefPtr.get | ( | ) |
VgAltitudeMode VgPointRefPtr.getAltitudeMode | ( | ) |
VgAnchorMode VgPointRefPtr.getAnchorPosition | ( | ) |
VgAnimationConstRefPtr VgPointRefPtr.getAnimation | ( | String | pName | ) |
VgValue VgPointRefPtr.getAnimationChannelValue | ( | String | pChannelName | ) |
void VgPointRefPtr.getAnimationNames | ( | VgStringList | pNameList | ) |
boolean VgPointRefPtr.getBoundingPositions | ( | VgPositionVector | pResult | ) |
void VgPointRefPtr.getBoundingRect | ( | float[] | pRectangleWidth, |
float[] | pRectangleHeight | ||
) |
Returns the current BoundingRect of the VgPoint . values of -1.0 means undefined.
pRectangleWidth | |
pRectangleHeight |
float VgPointRefPtr.getGeometryConstantSizeDistance | ( | ) |
String VgPointRefPtr.getID | ( | ) |
VgLayerRefPtr VgPointRefPtr.getLayer | ( | ) |
VgPosition VgPointRefPtr.getLocalPosition | ( | ) |
long VgPointRefPtr.getNbMarkers | ( | ) |
int VgPointRefPtr.getNbReferences | ( | ) |
boolean VgPointRefPtr.getNotifyPOISelectedOnClick | ( | ) |
|
static |
VgOrientation VgPointRefPtr.getOrientation | ( | ) |
VgOrientationConstraints VgPointRefPtr.getOrientationConstraints | ( | ) |
VgPosition VgPointRefPtr.getPosition | ( | ) |
float VgPointRefPtr.getScale | ( | ) |
VgSizePolicy VgPointRefPtr.getSizePolicy | ( | ) |
Returns the current size policy of the VgPoint .
References VgSizePolicy.swigToEnum().
VgIGeometryType VgPointRefPtr.getType | ( | ) |
References VgIGeometryType.swigToEnum().
VgVisibilityRamp VgPointRefPtr.getVisibilityRamp | ( | ) |
int VgPointRefPtr.getZIndex | ( | ) |
boolean VgPointRefPtr.insertMarker | ( | VgMarkerDescriptor | pMarkerDescriptor, |
int | pMarkerPosition | ||
) |
Create and insert a new marker.
pMarkerDescriptor | Descriptor of new marker to create and insert |
pMarkerPosition | Position to insert the marker. Value of -1 means add at end. 0 means beginning. The markers shift on insertion. |
boolean VgPointRefPtr.isDrawnOnTop | ( | ) |
boolean VgPointRefPtr.isForceFrontFaceEnabled | ( | ) |
boolean VgPointRefPtr.isValid | ( | ) |
boolean VgPointRefPtr.isVisible | ( | ) |
void VgPointRefPtr.ref | ( | ) |
void VgPointRefPtr.removeListener | ( | VgIGeometryCallbackRefPtr | pCallback | ) |
boolean VgPointRefPtr.removeMarker | ( | int | pMarkerPosition | ) |
Remove the marker at a given index. You cannot remove the last marker.
pMarkerPosition | Position of marker to remove. Value of -1 means remove from end. |
VgPointRefPtr VgPointRefPtr.set | ( | VgPoint | pPointer | ) |
void VgPointRefPtr.setAltitudeMode | ( | VgAltitudeMode | pAltitudeMode | ) |
Sets the altitude mode.
pAltitudeMode |
void VgPointRefPtr.setAnchorPosition | ( | VgAnchorMode | pAnchorMode | ) |
Sets the anchor position.
pAnchorMode |
void VgPointRefPtr.setAnimation | ( | String | pAnimationName, |
VgAnimationRefPtr | pAnimation | ||
) |
void VgPointRefPtr.setAnimation | ( | VgAnimationRefPtr | pAnimation | ) |
void VgPointRefPtr.setBoundingRect | ( | float | pRectangleWidth, |
float | pRectangleHeight | ||
) |
Sets the current BoundingRect of the VgPoint . values of -1.0 means undefined. Usually called before setSizePolicy(VgEnging::eVgSizePolicyFitBoundingRectangle)
pRectangleWidth | |
pRectangleHeight |
void VgPointRefPtr.setDrawOnTop | ( | boolean | pEnable | ) |
void VgPointRefPtr.setForceFrontFace | ( | boolean | pEnable | ) |
Sets a flag to force the front face behavior. In cases where the camera can view the poi from behind, our engine will not display the label. For example this will happen if the VgPoint has a fixed orientation (it will not happen if it is always camera facing). Default value is false. Setting this to true will allow to view fixed VgPoints from behind.
pEnable |
void VgPointRefPtr.setGeometryConstantSizeDistance | ( | float | pDistanceInMeters | ) |
Sets the distance at which the VgPoint does not become bigger as you approach it. When the camera is within this distance of the VgPoint , the visible size of the VgPoint on the screen will be the same as what it looked like when it was mGeometryConstantSizeDistance meters away. If set to 0.0, the size of the POI will be determined by mScale, regardless of it's distance from the camera. The default value of this property is 700.0.
pDistanceInMeters |
void VgPointRefPtr.setLayer | ( | VgLayerRefPtr | pLayer, |
boolean | pHaveGeographicCoherence | ||
) |
void VgPointRefPtr.setLayer | ( | VgLayerRefPtr | pLayer | ) |
void VgPointRefPtr.setLocalAnimation | ( | VgAnimationRefPtr | pAnimation | ) |
void VgPointRefPtr.setLocalPosition | ( | VgPosition | pPosition | ) |
void VgPointRefPtr.setNotifyPOISelectedOnClick | ( | boolean | pValue | ) |
void VgPointRefPtr.setOrientation | ( | VgOrientation | pOrientation | ) |
void VgPointRefPtr.setOrientationConstraints | ( | VgOrientationConstraints | pConstraints | ) |
Sets new orientation constraints.
pConstraints |
void VgPointRefPtr.setPosition | ( | VgPosition | pPosition, |
boolean | pHaveGeographicCoherence | ||
) |
void VgPointRefPtr.setPosition | ( | VgPosition | pPosition | ) |
void VgPointRefPtr.setScale | ( | float | pScale | ) |
boolean VgPointRefPtr.setSizePolicy | ( | VgSizePolicy | pSizePolicy | ) |
Changes the size policy of the VgPoint .
pSizePolicy | size policy to use. |
void VgPointRefPtr.setVisibilityRamp | ( | VgVisibilityRamp | pRamp | ) |
void VgPointRefPtr.setVisible | ( | boolean | pIsVisible | ) |
void VgPointRefPtr.setZIndex | ( | int | pZIndex | ) |
int VgPointRefPtr.unref | ( | ) |