VisioMove SDK (iOS)
2.1.22
|
Public Member Functions | |
virtual | ~VgManipulator () |
virtual std::string | getType () const =0 |
virtual bool | getBoundaries (VgEngine::VgPosition &pMinimumPosition, VgEngine::VgPosition &pMaximumPosition) const |
virtual bool | setBoundaries (const VgEngine::VgPosition &pMinimumPosition, const VgEngine::VgPosition &pMaximumPosition) |
virtual bool | setBoundaries (const std::vector< VgEngine::VgPosition > &pPositions, bool pAutoComputeMaxAltitude) |
virtual void | setListener (VgEngine::VgRefPtr< VgApplication::VgManipulatorListener > &pListener) |
virtual void | setAnchor (const VgEngine::VgPosition &pAnchor) |
virtual void | setMinRadius (double pMinRadius) |
virtual void | setMaxRadius (double pMaxRadius) |
Protected Member Functions | |
VgManipulator () | |
Controls the way the user interact with the Open GL surface.
|
inlinevirtual |
References getType().
|
inlineprotected |
|
inlinevirtual |
Retrieves the current boundaries of the camera.
pMinimumPosition | Updates with the minimum latitude, longitude, and altitude the camera is allowed to move. |
pMaximumPosition | Updates with the maximum latitude, longitude, and altitude the camera is allowed to move |
|
pure virtual |
Referenced by ~VgManipulator().
|
inlinevirtual |
Set the anchor point around with the view will pivot.
pAnchor | position of pivot. |
|
inlinevirtual |
Set the boundaries where the camera can move. If the current camera position is outside this new boundary, the camera will be moved inside this new area.
The original values for the manipulators are set on the vg_config.xml or via the default values of the dataset It is usually smaller than that found on the dataset.
pMinimumPosition | Minimum latitude, longitude and altitude the camera is allowed to move. |
pMaximumPosition | Maximum latitude, longitude and altitude the camera is allowed to move. It supposes the all the values are greater than the values in pMinimumPosition |
|
inlinevirtual |
Set the boundaries where the camera can move. If the current camera position is outside this new boundary, the camera will be moved inside this new area.
The original values for the manipulators are set on the vg_config.xml or via the default values of the dataset It is usually smaller than that found on the dataset.
pPositions | Set of positions used to compute the boundaries. Note: the boundaries will be the bounding box of these positions, not the exact polygon described by them. |
pAutoComputeMaxAltitude | Pass true to compute the best altitude automatically, using VgICamera::getViewpointFromPositions. |
|
inlinevirtual |
Sets the listener to simple gestures. It is notified once a simple gesture is recognized.
pListener | Simple gestures listener. Pass NULL to remove the current Listener. |
|
inlinevirtual |
Set the maximum distance to the anchor point.
pMaxRadius | The maximum radius to set. |
|
inlinevirtual |
Set the minimum distance to the anchor point.
pMinRadius | The minimum radius to set. |