C# Class QualisysRealTime.Unity.Skeleton.MarkersPreprocessor

Exibir arquivo Open project: qualisys/Qualisys-Unity-SDK Class Usage Examples

Public Methods

Method Description
MarkersPreprocessor ( List labelMarkers, MarkersNames &markerNames, string bodyPrefix = "" ) : System.Collections.Generic

Constructor sets the markers name in the MarkesName class used for joint localization

ProcessMarkers ( List labelMarkers, Vector3>.Dictionary &newMarkers, string prefix ) : void

Prepare the markerset for Joint localization, predicts the

Private Methods

Method Description
DontMovedToMuch ( OpenTK.Vector3 from, OpenTK.Vector3 to ) : OpenTK.Vector3

Makes sure a makers cant move to fast when predicting the hipmarkers

MissingEssientialMarkers ( Vector3>.Dictionary markers ) : void

If any of the hip markers are missing, we predict them using the last position

NameSet ( ICollection markersNames ) : MarkersNames

Finds aliases of different markers and replaces the names

SetName ( ICollection markerNames, List alias, string &name, string prefix = "" ) : void

Search for an alias of a marker and set it to that name

Method Details

MarkersPreprocessor() public method

Constructor sets the markers name in the MarkesName class used for joint localization
public MarkersPreprocessor ( List labelMarkers, MarkersNames &markerNames, string bodyPrefix = "" ) : System.Collections.Generic
labelMarkers List The list of labelmarkets
markerNames MarkersNames A reference to the markers names
bodyPrefix string Any possible prefix of the markersname
return System.Collections.Generic

ProcessMarkers() public method

Prepare the markerset for Joint localization, predicts the
public ProcessMarkers ( List labelMarkers, Vector3>.Dictionary &newMarkers, string prefix ) : void
labelMarkers List The list of labelmarkets
newMarkers Vector3>.Dictionary a reference to the dictionary to be
prefix string The possible prefix of all markers
return void