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

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkBSPCuts = (vtkBSPCuts)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkBSPCuts.Register(null);
                }
            }
            return(vtkBSPCuts);
        }
        public vtkBSPCuts GetCuts()
        {
            vtkBSPCuts vtkBSPCuts  = null;
            uint       mteStatus   = 0u;
            uint       mteIndex    = 4294967295u;
            uint       rawRefCount = 0u;
            IntPtr     intPtr      = vtkDistributedDataFilter.vtkDistributedDataFilter_GetCuts_06(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkBSPCuts = (vtkBSPCuts)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkBSPCuts.Register(null);
                }
            }
            return(vtkBSPCuts);
        }
Ejemplo n.º 3
0
        public new static vtkBSPCuts GetData(vtkInformationVector v, int i)
        {
            vtkBSPCuts vtkBSPCuts  = null;
            uint       mteStatus   = 0u;
            uint       mteIndex    = 4294967295u;
            uint       rawRefCount = 0u;
            IntPtr     intPtr      = vtkBSPCuts.vtkBSPCuts_GetData_07((v == null) ? default(HandleRef) : v.GetCppThis(), i, ref mteStatus, ref mteIndex, ref rawRefCount);

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