This class handles all of the position processing for Position Requests It receives signals from the DtPositionResponder when these requests are received and tells the DtCigiDriver to generate responses.
More...
|
| | DtCigiPositionHandler (DtDe &de, DtCigiConnection &connection, DtCigiViewController &viewController) |
| | Constructor. More...
|
| |
| virtual void | slot_onPositionRequest (DtPositionResponder::DtPositionRequestData *positionRequest) |
| | Slot called when signal_positionCheckRequested is received from the CIGI connection in DtPositionResponder. More...
|
| |
| DtSceneObject * | findSceneObject (const DtUniqueID &objectId) |
| | Gets scene object from objectID Returns if scene object not found Called by performPositionRequest - Runs in render thread. More...
|
| |
| DtObserver * | findObserver (DtUniqueID viewId) |
| | Get the observer from viewId Called by performPositionRequest - Runs in render thread. More...
|
| |
| DtOsgArticulatedModel * | findArticulatedModel (DtUniqueID modelId) |
| | Get the articulated model from articulated model agent ID Called by performPositionRequest - Runs in render thread. More...
|
| |
| virtual void | setGeodeticPositionOrientationFromSceneObject (DtSceneObject &sceneObject, DtGeodeticCoord &objectGeodCoord, DtTaitBryan &objectOrient) |
| | Sets the Geodetic position into param objectGeod Sets the orientation into param objectOrient. More...
|
| |
| virtual void | setGeodeticPositionOrientationFromObserver (DtObserver &observer, DtGeodeticCoord &objectGeodCoord, DtTaitBryan &objectOrient) |
| | Sets geodetic positional and orientation info from observer object Gets the observer from the view id, calls viewIdKeyboard and retrieveConfiguration for viewId. More...
|
| |
| virtual void | processObserverPositionRequest (DtPositionResponder::DtPositionRequestData *requestData) |
| | Processing the position adn orientation requests of View IDs Called multiple times when view groups are requested Called by performPositionRequest - Runs in render thread. More...
|
| |
| virtual void | performPositionRequest (DtPositionResponder::DtPositionRequestData &positionReq) |
| | Perform the position request This method is called from slot_onPositionRequest slot_onPositionRequest queues this method up to run in the render thread if DtCigiConnection is using its own thread All Cigi connection information is passed into this method, it cannot safely call DtCigiConnection methods. More...
|
| |
| virtual void | generatePositionResponse (DtPositionResponder::DtPositionRequestData *requestData, DtVector positionVec, DtTaitBryan objectOrient) |
| | Makes a call to the DtPositionResponsder to send out a position response. More...
|
| |
This class handles all of the position processing for Position Requests It receives signals from the DtPositionResponder when these requests are received and tells the DtCigiDriver to generate responses.
If running the CIGI driver in a separate thread, will use the driver's driver function queue to perform the operations. Split out of DtPositionResponder to match LOS/HOT/HAT processing, and remove the need for DtDe in the responder