VisioMove-Sample
2.1.5
|
Interface for Objects responsible for the route creations. More...
Public Types | |
enum | RoutePoint { eStart, eStop0, eStop1, eStop2, eStop3, eStop4, eStop5, eStopMax = 7, eEnd } |
The points that a route may have. More... | |
Public Member Functions | |
virtual bool | setRoutePoint (RoutePoint pPoint, const std::string &pPlaceID)=0 |
Sets a RoutePoint to a specific place. More... | |
virtual bool | setRoutePoint (RoutePoint pPoint, const VgEngine::VgPosition &pPosition)=0 |
Sets a RoutePoint to a position within the map. More... | |
virtual void | resetRoutePoint (RoutePoint pPoint)=0 |
Resets the place ID associated with a point. More... | |
virtual bool | isRoutePointSet (RoutePoint pPoint)=0 |
virtual void | computeRoute ()=0 |
Computes a route. More... | |
virtual VgRoutingModule::VgIRouteRequestParameters * | editRoutingRequestParameters ()=0 |
Returns a reference to the routing request parameters that computeRoute uses. More... | |
virtual void | resetRoutingRequestParameters ()=0 |
Resets the routing request parameters to their initial state. More... | |
virtual VgRoutingModule::VgIRoutingNodeParameters * | editRoutingNodeParameters ()=0 |
Returns a reference to the routing node parameters that getRoutingNode for a position uses. More... | |
virtual void | resetRoutingNodeParameters ()=0 |
Resets the routing node parameters to their initial state. More... | |
virtual VgEngine::VgRefPtr < VgEngine::VgAnimationDescriptor > | getRoutePointHighlightAnimationDescriptor ()=0 |
Returns the descriptor of an animation intended to emphasize routing points. More... | |
virtual void | setAvoidStairs (bool pDisabledFriendly)=0 |
Sets up the routing request parameters to include/exclude non disabled-friendly attributes. More... | |
virtual void | setRouteStyle (VgMyRouteStyler::RouteStyle pRouteStyle, bool pRecomputeRoute=true)=0 |
Change the routing style of lines generated by the routing helper. More... | |
virtual VgMyRouteStyler::RouteStyle | getRouteStyle () const =0 |
get the current route style More... | |
virtual void | setRouteWidth (float pWidth)=0 |
Determines the width of the created route. More... | |
virtual float | getRouteWidth ()=0 |
Returns the current width of the created route. More... | |
virtual void | setRouteMarkerHeight (float pHeight)=0 |
Set route marker height. More... | |
Interface for Objects responsible for the route creations.
These methods are called if the VgMyRouteCreator sub-class has been registered with the setRouteCreator() method within VgMyBasicApplicationController.
|
pure virtual |
Computes a route.
Implemented in VgMyBasicApplicationController, and VgMyRoutingHelper.
|
pure virtual |
Returns a reference to the routing node parameters that getRoutingNode for a position uses.
Used for special configurations, for example you may want to use eRoutingNodeOptionsOnEdge and exclude the modality "shuttle" on edges.
Implemented in VgMyBasicApplicationController, and VgMyRoutingHelper.
|
pure virtual |
Returns a reference to the routing request parameters that computeRoute uses.
Implemented in VgMyBasicApplicationController, and VgMyRoutingHelper.
|
pure virtual |
Returns the descriptor of an animation intended to emphasize routing points.
Implemented in VgMyBasicApplicationController, and VgMyRoutingHelper.
|
pure virtual |
get the current route style
Implemented in VgMyBasicApplicationController, and VgMyRoutingHelper.
|
pure virtual |
Returns the current width of the created route.
Implemented in VgMyBasicApplicationController, and VgMyRoutingHelper.
|
pure virtual |
pPoint | RoutePoint to test. |
Implemented in VgMyBasicApplicationController, and VgMyRoutingHelper.
|
pure virtual |
Resets the place ID associated with a point.
pPoint | RoutePoint to reset. |
Implemented in VgMyBasicApplicationController, and VgMyRoutingHelper.
|
pure virtual |
Resets the routing node parameters to their initial state.
Implemented in VgMyBasicApplicationController, and VgMyRoutingHelper.
|
pure virtual |
Resets the routing request parameters to their initial state.
Implemented in VgMyBasicApplicationController, and VgMyRoutingHelper.
|
pure virtual |
Sets up the routing request parameters to include/exclude non disabled-friendly attributes.
pDisabledFriendly | True if disabled friendly routing is wanted, false if not |
Implemented in VgMyBasicApplicationController, and VgMyRoutingHelper.
|
pure virtual |
Set route marker height.
Adjust so that the marker appears to be anchored to the top of desired surface.
pHeight | The height of the route markers in meters. |
Implemented in VgMyBasicApplicationController, and VgMyRoutingHelper.
|
pure virtual |
Sets a RoutePoint to a specific place.
pPoint | RoutePoint to set |
pPlaceID | Place to associates with pPoint. |
Implemented in VgMyBasicApplicationController, and VgMyRoutingHelper.
|
pure virtual |
Sets a RoutePoint to a position within the map.
Finds the closest routing node from the routing network to the given position.
pPoint | RoutePoint to set |
pPosition | Position to associates with pPoint. |
Implemented in VgMyBasicApplicationController, and VgMyRoutingHelper.
|
pure virtual |
Change the routing style of lines generated by the routing helper.
pRouteStyle | route style |
pRecomputeRoute |
Implemented in VgMyBasicApplicationController, and VgMyRoutingHelper.
|
pure virtual |
Determines the width of the created route.
pWidth | The width of the route in meters |
Implemented in VgMyBasicApplicationController, and VgMyRoutingHelper.