Exemplo n.º 1
0
        public new static vtkFunctionSet SafeDownCast(vtkObjectBase o)
        {
            vtkFunctionSet vtkFunctionSet = null;
            uint           mteStatus      = 0u;
            uint           mteIndex       = 4294967295u;
            uint           rawRefCount    = 0u;
            IntPtr         intPtr         = vtkFunctionSet.vtkFunctionSet_SafeDownCast_07((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkFunctionSet = (vtkFunctionSet)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkFunctionSet.Register(null);
                }
            }
            return(vtkFunctionSet);
        }
        public virtual vtkFunctionSet GetFunctionSet()
        {
            vtkFunctionSet vtkFunctionSet = null;
            uint           mteStatus      = 0u;
            uint           mteIndex       = 4294967295u;
            uint           rawRefCount    = 0u;
            IntPtr         intPtr         = vtkInitialValueProblemSolver.vtkInitialValueProblemSolver_GetFunctionSet_05(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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