Exemplo n.º 1
0
        public new static vtkTensor New()
        {
            vtkTensor result      = null;
            uint      mteStatus   = 0u;
            uint      mteIndex    = 4294967295u;
            uint      rawRefCount = 0u;
            IntPtr    intPtr      = vtkTensor.vtkTensor_New(ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                result = (vtkTensor)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
            }
            return(result);
        }
Exemplo n.º 2
0
        public new static vtkTensor SafeDownCast(vtkObjectBase o)
        {
            vtkTensor vtkTensor   = null;
            uint      mteStatus   = 0u;
            uint      mteIndex    = 4294967295u;
            uint      rawRefCount = 0u;
            IntPtr    intPtr      = vtkTensor.vtkTensor_SafeDownCast_10((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkTensor = (vtkTensor)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkTensor.Register(null);
                }
            }
            return(vtkTensor);
        }
Exemplo n.º 3
0
 public void DeepCopy(vtkTensor t)
 {
     vtkTensor.vtkTensor_DeepCopy_02(base.GetCppThis(), (t == null) ? default(HandleRef) : t.GetCppThis());
 }