VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
snapshotHelpers.h File Reference

Go to the source code of this file.

Classes

struct  DtComputedSpatialState
 

Functions

DtComputedSpatialState DtComputeSpatialState (const DtVector &worldPos, const DtTaitBryan &worldOri, const DtVector &worldVel)
 
void DtAppendResources (const std::vector< DtSimResource > &simResources, const DtRemoteControlModelSetManager *dictionaryManager, std::vector< DtDatasource::DtResourceEntry > &out)
 

Function Documentation

DtComputedSpatialState DtComputeSpatialState ( const DtVector &  worldPos,
const DtTaitBryan &  worldOri,
const DtVector &  worldVel 
)
inline

Convert ECEF position, orientation and velocity to the standard WebLVC spatial state fields. Callers copy only the fields their snapshot type requires.

References DtComputedSpatialState::climbRate, DtComputedSpatialState::groundSpeed, DtComputedSpatialState::heading, DtComputedSpatialState::location, DtComputedSpatialState::movementDirection, and DtComputedSpatialState::speed.

void DtAppendResources ( const std::vector< DtSimResource > &  simResources,
const DtRemoteControlModelSetManager *  dictionaryManager,
std::vector< DtDatasource::DtResourceEntry > &  out 
)

Converts simResources into DtDatasource::DtResourceEntry objects and appends them to out. Pass a non-null dictionaryManager to resolve display names.


Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)