![]() |
VR-Forces Developer's Guide
|
A render-side CIGI Frame is an object who is responsible for processing CIGI requests, belonging to the same CIGI frame, in the same render frame.
Supports the following properties that come from CIGI requests
This class has an agent implementation, see DtRenderSideCigiFrameAgent, which is used by the CIGI connection. The CIGI connection calls processFrameNumber(unsigned int) on CIGI Frames whose network packets have been processed on the network-side, e.g. read off the socket and decoded.
Classes | |
| struct | DtCigiFrameObserverValues |
| struct | DtCigiFrameSceneObjectValues |
| struct | DtCigiFrameValues |
Public Member Functions | |
| DtRenderSideCigiFrame (DtDe &de, DtUniqueID id) | |
| virtual | ~DtRenderSideCigiFrame () |
| virtual void | reset () |
| virtual void | setEntityPosition (unsigned int frameId, DtUniqueID sceneObjectId, const DtVector &position) |
| virtual void | setEntityOrientation (unsigned int frameId, DtUniqueID sceneObjectId, const DtTaitBryan &orientation) |
| virtual void | setObserverAttachedLocation (unsigned int frameId, const std::string &observerName, const DtVector &attachedPosition) |
| virtual void | setObserverUsesBoundingVolumeForAttachedOffsets (unsigned int frameId, const std::string &observerName, bool usesBoundingVolumeForAttachedOffsets) |
| virtual void | setObserverAttachType (unsigned int frameId, const std::string &observerName, int attachType) |
| virtual void | setObserverPrimaryAttachment (unsigned int frameId, const std::string &observerName, const DtObserver::ElementList &objects) |
| virtual void | setObserverPartAttachment (unsigned int frameId, const std::string &observerName, int partId) |
| virtual void | setObserverAttachedOrientation (unsigned int frameId, const std::string &observerName, const DtVector &attachedOrientation) |
| virtual void | setObserverAttachedX (unsigned int frameId, const std::string &observerName, double attachedX) |
| virtual void | setObserverAttachedY (unsigned int frameId, const std::string &observerName, double attachedY) |
| virtual void | setObserverAttachedZ (unsigned int frameId, const std::string &observerName, double attachedZ) |
| virtual void | setObserverAttachedYaw (unsigned int frameId, const std::string &observerName, double attachedYaw) |
| virtual void | setObserverAttachedPitch (unsigned int frameId, const std::string &observerName, double attachedPitch) |
| virtual void | setObserverAttachedRoll (unsigned int frameId, const std::string &observerName, double attachedRoll) |
| virtual void | processFrameNumber (unsigned int frameId) |
Protected Member Functions | |
| DtObserverObject * | findObserverObjectByName (const std::string &observerName) const |
Protected Attributes | |
| DtDe & | myDe |
| DtUniqueID | myUniqueId |
| std::map< unsigned int, DtCigiFrameValues > | myFrameIdToValuesMap |
| std::mutex | myMapMutex |
| makVrv::DtRenderSideCigiFrame::DtRenderSideCigiFrame | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
|
virtual |
Virtual DTOR.
|
virtual |
Reset myFrameIdToValuesMap.
|
virtual |
| frameId | The frame id this property is set for |
| sceneObjectId | The unique id of the scene object that the passed in property will be applied to |
| position | A vector representing the new world position of the scene object |
|
virtual |
| frameId | The frame id this property is set for |
| sceneObjectId | The unique id of the scene object that the passed in property will be applied to |
| orientation | Tait bryan angles representing the new orientation of the scene object |
|
virtual |
| frameId | The frame id this property is set for |
| observerName | The observer to apply the passed in property to |
| attachedPosition | A vector representing the new local attached position of the observer |
|
virtual |
For use with DtObserver::setUsesBoundingVolumeForAttachedOffsets.
| frameId | The frame id this property is set for |
| observerName | The observer to apply the passed in property to |
| usesBoundingVolumeForAttachedOffsets | A boolean representing the whether or not the observer will use the scene object's bounding volume for attached offsets |
|
virtual |
| frameId | The frame id this property is set for |
| observerName | The observer to apply the passed in property to |
| attachType | An integer representing the new attach type of the observer, see DtObserverObject::AttachType enumeration |
|
virtual |
| frameId | The frame id this property is set for |
| observerName | The observer to apply the passed in property to |
| objects | A list of ids of all elements the observer is attached to |
|
virtual |
| frameId | The frame id this observer orientation is set for |
| observerName | The observer to apply the passed in property to |
| partId | An integer identifier of the part the observer is attached to |
|
virtual |
| frameId | The frame id this property is set for |
| observerName | The observer to apply the passed in property to |
| attachedOrientation | A vector whose components are psi (x), theta (y), phi (z) |
|
virtual |
| frameId | The frame id this property is set for |
| observerName | The observer to apply the passed in property to |
| attachedX | The X offset, in meters, of the observer when attached |
|
virtual |
| frameId | The frame id this property is set for |
| observerName | The observer to apply the passed in property to |
| attachedX | The Y offset, in meters, of the observer when attached |
|
virtual |
| frameId | The frame id this property is set for |
| observerName | The observer to apply the passed in property to |
| attachedX | The Z offset, in meters, of the observer when attached |
|
virtual |
| frameId | The frame id this property is set for |
| observerName | The observer to apply the passed in property to |
| attachedYaw | The Yaw angle, in radians, of the observer when attached |
|
virtual |
| frameId | The frame id this observer orientation is set for |
| observerName | The observer to apply the passed in property to |
| attachedPitch | The Pitch angle, in radians, of the observer when attached |
|
virtual |
| frameId | The frame id this property is set for |
| observerName | The observer to apply the passed in property to |
| attachedRoll | The Roll angle, in radians, of the observer when attached |
| frameId | The frame id to process |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |