예제 #1
0
        public DepthMetaData GetMetaData()
        {
            DepthMetaData depthMD = new DepthMetaData();

            GetMetaData(depthMD);
            return(depthMD);
        }
예제 #2
0
 public void GetMetaData(DepthMetaData depthMD)
 {
     using (IMarshaler marsh = depthMD.GetMarshaler(true))
     {
         OpenNIImporter.xnGetDepthMetaData(this.InternalObject, marsh.Native);
     }
 }
예제 #3
0
            private static IMarshaler MarshalInner(DepthMetaData obj, bool marshalOut)
            {
                IMarshaler inner = ((MapMetaData)obj).GetMarshaler(marshalOut);

                obj.depth.pMap = inner.Native;
                return(inner);
            }
예제 #4
0
 public void SetData(DepthMetaData depthMD)
 {
     SetData(depthMD, depthMD.FrameID, depthMD.Timestamp);
 }
예제 #5
0
 public void SetData(DepthMetaData depthMD, UInt32 frameID, UInt64 timestamp)
 {
     SetData(frameID, timestamp, depthMD.DataSize, depthMD.DepthMapPtr);
 }
예제 #6
0
 public DepthMetaDataMarshaler(DepthMetaData obj, bool marshalOut) :
     base(obj.depth, marshalOut,
          MarshalInner(obj, marshalOut))
 {
 }