C# Class UtilEncoder, chronojump

Datei anzeigen Open project: GNOME/chronojump Class Usage Examples

Public Methods

Method Description
CalculeInertiaTotal ( EncoderConfiguration econf ) : int
CompressData ( double curve, int valuesForNewLine ) : string
CopyEncoderDataToTemp ( string url, string fileName ) : bool
CopyTempToEncoderData ( int sessionID, int uniqueID, string personName, string timeStamp ) : string
CreateEncoderDirIfNeeded ( ) : void
CreateEncoderSessionDirsIfNeeded ( int sessionID ) : void
EncoderConfigurationList ( Constants, encoderType, bool inertial, bool rotaryFrictionOnAxis ) : ArrayList
EncoderSaveCurve ( string fileNameSignal, int start, int duration, int inertialCheckStart, int inertialCheckDuration, bool inertialCheckPositive, int sessionID, int uniqueID, string personName, string timeStamp, int curveIDMax ) : string
GetActiveCheckboxesList ( string checkboxes ) : List
GetActiveCurvesNum ( ArrayList curvesArray ) : int
GetEncoderAnalyzeTableTempFileName ( ) : string
GetEncoderCaptureTempFileName ( ) : string
GetEncoderCurvesTempFileName ( ) : string
GetEncoderDataTempFileName ( ) : string
GetEncoderDir ( ) : string
GetEncoderExportTempFileName ( ) : string
GetEncoderGraphInputMulti ( ) : string
GetEncoderGraphTempFileName ( ) : string
GetEncoderInstantDataTempFileName ( ) : string
GetEncoderScriptCallCaptureNoRdotNet ( ) : string
GetEncoderScriptCaptureNoRdotNet ( ) : string
GetEncoderScriptGraph ( ) : string
GetEncoderScriptNeuromuscularProfile ( ) : string
GetEncoderScriptUtilR ( ) : string
GetEncoderScriptsPathWithoutLastSep ( ) : string
GetEncoderSessionDataCurveDir ( int sessionID ) : string
GetEncoderSessionDataDir ( int sessionID ) : string
GetEncoderSessionDataSignalDir ( int sessionID ) : string
GetEncoderSessionDir ( int sessionID ) : string
GetEncoderSessionGraphsDir ( int sessionID ) : string
GetEncoderSpecialDataTempFileName ( ) : string
GetEncoderStatusTempBaseFileName ( ) : string
GetEncoderTempPathWithoutLastSep ( ) : string
PrepareEncoderGraphOptions ( string title, EncoderStruct, es, bool neuromuscularProfileDo, bool translate, bool debug, bool crossValidate ) : EncoderGraphROptions
RunEncoderCalculeIM ( double weight, double distance, EncoderRProcAnalyze, encoderRProcAnalyze ) : void

Private Methods

Method Description
changeSpaceToSpaceMark ( string myString ) : string
encoderFindPos ( string contents, int start, int duration ) : string[]
getEncoderScriptInertiaMomentum ( ) : string

Method Details

CalculeInertiaTotal() public static method

public static CalculeInertiaTotal ( EncoderConfiguration econf ) : int
econf EncoderConfiguration
return int

CompressData() public static method

public static CompressData ( double curve, int valuesForNewLine ) : string
curve double
valuesForNewLine int
return string

CopyEncoderDataToTemp() public static method

public static CopyEncoderDataToTemp ( string url, string fileName ) : bool
url string
fileName string
return bool

CopyTempToEncoderData() public static method

public static CopyTempToEncoderData ( int sessionID, int uniqueID, string personName, string timeStamp ) : string
sessionID int
uniqueID int
personName string
timeStamp string
return string

CreateEncoderDirIfNeeded() public static method

public static CreateEncoderDirIfNeeded ( ) : void
return void

CreateEncoderSessionDirsIfNeeded() public static method

public static CreateEncoderSessionDirsIfNeeded ( int sessionID ) : void
sessionID int
return void

EncoderConfigurationList() public static method

public static EncoderConfigurationList ( Constants, encoderType, bool inertial, bool rotaryFrictionOnAxis ) : ArrayList
encoderType Constants,
inertial bool
rotaryFrictionOnAxis bool
return ArrayList

EncoderSaveCurve() public static method

public static EncoderSaveCurve ( string fileNameSignal, int start, int duration, int inertialCheckStart, int inertialCheckDuration, bool inertialCheckPositive, int sessionID, int uniqueID, string personName, string timeStamp, int curveIDMax ) : string
fileNameSignal string
start int
duration int
inertialCheckStart int
inertialCheckDuration int
inertialCheckPositive bool
sessionID int
uniqueID int
personName string
timeStamp string
curveIDMax int
return string

GetActiveCheckboxesList() public static method

public static GetActiveCheckboxesList ( string checkboxes ) : List
checkboxes string
return List

GetActiveCurvesNum() public static method

public static GetActiveCurvesNum ( ArrayList curvesArray ) : int
curvesArray ArrayList
return int

GetEncoderAnalyzeTableTempFileName() public static method

public static GetEncoderAnalyzeTableTempFileName ( ) : string
return string

GetEncoderCaptureTempFileName() public static method

public static GetEncoderCaptureTempFileName ( ) : string
return string

GetEncoderCurvesTempFileName() public static method

public static GetEncoderCurvesTempFileName ( ) : string
return string

GetEncoderDataTempFileName() public static method

public static GetEncoderDataTempFileName ( ) : string
return string

GetEncoderDir() public static method

public static GetEncoderDir ( ) : string
return string

GetEncoderExportTempFileName() public static method

public static GetEncoderExportTempFileName ( ) : string
return string

GetEncoderGraphInputMulti() public static method

public static GetEncoderGraphInputMulti ( ) : string
return string

GetEncoderGraphTempFileName() public static method

public static GetEncoderGraphTempFileName ( ) : string
return string

GetEncoderInstantDataTempFileName() public static method

public static GetEncoderInstantDataTempFileName ( ) : string
return string

GetEncoderScriptCallCaptureNoRdotNet() public static method

public static GetEncoderScriptCallCaptureNoRdotNet ( ) : string
return string

GetEncoderScriptCaptureNoRdotNet() public static method

public static GetEncoderScriptCaptureNoRdotNet ( ) : string
return string

GetEncoderScriptGraph() public static method

public static GetEncoderScriptGraph ( ) : string
return string

GetEncoderScriptNeuromuscularProfile() public static method

public static GetEncoderScriptNeuromuscularProfile ( ) : string
return string

GetEncoderScriptUtilR() public static method

public static GetEncoderScriptUtilR ( ) : string
return string

GetEncoderScriptsPathWithoutLastSep() public static method

public static GetEncoderScriptsPathWithoutLastSep ( ) : string
return string

GetEncoderSessionDataCurveDir() public static method

public static GetEncoderSessionDataCurveDir ( int sessionID ) : string
sessionID int
return string

GetEncoderSessionDataDir() public static method

public static GetEncoderSessionDataDir ( int sessionID ) : string
sessionID int
return string

GetEncoderSessionDataSignalDir() public static method

public static GetEncoderSessionDataSignalDir ( int sessionID ) : string
sessionID int
return string

GetEncoderSessionDir() public static method

public static GetEncoderSessionDir ( int sessionID ) : string
sessionID int
return string

GetEncoderSessionGraphsDir() public static method

public static GetEncoderSessionGraphsDir ( int sessionID ) : string
sessionID int
return string

GetEncoderSpecialDataTempFileName() public static method

public static GetEncoderSpecialDataTempFileName ( ) : string
return string

GetEncoderStatusTempBaseFileName() public static method

public static GetEncoderStatusTempBaseFileName ( ) : string
return string

GetEncoderTempPathWithoutLastSep() public static method

public static GetEncoderTempPathWithoutLastSep ( ) : string
return string

PrepareEncoderGraphOptions() public static method

public static PrepareEncoderGraphOptions ( string title, EncoderStruct, es, bool neuromuscularProfileDo, bool translate, bool debug, bool crossValidate ) : EncoderGraphROptions
title string
es EncoderStruct,
neuromuscularProfileDo bool
translate bool
debug bool
crossValidate bool
return EncoderGraphROptions

RunEncoderCalculeIM() public static method

public static RunEncoderCalculeIM ( double weight, double distance, EncoderRProcAnalyze, encoderRProcAnalyze ) : void
weight double
distance double
encoderRProcAnalyze EncoderRProcAnalyze,
return void