Esempio n. 1
0
 public SensorOptions(StreamOptions depthOptions,
                      StreamOptions rgbOptions, StreamOptions irOptions,
                      SensorType sensorType           = SensorType.OPENNI2,
                      SkeletonProfile trackingProfile = SkeletonProfile.ALL,
                      bool mirrorStreams = true, bool registerStreams = true)
 {
     DepthOptions    = depthOptions;
     IROptions       = irOptions;
     RGBOptions      = rgbOptions;
     TrackingProfile = trackingProfile;
     MirrorStreams   = mirrorStreams;
     RegisterStreams = registerStreams;
     Type            = sensorType;
 }
Esempio n. 2
0
 public void SetSkeletonProfile(SkeletonProfile profile)
 {
     int status = SafeNativeMethods.xnSetSkeletonProfile(this.InternalObject, profile);
     WrapperUtils.ThrowOnError(status);
 }
Esempio n. 3
0
 public bool IsProfileAvailable(SkeletonProfile profile)
 {
     return SafeNativeMethods.xnIsProfileAvailable(this.InternalObject, profile);
 }
Esempio n. 4
0
            public SensorOptions(StreamOptions depthOptions,
                StreamOptions rgbOptions, StreamOptions irOptions,
                SensorType sensorType = SensorType.OPENNI2,
                SkeletonProfile trackingProfile = SkeletonProfile.ALL,
			    bool mirrorStreams = true, bool registerStreams = true)
            {
                m_depthOptions = depthOptions;
                m_irOptions = irOptions;
                m_rgbOptions = rgbOptions;
                m_trackingProfile = trackingProfile;
                m_mirrorStreams = mirrorStreams;
                m_registerStreams = registerStreams;
                m_type = sensorType;
            }
Esempio n. 5
0
        public void SetSkeletonProfile(SkeletonProfile profile)
        {
            int status = SafeNativeMethods.xnSetSkeletonProfile(this.InternalObject, profile);

            WrapperUtils.ThrowOnError(status);
        }
Esempio n. 6
0
 public bool IsProfileAvailable(SkeletonProfile profile)
 {
     return(SafeNativeMethods.xnIsProfileAvailable(this.InternalObject, profile));
 }
Esempio n. 7
0
 public static extern XnStatus xnSetSkeletonProfile(XnNodeHandle hInstance, SkeletonProfile eProfile);
Esempio n. 8
0
 public static extern XnBool xnIsProfileAvailable(XnNodeHandle hInstance, SkeletonProfile eProfile);
Esempio n. 9
0
 public void SetSkeletonProfile(SkeletonProfile profile)
 {
     UInt32 status = OpenNIImporter.xnSetSkeletonProfile(this.InternalObject, profile);
     WrapperUtils.CheckStatus(status);
 }
Esempio n. 10
0
 public bool IsProfileAvailable(SkeletonProfile profile)
 {
     return OpenNIImporter.xnIsProfileAvailable(this.InternalObject, profile);
 }
Esempio n. 11
0
     if (this.calibrationEndEvent != null)
         this.calibrationEndEvent(this.node, id, success);
 }
 private OpenNIImporter.XnCalibrationEnd internalCalibrationEnd;
 private IntPtr calibrationEndHandle;
Esempio n. 12
0
            remove
            {
                this.calibrationStartEvent -= value;