Exemplo 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;
 }
Exemplo n.º 2
0
 public void SetSkeletonProfile(SkeletonProfile profile)
 {
     int status = SafeNativeMethods.xnSetSkeletonProfile(this.InternalObject, profile);
     WrapperUtils.ThrowOnError(status);
 }
Exemplo n.º 3
0
 public bool IsProfileAvailable(SkeletonProfile profile)
 {
     return SafeNativeMethods.xnIsProfileAvailable(this.InternalObject, profile);
 }
Exemplo 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;
            }
Exemplo n.º 5
0
        public void SetSkeletonProfile(SkeletonProfile profile)
        {
            int status = SafeNativeMethods.xnSetSkeletonProfile(this.InternalObject, profile);

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