Beispiel #1
0
        public virtual int MapCameraPointToColorSpace(
            _CameraSpacePoint cameraPoint,
            out _ColorSpacePoint colorPoint
            )
        {
            var fp = GetFunctionPointer(7);

            if (m_MapCameraPointToColorSpaceFunc == null)
            {
                m_MapCameraPointToColorSpaceFunc = (MapCameraPointToColorSpaceFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(MapCameraPointToColorSpaceFunc));
            }

            return(m_MapCameraPointToColorSpaceFunc(m_ptr, cameraPoint, out colorPoint));
        }
Beispiel #2
0
        public virtual int MapDepthPointToColorSpace(
            _DepthSpacePoint depthPoint,
            ushort depth,
            out _ColorSpacePoint colorPoint
            )
        {
            var fp = GetFunctionPointer(9);

            if (m_MapDepthPointToColorSpaceFunc == null)
            {
                m_MapDepthPointToColorSpaceFunc = (MapDepthPointToColorSpaceFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(MapDepthPointToColorSpaceFunc));
            }

            return(m_MapDepthPointToColorSpaceFunc(m_ptr, depthPoint, depth, out colorPoint));
        }
Beispiel #3
0
        public virtual int MapDepthFrameToColorSpace(
            uint depthPointCount,
            ref ushort depthFrameData,
            uint colorPointCount,
            out _ColorSpacePoint colorSpacePoints
            )
        {
            var fp = GetFunctionPointer(15);

            if (m_MapDepthFrameToColorSpaceFunc == null)
            {
                m_MapDepthFrameToColorSpaceFunc = (MapDepthFrameToColorSpaceFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(MapDepthFrameToColorSpaceFunc));
            }

            return(m_MapDepthFrameToColorSpaceFunc(m_ptr, depthPointCount, ref depthFrameData, colorPointCount, out colorSpacePoints));
        }
Beispiel #4
0
        public virtual int MapCameraPointsToColorSpace(
            uint cameraPointCount,
            ref _CameraSpacePoint cameraPoints,
            uint colorPointCount,
            out _ColorSpacePoint colorPoints
            )
        {
            var fp = GetFunctionPointer(11);

            if (m_MapCameraPointsToColorSpaceFunc == null)
            {
                m_MapCameraPointsToColorSpaceFunc = (MapCameraPointsToColorSpaceFunc)Marshal.GetDelegateForFunctionPointer(fp, typeof(MapCameraPointsToColorSpaceFunc));
            }

            return(m_MapCameraPointsToColorSpaceFunc(m_ptr, cameraPointCount, ref cameraPoints, colorPointCount, out colorPoints));
        }