Ejemplo n.º 1
0
 static private Action <int> GetSetMatrixLengthAction(ITransformOut transformOut)
 {
     return((newLength) =>
     {
         transformOut.SliceCount = newLength;
     });
 }
Ejemplo n.º 2
0
        public static ITransformOut CreateTransformOutput(this IPluginHost host, OutputAttribute attribute, Type type)
        {
            ITransformOut result = null;

            host.CreateTransformOutput(attribute.Name, (TSliceMode)attribute.SliceMode, (TPinVisibility)attribute.Visibility, out result);
            result.Order = attribute.Order;
            return(result);
        }
Ejemplo n.º 3
0
 public TransformOutput(ITransformOut pin)
 {
     FPin = pin;
     pin.GetMatrixPointer(out dataptr);
 }
Ejemplo n.º 4
0
 public void CreateTransformOutput(string Name, TSliceMode SliceMode, TPinVisibility Visibility, out ITransformOut Pin)
 {
     Pin = new TTransformOutPin(this, Name, SliceMode, Visibility);
 }