コード例 #1
0
        public vtkRectilinearGrid GetInput()
        {
            vtkRectilinearGrid vtkRectilinearGrid = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkRectilinearGridToPolyDataFilter.vtkRectilinearGridToPolyDataFilter_GetInput_01(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkRectilinearGrid = (vtkRectilinearGrid)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkRectilinearGrid.Register(null);
                }
            }
            return(vtkRectilinearGrid);
        }
コード例 #2
0
        public vtkRectilinearGrid GetOutput(int arg0)
        {
            vtkRectilinearGrid vtkRectilinearGrid = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkRectilinearGridAlgorithm.vtkRectilinearGridAlgorithm_GetOutput_06(base.GetCppThis(), arg0, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkRectilinearGrid = (vtkRectilinearGrid)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkRectilinearGrid.Register(null);
                }
            }
            return(vtkRectilinearGrid);
        }
コード例 #3
0
        public new static vtkRectilinearGrid GetData(vtkInformationVector v, int i)
        {
            vtkRectilinearGrid vtkRectilinearGrid = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkRectilinearGrid.vtkRectilinearGrid_GetData_21((v == null) ? default(HandleRef) : v.GetCppThis(), i, ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkRectilinearGrid = (vtkRectilinearGrid)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkRectilinearGrid.Register(null);
                }
            }
            return(vtkRectilinearGrid);
        }
コード例 #4
0
        public new static vtkRectilinearGrid SafeDownCast(vtkObjectBase o)
        {
            vtkRectilinearGrid vtkRectilinearGrid = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkRectilinearGrid.vtkRectilinearGrid_SafeDownCast_44((o == null) ? default(HandleRef) : o.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

            if (IntPtr.Zero != intPtr)
            {
                bool flag;
                vtkRectilinearGrid = (vtkRectilinearGrid)Methods.CreateWrappedObject(mteStatus, mteIndex, rawRefCount, intPtr, true, out flag);
                if (flag)
                {
                    vtkRectilinearGrid.Register(null);
                }
            }
            return(vtkRectilinearGrid);
        }
コード例 #5
0
        public new vtkRectilinearGrid GetRectilinearGridOutput()
        {
            vtkRectilinearGrid vtkRectilinearGrid = null;
            uint   mteStatus   = 0u;
            uint   mteIndex    = 4294967295u;
            uint   rawRefCount = 0u;
            IntPtr intPtr      = vtkProgrammableSource.vtkProgrammableSource_GetRectilinearGridOutput_02(base.GetCppThis(), ref mteStatus, ref mteIndex, ref rawRefCount);

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