Esempio n. 1
0
        public KinectV1Settings(string uniqueID, int kinectNumber)
        {
            uniqueKinectID = uniqueID;
            kinectID = kinectNumber;

            //Set everything to the default value
            colorImageMode = ColorImageFormat.RgbResolution640x480Fps30;
            lineFrequency = PowerLineFrequency.SixtyHertz;
            autoWhiteBalance = true;
            autoExposure = true;
            backlightMode = BacklightCompensationMode.AverageBrightness;
            depthImageMode = DepthImageFormat.Resolution320x240Fps30;
            isNearMode = false;
            irON = true;
            scaleDepthToReliableRange = false;
            colorizeDepth = false;
            mergeSkeletons = false;
            kinectPosition = new Point3D(0, 0, 0);
            kinectYaw = 0.0;
            sendAcceleration = false;
            sendAudioAngle = false;
            audioTrackMode = AudioTrackingMode.Loudest;
            sendColorImage = false;
            sendDepthImage = false;

            //Setup the options for the raw skeleton, irrespective of use
            rawSkeletonSettings = new SkeletonSettings();
        }
Esempio n. 2
0
 public MasterSettings()
 {
     kinectOptionsList     = new List <IKinectSettings>();
     audioOptions          = new AudioSettings();
     mergedSkeletonOptions = new SkeletonSettings();
     feedbackOptions       = new FeedbackSettings();
     voiceTextCommands     = new ObservableCollection <VoiceTextCommand>();
     voiceButtonCommands   = new ObservableCollection <VoiceButtonCommand>();
     gestureCommands       = new ObservableCollection <GestureCommand>();
     analogServers         = new List <AnalogServerSettings>();
     buttonServers         = new List <ButtonServerSettings>();
     textServers           = new List <TextServerSettings>();
     trackerServers        = new List <TrackerServerSettings>();
 }
Esempio n. 3
0
        public KinectV2Settings(string deviceUniqueID, int kinectNumber)
        {
            uniqueKinectID = deviceUniqueID;
            kinectID = kinectNumber;

            //Set the default values
            mergeSkeletons = true;
            sendRawSkeletons = false;
            transformRawSkeletons = false;
            kinectPosition = new Point3D(0, 0, 0);
            scaleDepthToReliableRange = true;
            colorizeDepth = false;
            sendAudioAngle = false;
            audioTrackMode = AudioTrackingMode.Loudest;
            sendColorImage = false;
            sendDepthImage = false;
            sendIRImage = false;

            //Setup the options for the raw skeleton, irrespective of use
            rawSkeletonSettings = new SkeletonSettings();
        }
Esempio n. 4
0
 public MasterSettings()
 {
     kinectOptionsList = new List<IKinectSettings>();
     audioOptions = new AudioSettings();
     mergedSkeletonOptions = new SkeletonSettings();
     feedbackOptions = new FeedbackSettings();
     voiceTextCommands = new ObservableCollection<VoiceTextCommand>();
     voiceButtonCommands = new ObservableCollection<VoiceButtonCommand>();
     gestureCommands = new ObservableCollection<GestureCommand>();
     analogServers = new List<AnalogServerSettings>();
     buttonServers = new List<ButtonServerSettings>();
     textServers = new List<TextServerSettings>();
     trackerServers = new List<TrackerServerSettings>();
 }