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

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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkRungeKutta = (vtkRungeKutta4)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkRungeKutta.Register(null);
                }
            }
            return(vtkRungeKutta);
        }