예제 #1
0
 public KinectColorDepthTextureNode(IPluginHost host)
 {
     this.colorimage = new float[320 * 320 * 2];
     this.depthimage = new short[320 * 240];
     this.cp         = new ColorImagePoint[320 * 240];
     host.CreateTextureOutput("Texture Out", TSliceMode.Single, TPinVisibility.True, out this.FOutTexture);
 }
예제 #2
0
        public KinectWorldTextureNode(IPluginHost host)
        {
            skelpoints  = new SkeletonPoint[640 * 480];
            depthpixels = new DepthImagePixel[640 * 480];

            host.CreateTextureOutput("Texture Out", TSliceMode.Single, TPinVisibility.True, out this.FOutTexture);
        }
예제 #3
0
        public static IDXTextureOut CreateTextureOutput(this IPluginHost host, OutputAttribute attribute, Type type)
        {
            IDXTextureOut result = null;

            host.CreateTextureOutput(attribute.Name, (TSliceMode)attribute.SliceMode, (TPinVisibility)attribute.Visibility, out result);
            result.Order = attribute.Order;
            return(result);
        }
예제 #4
0
 public KinectDepthTextureNode(IPluginHost host)
 {
     this.depthpixels = new DepthImagePixel[320 * 240];
     this.rawdepth    = new short[320 * 240];
     host.CreateTextureOutput("Texture Out", TSliceMode.Single, TPinVisibility.True, out this.FOutTexture);
 }
예제 #5
0
 public KinectPlayeTextureNode(IPluginHost host)
 {
     this.playerimage = new int[320 * 240];
     this.rawdepth    = new short[320 * 240];
     host.CreateTextureOutput("Texture Out", TSliceMode.Single, TPinVisibility.True, out this.FOutTexture);
 }
		public FullHouseNode(IPluginHost host)
		{
			host.CreateTextureOutput("Color", TSliceMode.Single, TPinVisibility.True, out this.FOutColor);
			host.CreateTextureOutput("Depth", TSliceMode.Single, TPinVisibility.True, out this.FOutDepth);
			host.CreateTextureOutput("World", TSliceMode.Single, TPinVisibility.True, out this.FOutWorld);
			FWorldThread = new Thread(WorldThread);
			FWorldThread.Start();
		}
예제 #7
0
 public KinectColorTextureNode(IPluginHost host)
 {
     this.colorimage = new byte[640 * 480 * 4];
     host.CreateTextureOutput("Texture Out", TSliceMode.Single, TPinVisibility.True, out this.FOutTexture);
 }
예제 #8
0
 public DXTextureOutPluginBase(IPluginHost host)
 {
     host.CreateTextureOutput("Texture Out", TSliceMode.Dynamic, TPinVisibility.True, out FTextureOut);
     FTextureOut.Order = int.MinValue;
     FOldSliceCount    = 1;
 }
		public KinectWorldTextureNode(IPluginHost host)
		{
			host.CreateTextureOutput("Texture Out", TSliceMode.Single, TPinVisibility.True, out this.FOutTexture);
		}
예제 #10
0
 public KinectWorldTextureNode(IPluginHost host)
 {
     this.color0 = new float[320 * 240 * 4];
     this.color1 = new float[320 * 240 * 4];
     host.CreateTextureOutput("Texture Out", TSliceMode.Single, TPinVisibility.True, out this.FOutTexture);
 }