예제 #1
0
 internal static void Configure(Configuration config)
 {
     CalibrationExe = config.CalibrationExecutablePath;
     CalibrationWorkingDir = config.ExecutableInputDirectory;
     SynchronizationExe = config.SynchronizationExecutablePath;
     ReconstructionExe = config.ReconstructionExecutablePath;
 }
 private void InitConfig()
 {
     this.config = new Configuration();
     Standalone.Factory.Configure(this.config);
     DirectoryMap.Add(MessageParameter.Record,this.config.RecordingOutputDirectory);
     DirectoryMap.Add(MessageParameter.Sync,this.config.AudioOutputDirectory);
     DirectoryMap.Add(MessageParameter.Calibrate,this.config.CalibrationOutputDirectory);
     ProgressMap.Add(KinectAction.Calibrate,new float[] { 0.25f,0.055f, 0.05f, 0.25f,0.055f, 0.05f, 0.25f,0.055f, 0.05f, });
     ProgressMap.Add(KinectAction.Sync,new float[] { 0.45f,0.55f });
     ProgressMap.Add(KinectAction.Record,new float[] { 0.95f, 0.05f });
 }